On 8/3/20 12:40 PM, Ian Turton wrote: > It might be easier to do this in a custom function in GeoTools rather than in > PostGIS - then you could pass in the scale env variable along with the > feature that you are drawing. > > Ian
Mmm, that is (at least in my opinion) a little over the top... Adding java functions does not count as configuration I think :-) I was hoping that I could use some kind of variable for this. Like you can apparently use 'wms_scale_denominator' in sld symbolizers: https://docs.geoserver.org/stable/en/user/styling/sld/extensions/substitution.html As an work-around in this case I can off course add the rules for every zoom level... Regards, Richard Duivenvoorde _______________________________________________ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
