Re: [Geoserver-users] FW: Querying WFS for first n features closest to a geometry

2010-09-30 Thread Nji, Klaus
: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] FW: Querying WFS for first n features closest to a geometry I have downloaded and installed Geoserver 2.1.0 -beta 1. Tried the following WFS request: http://localhost:8081/geoserver/wfs?request=getNearest&service=wfs&

Re: [Geoserver-users] FW: Querying WFS for first n features closest to a geometry

2010-09-30 Thread Nji, Klaus
us Cc: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] FW: Querying WFS for first n features closest to a geometry On Thu, Sep 30, 2010 at 5:29 AM, Nji, Klaus wrote: > I ran into the WFS GetNearest plugin which may do the trick for me.  This is > a 3 year old document

Re: [Geoserver-users] FW: Querying WFS for first n features closest to a geometry

2010-09-29 Thread Andrea Aime
On Thu, Sep 30, 2010 at 5:29 AM, Nji, Klaus wrote: > 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/GEO

Re: [Geoserver-users] FW: Querying WFS for first n features closest to a geometry

2010-09-29 Thread Nji, Klaus
instructions in above link and install plugin? -Original Message- From: Nji, Klaus [mailto:nj...@emsglobaltracking.com] Sent: September 29, 2010 10:22 PM To: geoserver-users@lists.sourceforge.net Subject: [Geoserver-users] FW: Querying WFS for first n features closest to a geometry Say I have

[Geoserver-users] FW: Querying WFS for first n features closest to a geometry

2010-09-29 Thread Nji, Klaus
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