Serving and filtering #GeoJSON from #GeoServer
Posted by smathermather on July 19, 2012
The nice thing about setting up something like GeoServer, which is so feature rich, is when you need to pivot based on the demands of a new project, the technical infrastructure is already there, just waiting to be configured or turned on.
The case today: feature services. Someone wants to use my existing infrastructure in a new application. I typically serve tile services. One checkbox to enable WFS; a couple clicks to see an example GeoJSON request, and
Ah. That wasn’t so bad. But wait, we need to filter the request! GeoServer offers CQL and ECQL:
Oops, I also need it reprojected on the fly to Google Mercator:
Not too bad for a feature I hadn’t needed until today… .
Month in Review: September 2012 – GeoServer Blog said
[...] Serving and filtering #GeoJSON from #GeoServer (Smathermather) [...]