Re: [Geotools-devel] Supporting zoom levels in CSS, sharing some YSLD code

2024-08-10 Thread Jody Garnett
Andrea, Please feel free to move them around as needed, your plan sounds great! I have encountered one awkward difficult with the use of zoom levels as a very cheerful shorthand for scale denominator. I got a bit stuck on with mbox style where zoom level was defined with respect to web mercator.

Re: [Geotools-devel] Supporting zoom levels in CSS, sharing some YSLD code

2024-08-10 Thread Andrea Aime
Hi Ian, once we have support for TileMatrixSet definitions generally available in gt-main, there are a multiplicity of module that can use them, for example, I was also considering features-pregeneralized to be also a good candidate. Going to SLD, of course one could leverage the zoom to scale map

Re: [Geotools-devel] Supporting zoom levels in CSS, sharing some YSLD code

2024-08-10 Thread Ian Turton
This sounds good to me, is there a possibility that it will allow zoom level to become available in SLD as a vendor option or special variable? I'm not suggesting that you do that now but it would be nice if it is possible for future implementations, though I'm not promising that I'll ever get arou

[Geotools-devel] Supporting zoom levels in CSS, sharing some YSLD code

2024-08-10 Thread Andrea Aime
Hi, first of all, apologies for the cross post, I've done it because the refactor I'm proposing concerns both projects. I want to add zoom level support in CSS, with a familiar syntax like [@z = 10] or [@z >= 15], and an eventual tile matrix set choice as a top level directive like @tms "myCustomT