Hot answers tagged wfs
I think I'd probably look to download the data into Postgres using ogr2ogr then look at TileStashe for serving the vector tiles. Docs for ogr2ogr WFS driver: http://www.gdal.org/drv_wfs.html @underdark wrote about using ogr2ogr: http://anitagraser.com/2012/09/26/wfs-to-postgis-in-3-steps/ There are some pointers for configuring TileStashe here: ...
Why are creating your own WFS implementation? Can't you just use geoserver? WFS is a complex type of service, this won't be easy. Anyway the response for WFS-GetFeature should include GML and optionally any other format you want. Geotools can provide you with the right JAVA API's to do this. Just look at the documentation of geoserver for WFS if you want ...
Actually you can do it by using redraw(), all you need to do is change the style of the layer first, then call the redraw function. //reset the style of the layer to the style you defined layer.style = newStyle; //then redraw the layer layer.redraw(); I created an example here on JSFiddle that does exactly what you are looking for.
Fixed it by adding the ogc: namespace to: PropertyIsEqualTo, PropertyName and Literal: <wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" xmlns:ogc="http://www.opengis.net/ogc" service="WFS" version="1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs ...
Only top voted, non community-wiki answers of a minimum length are eligible