[mapserver-users] Extract Layer Names from MapFile
Jeff McKenna
jmckenna at gatewaygeomatics.com
Wed Feb 15 09:35:34 PST 2012
On 12-02-15 12:05 PM, Dash wrote:
> Is there a way to obtain a list of layer names from a mapfile. I need to
> compare a user defined list of layers with available layers in a mapfile. I
> would like to makes this dynamic but I don't see an easy way of returning a
> list of layer names from the mapfile. Any input would be greatly
> appreciated.
>
Don't forget about the trusty shp2img utility, that does return each
layer name from a mapfile. I can imagine some js/php magic to parse
that response.
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
More information about the MapServer-users
mailing list