Hi Paul,

QGIS has such a tool, I'm not sure about Arc.

You should be able to handcraft a generic mapfile as a template you can re-use 
as required. I had a use case some time ago for this sort of thing & used a 
Linux shell script to make the text substitutions in such a template from 
reading a spreadsheet containing the mapfile parameters required for each 
individual shapefile.

These days I tend to manage data in Postgis, & use a filter or mapserver's 
variable substitution to manage such situations.

Using a single mapfile with cgi wrappers to re-use it in this way for different 
datasets works better for me than maintaining lots of separate mapfiles.

In a couple of situations where this is not flexible enough, having a cgi 
actually contain the mapfile text, so it writes the customised mapfile, then 
invokes it, also works for me.

Cheers,
   
   Brent Wood


--- On Sat, 2/4/12, Paul Maddock <[email protected]> wrote:

From: Paul Maddock <[email protected]>
Subject: [mapserver-users] Mapfile Generators
To: "[email protected]" <[email protected]>
Date: Saturday, February 4, 2012, 2:49 AM

Hi all,  Are there any extensions of ArcView 10 which I can export .shp files 
into mapfiles or possibly any other open source mapfile generators?  It seems 
time consuming to manually create these map files if I have a large collection 
of shapefiles.   Many thanks,Paul
-----Inline Attachment Follows-----

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to