<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-CA link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Is there any syntax for including the contents of another
file in a mapfile?</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I have about 60+ layers that need to go online and most of
them fall into fairly clear groups of five layers each. Based on their
selection in a drop-down list, users will indicate the group of maps they are
interested in looking at and the application will load that map file. There are,
however, about 10 ancillary layers of data that should be available no matter
what map is loaded (roads, hydro, cities, etc.). Rather than repetitively
defining this information in every map file, is there any way I can define the
ancillary layers in one file, and then simply load that file’s contents
from within the other map files?</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I’m not sure what to call these except “includes.”
I haven’t had any luck in the archive with that expression, but I cannot
believe no one has wanted to do this before.</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Cheers,</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>jtm</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Joanne T. McGraw<br>
Spatial Data Visualization Specialist / Spécialiste en visualisation des
données spatiales<br>
Agriculture and Agri-Food Canada / Agriculture et Agroalimentaire Canada<br>
Telephone/Téléphone: (613) 759-6103<br>
Facsimile/Télécopieur: (613) 759-1937<br>
960 Carling Ave, #1136<br>
Ottawa, Ontario<br>
K1A 0C6</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><a href="mailto:mcgrawj@agr.gc.ca">mcgrawj@agr.gc.ca</a></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><img border=0 width=278 height=24
src="cid:image001.jpg@01C56819.6CCD1D60"
alt="Agriculture and Agri-Food Canada - Agriculture et Agroalimentaire Canada"></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
</div>
</body>
</html>