[postgis-users] how to use distances in kilometers in dwithin query?
lr at pcorp.us
Mon Feb 2 12:55:31 PST 2009
You can't. It always uses the units of the spatial reference system your
data is stored in.
What spatial ref are you using?
From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of Davi
Sent: Monday, February 02, 2009 3:12 PM
To: PostGIS Users Discussion
Subject: [postgis-users] how to use distances in kilometers in dwithin
Regarding the st_dwithin(geometry, geometry, float) function, I would like
to know how can I pass the distance argument in kilometers. In our tests we
have been using a dummy value of 0.003, but we don't even know which units
it is in.
Thanks in advance,
postgis-users mailing list
postgis-users at postgis.refractions.net
More information about the postgis-users