emplexed / gs-mvt

Geoserver WMS Extension for delivering Mapnik Vector Tiles
Apache License 2.0
62 stars 14 forks source link

Supporting viewparams #14

Closed vittrup88 closed 5 years ago

vittrup88 commented 6 years ago

I have been looking in the code and can’t figure if this extension support the wms viewparams?

It is not mentioned in the code so does it inherit from wms?

I have successfully used this feature with the community module for vector tiles as mvt but I really like the idea implemented here to control the generalization and small geometries. I have a smaller problem with the community module where some features will disappear. It might be solved by setting the size of tile grid from 256x256 to a higher resolution, but still here it is possible to make a precise configuration.

emplexed commented 5 years ago

yes your right, im also stepping into the problem again and again. Basically we still use the plugin for similar reasons (generalization control etc.).

I hope i find time to update the plugin with viewparam support. currently the issue is that we proxy the requests using a slippymap controller (to avoid the need to request over GWC and still get the slippy map format). This controller currently ignores the viewparams.

emplexed commented 5 years ago

if its still relevant for you, viewparams are supported in Version 0.3.3.

Please not, Geoserver 2.13 is currently the max supported version, there are JTS Upgrade issues to get compatible with 2.14 onwards. I will start a new branch for that issue and keep the 0.3.X as maintenance for branch for older Geoservers.