[Manifold-l] Distance calculations

Simon Linder pslinder at earthlink.net
Mon Sep 18 14:51:27 CDT 2006


Thanks for all of your help.  I am getting a type Mismatch error on
NewPointLatLon when I set up the following function in an ActiveColumn:

Function DStudio
DStudio = distance([Geom (I)],NewPointLatLon(-77.0770,38.9657),"mi") 
End Function

I think that it should work but it does not.  Any ideas? 

Simon Linder
Wider Networks
slinder at widernetworks.com
(w) 301.951.2767
(m) 301.768.9170
-----Original Message-----
From: manifold-l-bounces at lists.directionsmag.com
[mailto:manifold-l-bounces at lists.directionsmag.com] On Behalf Of Bob
Heitzman
Sent: Friday, September 15, 2006 7:16 PM
To: slinder at widernetworks.com
Cc: manifold-l at lists.directionsmag.com
Subject: Re: [Manifold-l] Distance calculations

I guess the more correct form would be:

SELECT
Distance( [Geom (I)],  NewPointLatLon(-120,35),'mi')
FROM [A]

[ID] still works but....
_______________________________________________
Manifold-l mailing list
Manifold-l at lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/manifold-l

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.4/448 - Release Date: 9/14/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.4/449 - Release Date: 9/15/2006
 



More information about the Manifold-l mailing list