<p dir="ltr">Steve,</p>
<p dir="ltr">Have you thought about layer groups? Define a group for each Canadian, US, and Mexican data layers you want to combine...</p>
<p dir="ltr">-Perry<br>
</p>
<div class="gmail_quote">On Oct 2, 2013 10:54 AM, "Stephen Woodbridge" <<a href="mailto:woodbri@swoodbridge.com">woodbri@swoodbridge.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
I have 3 regional mapfiles for US, Canada and Mexico and I want to create a single North America map. Since the data comes from separate vendors and they refresh on different cycles, I'm trying to figure out the best way to structure this in a mapfile. I also need to maintain each region as a separate mapfile. (I'm ignoring issues like data alignment over borders.)<br>

<br>
The reginal mapfile data is structure like:<br>
<br>
.../us/data/<shapefiles><br>
.../us/us.map<br>
.../mx/data/<shapefiles><br>
.../mx/mx.map<br>
.../ca/data/<shapefiles><br>
.../ca/ca.map<br>
<br>
The shapepath for each mapfile is set to the local data directory. What I would like to avoid is having to change all the paths in the mapfiles to accomodate a change like:<br>
<br>
.../na/us/data/<br>
.../na/mx/data/<br>
.../na/ca/data/<br>
.../na/na.map<br>
<br>
It would be cool if I can change the shapepath in the middle of the mapfile so layers beyond the change would use the new shapepath, but I suspect that will not work.<br>
<br>
So it looks like my options are:<br>
<br>
1. rewrite all the mapfile data pathes as I combine them into one new mapfile and maintain two copies, regional and na versions.<br>
<br>
2. maybe create a new mapfile that loads each of the regions as a WMS client and overlays the adjacent regions. This will get served via mapcache so that might add some options for tile assembly.<br>
<br>
3. other ideas????<br>
<br>
Thanks,<br>
  -Steve<br>
______________________________<u></u>_________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.<u></u>org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/mapserver-<u></u>users</a><br>
</blockquote></div>