[Mapserver-users] Beaytify mapfile

Daniel Morissette morissette at dmsolutions.ca
Thu Dec 12 13:12:49 EST 2002


Berend Veldkamp wrote:
> 
> Does anyone ave a macro/script to 'beautify' a mapfile. I have some
> very ugly ones, and I'd like them to have nice indentation, quotes
> around strings etc.
> 

This is probably an overkill, but you could load/save your mapfile using
MapEdit and that would do the trick (MapEdit is part of MapLab,
http://www2.dmsolutions.ca/mapserver/maplab/).  Of course it would be
better if there was a nice little script to do that, but since nobody
had responded yet I thought I would pass the suggestion along.

Daniel
-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the mapserver-users mailing list