[mapserver-users] getting the scale in a map file at runtime
Jörg Thomsen (WhereGroup)
joerg.thomsen at wheregroup.com
Fri Jun 3 07:00:14 PDT 2022
Hi,
what about:
https://mapserver.org/mapfile/template.html#image-geometry
-> scaledenom
Doesn't work?
Jörg
Am 03.06.22 um 15:45 schrieb Richard Greenwood:
> Can I get the current scale for use in a map file at runtime.
> Specifically, I'd like to use it in a geotransform something like:
> GEOMTRANSFORM (generalize([shape], [scale]))
> or more likely for use in an expression:
> GEOMTRANSFORM (generalize([shape], [scale] / 100))
> Thanks
> --
> Richard W. Greenwood
> www.greenwoodmap.com <http://www.greenwoodmap.com>
>
> _______________________________________________
> MapServer-users mailing list
> MapServer-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
--
Viele Grüße,
Jörg Thomsen
---------------------------------------------
Aufwind durch Wissen!
Jetzt neu: Web-Seminare und Online-Schulungen
bei der www.foss-academy.com
---------------------------------------------
Jörg Thomsen
WhereGroup GmbH
Bundesallee 23
10717 Berlin
Germany
Tel: +49 (0)30 / 5130 278 74
Fax: +49 (0)30 / 5130 278 11
joerg.thomsen at wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
-------------------------------
Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com
More information about the MapServer-users
mailing list