[postgis-users] how to use distances in kilometers in dwithin query?

Davi Pires inhodpr at gmail.com
Mon Feb 2 12:11:56 PST 2009

Hi list,

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,
Davi Pires


eco-blog: http://tarjaverde.wordpress.com

More information about the postgis-users mailing list