[postgis-users] finding whether an object lies in vicinity of another object
tasneem dewaswala
tasneem.europe at gmail.com
Mon Oct 8 05:40:10 PDT 2012
Hello,
I am developing an application to find whether two cars are in each other
communication range or not.
I have two tables like receiver and transmitter. i would like to know if
receiver is in 100 meters range of transmitter or not.
Since i am using PostgreSQL first time, i donno much about its functions
and commands, but i have found that there is ST_Within(), which can be used
for my work. I tried but it gives me lot of errors, probably because of
data types of my latitude and longitude. they are in two different columns
with datatype as double precision.
please tell me what is wrong, and how should i use ST_WITHIN for my work.
Or tell me any other way of knowing if two objects are in range of each
other.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20121008/4077346e/attachment.html>
More information about the postgis-users
mailing list