If I remember correctly you have a "enable on the fly simplification" in the postgis datastore.
Alexandre Le ven. 18 nov. 2022 à 20:22, Arnaud LESAUVAGE <arnaud.lesauv...@codata.eu> a écrit : > Hi > > > > Is there any plan to simplify geometries in WMS “vector” layers ? > > I have been looking for a simple way to simplify the geometries in zoomed > tiles for a layer. > > My datastore being PostGIS, simply using the simplification mechanism of > this datastore when querying it via WMS would be a simple and efficient > solution. I do understand that WFS queries need to return untouched > geometries, but why would WMS queries bypass the simplification process ? > > Actually, I have to do a quite dirty trick, passing a viewparams with the > current zoom level to the view and using this to simplify the geometry. The > resulting tiles are nice, but take ages to generate because having a > parametrized ST_Simplify in the query prevents any use of the index. > > > > Thanks a lot > > > > Regards > > Arnaud > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users >
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users