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
Original issue reported on code.google.com by
jus...@gmail.com
on 7 Aug 2014 at 4:09