marcov
Joined: 28 Oct 2009 Posts: 1
|
Posted: Wed Oct 28, 2009 6:52 am Post subject: How to sort by distance? |
|
|
Hello,
I'm quite new to WFS and Filtering, so i need an help.
I need to filter out some Point Of Interest from my geoserver by these rules:
- i need a MAX numbers of POI in a certain area (a BBOX or a radius)
- i need to have them sorted by distances, better i need to have only the POI that have the minimum distance from the center of the BBOX or from the center of the radius.
Now i know how to filter by area or radius (with BBOX of DWITHIN filtering), i know how to filter a max num of results, but i can't figure out how to obtain only the POI that have the minimum distances.
Can anybody help me please?
Thanks
Marco |
|