It's true that @scale in CSS is basically equivalent to
Min/MaxScaleDenominator in SLD; in particular it can *only be used in
selectors*, not in expressions. However, because of the inheritance model
in CSS, it allows you to enable or disable *individual properties* instead
of entire rules. Consi
i 2011 09:23
To: Anders Söderman
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Is it possible to use the active scale on the
screen for calculations in an SLD AND Is it possible to use PARAMETERS in
very large SLDs ?.
2011/6/12 Anders Söderman :
> Hello Andrea - hear
2011/6/12 Anders Söderman :
> Hello Andrea - hear comes the SLD.
>
> As you see, my SVG filenames has many characters witch makes it hard to use
> the &env= , I think.
> I believe the URL in a GetMap request is limited to 512 or 1024 characters?
>
> This is only one part/scaleinterval (of 13) of
m] On Behalf Of
Andrea Aime
Sent: den 12 juni 2011 16:58
To: Anders Söderman
Cc: David Collins; geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Is it possible to use the active scale on the
screen for calculations in an SLD.
2011/6/12 Anders Söderman :
> Hello Andrea and
2011/6/12 Anders Söderman :
> Hello Andrea and David and thanks for your input.
>
> I have tried UOM meter instead of pixels, but it made things even more
> complicated as far as I could see.
I guess your problem is not changing the size of the symbolizer based
on the scale then.
> I will look in
Hello Andrea and David and thanks for your input.
I have tried UOM meter instead of pixels, but it made things even more
complicated as far as I could see.
I will look into CSS to see if my VERY LARGE SLDs could be made more
"readable" or at least shorter.
One SLD file with 13 scaleintervals e
2011/6/12 David Collins :
> Another approach is to use the CSS module ..
> http://docs.geoserver.org/latest/en/user/community/css/index.html
> Read about '@scale' here ..
> http://docs.geoserver.org/latest/en/user/community/css/filters.html
Hmmm... as far as I can see those are just the equivalent
Another approach is to use the CSS module ..
http://docs.geoserver.org/latest/en/user/community/css/index.html
Read about '@scale' here ..
http://docs.geoserver.org/latest/en/user/community/css/filters.html
Regards,
David
2011/6/12 Anders Söderman
> Hello, I´m working with an SLD which have
> 13
2011/6/12 Anders Söderman :
> Hello, I´m working with an SLD which have
> 13 different scale intervals from
> 0 – 1:750
> 1:750 – 1:1 500
> …
> to
> 1:1 536 000 –
>
> It would be very useful to be able to use the existing “GetMap request-
> scale” on the screen as an input to calcul
Hello, I´m working with an SLD which have
13 different scale intervals from
0 1:750
1:750 1:1 500
to
1:1 536 000
It would be very useful to be able to use the existing GetMap request-
scale on the screen as an input to calculate my rendering parameters
instead of ha
10 matches
Mail list logo