Hi all,


I use a postgis db with a table "roads", all entries hava a LINESTRING geometry.



For a given coordinate, I'd like to find the road that is nearest to this 
coordinate.



One idea was a CQL "intersects" between a box around the coordinate and the 
linestrings, and then calculate the distance for each match. But this needs to 
define a size of the box, which is not wanted.

Any other Ideas?



Thanks in advance

Stefan


_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to