<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Paul,<br><br>QGIS has such a tool, I'm not sure about Arc.<br><br>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.<br><br>These days I tend to manage data in Postgis, & use a filter or mapserver's variable substitution to manage such situations.<br><br>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.<br><br>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.<br><br>Cheers,<br> <br> Brent Wood<br><br><br>--- On <b>Sat, 2/4/12, Paul Maddock <i><Paul.Maddock@ijus.net></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Paul Maddock <Paul.Maddock@ijus.net><br>Subject: [mapserver-users] Mapfile Generators<br>To: "mapserver-users@lists.osgeo.org" <mapserver-users@lists.osgeo.org><br>Date: Saturday, February 4, 2012, 2:49 AM<br><br><div id="yiv1369051455"><style><!--
#yiv1369051455
_filtered #yiv1369051455 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
#yiv1369051455
#yiv1369051455 p.yiv1369051455MsoNormal, #yiv1369051455 li.yiv1369051455MsoNormal, #yiv1369051455 div.yiv1369051455MsoNormal
{margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"sans-serif";}
#yiv1369051455 a:link, #yiv1369051455 span.yiv1369051455MsoHyperlink
{color:blue;text-decoration:underline;}
#yiv1369051455 a:visited, #yiv1369051455 span.yiv1369051455MsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
#yiv1369051455 span.yiv1369051455EmailStyle17
{font-family:"sans-serif";color:windowtext;}
#yiv1369051455 .yiv1369051455MsoChpDefault
{font-family:"sans-serif";}
_filtered #yiv1369051455 {margin:1.0in 1.0in 1.0in 1.0in;}
#yiv1369051455 div.yiv1369051455WordSection1
{}
--></style><div><div class="yiv1369051455WordSection1"><p class="yiv1369051455MsoNormal">Hi all,</p><p class="yiv1369051455MsoNormal"> </p><p class="yiv1369051455MsoNormal">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. </p><p class="yiv1369051455MsoNormal"> </p><p class="yiv1369051455MsoNormal">Many thanks,</p><p class="yiv1369051455MsoNormal">Paul</p></div></div></div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>mapserver-users mailing list<br><a ymailto="mailto:mapserver-users@lists.osgeo.org" href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users"
target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br></div></blockquote></td></tr></table>