[mapserver-users] MAXSCALEDENOM using runtime var

Scott public at postholer.com
Tue Jun 16 14:50:54 PDT 2020


Thanks for the response.

My mapserv binary is in a wrapper so I have control over dubious 
features I may (intentionally) introduce.

With that said, if it's not readily available and only available via 
modification, someone more knowledgeable had good reason. I'll think of 
a different approach.

Thanks again!

On 6/16/20 1:56 PM, Steve Lime wrote:
> Hi Scott: Nope, the various scale denominator properties are not mutable 
> via URL parameters. It's a relatively simple change to make it happen 
> (just modify maplexer.l (look for the keyword of choice) and rebuild) 
> but I'm not sure it's a great idea since you could be opening up some 
> performance headaches for both your mapping box and backend data 
> sources. I mean, a user could essentially affect at what level high 
> density data could be drawn at, so imagine asking for high density roads 
> at a global scale from a remote PostgreSQL/PostGIS source.
> 
> --Steve
> 
> On Tue, Jun 16, 2020 at 3:36 PM Scott <public at postholer.com 
> <mailto:public at postholer.com>> wrote:
> 
>     Is it possible to set MAX(MIN)SCALEDENOM using a runtime variable?
> 
>     Example:
> 
>     ...
>     MAXSCALEDENOM %maxscaledenom%
>     ...
> 
> 
> 
>     -- 
>     www.postholer.com <http://www.postholer.com>
>     _______________________________________________
>     mapserver-users mailing list
>     mapserver-users at lists.osgeo.org <mailto:mapserver-users at lists.osgeo.org>
>     https://lists.osgeo.org/mailman/listinfo/mapserver-users
> 


More information about the mapserver-users mailing list