[postgis-users] distance function error

John Hagstrand john.hagstrand at interageresearch.com
Fri Oct 24 18:17:22 PDT 2003


Hi,

I'm trying to find a point inside a polygon.  I found something on this list
that said to use the distance function.  But for me it won't seem to let me
compare two different geometries.  Here is my test query and error message.

select distance(GeometryFromText('POINT(0 0)',4326),admin02.the_geom)
from admin02

ERROR:  Operation on two GEOMETRIES with different SRIDs

Can you help?
Thanks
John

John Hagstrand
Interage Research, Inc.
18733 State Line Road
Antioch, IL  60002
847 838 5371
www.interageresearch.com
Online Publishing Consultants




More information about the postgis-users mailing list