[Geomoose-users] Geomoose optimization... map source
Mark Volz
MarkVolz at co.lyon.mn.us
Thu Feb 18 09:46:09 EST 2010
Hello,
I would like to try to move all my layers into a single .map file so that
only one map with many layers is drawn at a time. Is the standard practice
to:
1) Create a single <map-source> with multiple references in the catalog
to that single map source.
2) Create separate <map-source> tags that each have their own reference
to the same .map file.
For example which example between the two is a standard practice so only one
map is drawn?
<map-source name="AllLayers" type="mapserver">
<file>AllLayers.map</file>
<layer name="layer1"/>
<layer name="layer2"/>
<layer name="layer3"/>
</map-source>
...
<catalog>
<layer title="layer1" src="AllLayers/layer1"/>
<layer title="layer2" src="AllLayers/layer2"/>
<layer title="layer3" src="AllLayers/layer3"/>
</catalog>
OR
<map-source name="layer1" type="mapserver">
<file>AllLayers.map</file>
<layer name="layer1"/>
</map-source>
<map-source name="layer2" type="mapserver">
<file>AllLayers.map</file>
<layer name="layer2"/>
</map-source>
<map-source name="layer3" type="mapserver">
<file>AllLayers.map</file>
<layer name="layer3"/>
</map-source>
<catalog>
<layer title="layer1" src="layer1/layer1"/>
<layer title="layer2" src="layer2/layer2"/>
<layer title="layer3" src="layer3/layer3"/>
</catalog>
Next,
Is it okay to use this method for operational layers such as parcels?
Thanks
Mark Volz
GIS Specialist
Lyon County, MN
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20100218/692688bb/attachment.html
More information about the Geomoose-users
mailing list