[mapserver-users] maxscale (denom) with gml ?

bpicinbono at worldonline.fr bpicinbono at worldonline.fr
Mon Dec 1 09:00:52 PST 2014


Dear list,

I have a mapfile that control the display of some numerous data depending on the
scale:
- dezooming max: not displaying the shapes;
- at a particular zooming-in level: displaying the shapes;

This is done with:
MAXSCALE 200000000
in the WEB section of the mapfile

and with:
MAXSCALEDENOM 20000000
in the layer section of the mapfile

This works fine rendering images with a basic cgi mapserver application or in an
opelayers 3 application.

I am now trying to get the same behaviour in an openlayers 3 application but
rendering the shapes on client side through gml instead of server side image
rendering.
Gml rendering works fine, but it seems that the MAXSCALE (DENOM) directive is
omitted: the shapes display is no more turned off when dezooming a lot.

Any clue to have this MAXSCALE ( DENOM ) working with gml display ?
Thanks in advance



More information about the MapServer-users mailing list