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&version=1.0.0&typename=ems:airport&PropertyName=ems:name,the_geom&POINT=-77.51761,37.02235&MAXRANGE=50&UNITS=mi and received the following exception: <?xml version="1.0" encoding="UTF-8" ?> - <ows:ExceptionReport version="1.0.0" xsi:schemaLocation="http://www.opengis.net/ows http://localhost:8081/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ows="http://www.opengis.net/ows"> - <ows:Exception exceptionCode="OperationNotSupported" locator="getNearest"> <ows:ExceptionText>No such operation wfs 1.1.0 getNearest</ows:ExceptionText> </ows:Exception> </ows:ExceptionReport> I see no reference in the 2.1 documentation mentioning getNearest. Am I overlooking something? Thanks again. -----Original Message----- From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea Aime Sent: September 30, 2010 02:46 AM To: Nji, Klaus 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 <nj...@emsglobaltracking.com> 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/GEOSDOC/WFS+GetNearest+Plug-in > > Can I safely follow instructions in above link and install plugin? Hmmm...the plugin is old and it's probably working only with the same version of GeoServer is was developed against. But now that very same code has been ported into a WPS process, if you grab the GeoServer 2.1.0 beta 1 release it will be there Cheers Andrea ----------------------------------------------------- Ing. Andrea Aime Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584962313 fax: +39 0584962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ----------------------------------------------------- ------------------------------------------------------------------------------ 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 Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users