I ran into the WFS GetNearest plugin which may do the trick for me.  This is a 
3 year old document so I am suspecting something has changed but cound not find 
any reference of GetNearest in current doc.  

http://geoserver.org/display/GEOSDOC/WFS+GetNearest+Plug-in

Can I safely follow instructions in above link and install plugin? 

-----Original Message-----
From: Nji, Klaus [mailto:[email protected]] 
Sent: September 29, 2010 10:22 PM
To: [email protected]
Subject: [Geoserver-users] FW: Querying WFS for first n features closest to a 
geometry

Say I have point A with coordinates x,y.  I will like to get the first n points 
of interest from a table, say resturants, closest to A in order of increasing 
distance.

I can use the function "distance" to compute distance between A and each 
restaurant in the restaurant table.  However, I cannot yet figure out how to 
sort computed areas in increasing magnitude and return first n.

Any tips and/or tricks on getting this done ?

TIA.


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to