[mapserver-users] Validation of mapfiles

Per Engström pereng at gmail.com
Thu Nov 1 09:32:32 PDT 2012


Mapscripts look really interesting! I will definitly look inte that. Thanks a bunch :)

Regards,
Per

1 nov 2012 kl. 16:44 skrev Ivan Mincik <ivan.mincik at gmail.com>:

> you can use mapscript script. see some earlier post about this topic.
> 
> On Nov 1, 2012 1:22 PM, "Per Engström" <pereng at gmail.com> wrote:
>> Hi!
>> 
>> I work at the Swedish Meteorological and Hydrological Institute where we use MapServer to make  meteorological maps available through WMS. Data is read from many sources and we make heavy use of the INCLUDE tag to combine various layer definitions into a Mother-Of-Mapfile: mom.map. What we need to do is find a way to validate the files that mom.map includes - if one of the included files have bad syntax it will break the entire mom.map.
>> 
>> Is there a way to validate the syntax of a map-file (other than trying to make a request on one of the layers it defines)? 
>> Is there a list of tags requires a closing END tag - thus making it possible to check programmatically that opening and closing tags are balanced?
>> 
>> Regards,
>> Per
>> 
>> --
>> Per Engström
>> SMHI
>> --
>> 
>> 
>> 
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20121101/15ad67ce/attachment.htm>


More information about the MapServer-users mailing list