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

Lime, Steve D (MNIT) Steve.Lime at state.mn.us
Mon Dec 1 11:50:15 PST 2014


How are you triggering the GML production in MapServer?

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of bpicinbono at worldonline.fr
Sent: Monday, December 01, 2014 11:01 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] maxscale (denom) with gml ?

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
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list