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

Reply via email to