Closest Feature Query

Abe Gillespie abe.gillespie at GMAIL.COM
Tue Jul 12 23:05:05 EDT 2005


Is there an easy way to query for the closest feature to another
feature.  Take for example the classic "closest ATM" query.  I know
where I'm at (an address point or building feature) and want the
closest ATM.  Can I avoid having to create a line to each ATM point
from the starting point, comparing the length of each line, and
keeping the shortest?

Thanks.
-Abe



More information about the mapserver-users mailing list