[mapserver-users] Re: Extract Layer Names from MapFile
Stephen Woodbridge
woodbri at swoodbridge.com
Wed Feb 15 09:18:33 PST 2012
On 2/15/2012 11:36 AM, Dash wrote:
> I originally was thinking of parsing the getcapabilites but I don't want the
> user to see the file. I guess I could download the getcapabilites results,
> parse the information and then create a list of layer names. It seems a
> little much for such a trivial task
I assume you want to do this in a javascript client, you could write a
trivial php script and pass it the mapfile name and list of user layers
and compare them on the server.
Maybe a better question is why do you need to compare them?
-Steve W
More information about the MapServer-users
mailing list