smas1 / geoext-viewer

Automatically exported from code.google.com/p/geoext-viewer
GNU General Public License v3.0
0 stars 0 forks source link

Allow for Buffer option in spatial search panels #398

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Issue 394 provided a DWITHIN Filter option for the SearchByFeaturePanel as a 
step-up to true Buffer-based searches. From there it was determined that a more 
generic Buffer client-side implementation would be beneficial for several 
reasons:

- use in other Search panels like SearchByDrawPanel (draw a geometry and apply 
buffer before issueing search)
- less issues with WFS servers that don't support units for DWITHIN (like 
GeoServer)
- make the Buffer visual

In general such an implementation should be easier to reuse. 

The library JSTS, a JavaScript port of the well-established Java JTS library as 
used in GeoServer via GeoTools, seems a good candidate: 
https://github.com/bjornharrtell/jsts with a Buffer example:
http://bjornharrtell.github.io/jsts/examples/buffer.html

Original issue reported on code.google.com by jus...@gmail.com on 7 Aug 2014 at 4:09