Hi Rudi,
        AFAIK, GeoServer does not support queries like this.  I would look
to PostGIS 2.0 for this-- a KNN solution has been written for that.  I know
it's useable from a web services perspective by CartoDB through the SQL API.
CartoDB is released under the BSD, and also offered as a hosted service.
SpacialDB probably also supports this, as it's built on PostGIS as well,
although SpacialDB's source code is not yet released, so it's only available
as a hosted service at this time.

Best,
Steve

Stephen Mather
Geographic Information Systems (GIS) Manager
(216) 635-3243
[email protected]
clevelandmetroparks.com




-----Original Message-----
From: Hochmeister Rudolf [mailto:[email protected]] 
Sent: Friday, December 16, 2011 9:03 AM
To: [email protected]
Subject: [Geoserver-users] find nearest features around point without
distance parameter

Hi,

Does geoserver support a spatial query like: "find N nearest features around
Point P" ?
N ... amount of maximum features allowed to delivered in result.
P ... coordinate from where to look for the nearest geoms.

I only found a way to query with a "buffer" or "within a distance", but
these are not desired as they need a metric parameter. 

Mfg,
Rudi Hochmeister
Magistrat der Stadt Wien
MA 14 - ADV - Referat AG2
A 1082 Wien, Rathausstraße 1
Email: [email protected]
Telefon: (+43 1) 4000 91119



----------------------------------------------------------------------------
--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users




------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to