Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Simple ArcGIS definition

Code Block
xml
xml
linenumberstruexml
<arcgisws:mapengine id="arcgis.topo">
	<url>http://vmbreakout:8399/arcgis/services/Topo250/MapServer</url>
</arcgisws:mapengine>

ArcGIS definition overriding CRS returned, asking for a transparent image and using the layer names, rather than order, as the unique identifier for a layer

Code Block
xml
xml
linenumberstruexml
<arcgisws:mapengine id="arcgis.roads">
	<url>http://vmbreakout:8399/arcgis/services/Roads/MapServer</url>
	<crs>EPSG:20255</crs>
	<transparent>true</transparent>
	<usename>true</usename>
</arcgisws:mapengine>

ArcGIS definition using a tile cache and connection pooling

Code Block
xml
xml
linenumberstruexml
<arcgisws:mapengine id="arcgis.base">
	<url>http://vmbreakout:8399/arcgis/services/Base/MapServer</url>
	<map>Layers</map>
	<crs>EPSG:20255</crs>
	<transparent>true</transparent>
	<usename>true</usename>
	<mapcache>true</mapcache>
	<pool:pool>
		<maxActive>15</maxActive>
		<minIdle>2</minIdle>
		<maxIdle>2</maxIdle>
		<testOnBorrow>true</testOnBorrow>
		<timeBetweenEvictionRunsMillis>60000</timeBetweenEvictionRunsMillis>
		<minEvictableIdleTimeMillis>1200000</minEvictableIdleTimeMillis>
		<whenExhaustedAction>grow</whenExhaustedAction>
	</pool:pool>
</arcgisws:mapengine>

ArcGIS definition providing only a single specific layer based on the layer id

Code Block
xml
xml
linenumberstruexml
<arcgisws:mapengine id="arcgis.roads">
	<url>http://vmbreakout:8399/arcgis/services/Base/MapServer</url>
	<layers>
		<layer id="0"/>
	</layers>
</arcgisws:mapengine>

ArcGIS definition providing only a single specific layer based on the layer name

Code Block
xml
xml
linenumberstruexml
<arcgisws:mapengine id="arcgis.roads">
	<url>http://vmbreakout:8399/arcgis/services/Base/MapServer</url>
	<layers>
		<layer name="Aerial Photo"/>
	</layers>
</arcgisws:mapengine>

ArcGIS definition providing only a single specific layer based on the layer id, using an alternate format

Code Block
xml
xml
linenumberstruexml
<arcgisws:mapengine id="arcgis.roads">
	<url>http://vmbreakout:8399/arcgis/services/Base/MapServer</url>
	<layers>
		<layer>0</layer>
	</layers>
</arcgisws:mapengine>

ArcGIS definition providing only a single specific layer based on the layer name, using an alternate format

Code Block
xml
xml
linenumberstruexml
<arcgisws:mapengine id="arcgis.roads">
	<url>http://vmbreakout:8399/arcgis/services/Base/MapServer</url>
	<usename>true</usename>
	<layers>
		<layer>Aerial Photo</layer>
	</layers>
</arcgisws:mapengine>

ArcGIS definition removing a specific layers based on the layer id

Code Block
xml
xml
linenumberstruexml
<arcgisws:mapengine id="arcgis.roads">
	<url>http://vmbreakout:8399/arcgis/services/Base/MapServer</url>
	<layers>
		<remove>
			<layer id="12"/>
			<layer id="13"/>
		</remove>
	</layers>
</arcgisws:mapengine>

ArcGIS definition removing a specific layers based on the layer name, using an alternate format

Code Block
xml
xml
linenumberstruexml
<arcgisws:mapengine id="arcgis.roads">
	<url>http://vmbreakout:8399/arcgis/services/Base/MapServer</url>
	<usename>true</usename>
	<layers>
		<remove>
			<layer>Property (Pending)</layer>
			<layer>Property (Historical)</layer>
		</remove>
	</layers>
</arcgisws:mapengine>

...