<?xml version="1.0" encoding="UTF-8"?>
<site-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../config/site-config.xsd">

<!-- MAP SERVER and SERVICESS-->
	<!-- Main map -->
	<!--	<map-server host="localhost"/>-->
	<map-server host="development.geowise.co.uk" />
	 <!--use optional print-host property to sepcify an alternate server for printing purposes-->
	<map-service name="imfdemo4"/> <!--use optional print-name property to sepcify an alternate map service for printing purposes-->
	

	<!-- Index (overview) map -->
	<index-map-server host="development.geowise.co.uk" />
	<index-map-service name="imfindex"/>

<!--OTHER CONFIG FILES USED BY THIS SITE-->
	<layer-config-xml url="gwdemo4-layer-config.xml"/>
	<print-config-xml url="$IMF/ext/geowise/GW-print-config.xml"/> <!--for more info http://www.moximedia.com/imf-docs-5.0/print/index.html-->	
	<!--	<theme-config-xml url=""/>--> 


<!-- PAGE LAYOUT (properties of individual frames and associated scripts)-->
	
	<!--use this section to set frame and script properties. -->
	<!--Some <...frame> elements have an associated <...script> element -->
	<!--frame height, border style etc is generally set in the <...frame> element-->
	<!--frame content and behaviour is generally set in the <...script> element-->
	
	<!--<title-frame url="$IMF/ext/geowise/titleGeoWiseWhite.jsp?title=Internet Mapping Framework (IMF) v5 for ArcIMS" height="45"/>--> <!--white title frame with logo on left hand side and title in black -->
	<!--<title-frame url="$IMF/ext/geowise/titleGeoWiseGreen.jsp?title=Internet Mapping Framework (IMF) v5 for ArcIMS" height="45"/>-->
	<title-frame url="$IMF/ext/geowise/titleGeoWiseGreenNoLogo.jsp?title=Geowise Internet Mapping Framework (IMF) v5 for ArcIMS" height="25"/>
	<!-- note that title is defined here as a parameter at the end of the URL. There is no corresponding <title-script> element-->
	<!--edit or replace this file to change title frame background color, logo etc -->
	
	<tab-frame url="$IMF/ext/geowise/tabsGeoWise.jsp" height="20"/>
	<!-- Note that alternate tab layout pages are available eg imfTabs.jsp, imfTabsBar.jsp, imfTabsBcgov.jsp-->
	<!--	<tab-frame url="$FRAMEWORK/ext/geowise/tabsGeoWise.jsp"/>-->
	<!--	<tab-frame url="$FRAMEWORK/imfTabsBar.jsp?bgcolor=98B0B4" />-->
	<!--	<tab-frame url="$FRAMEWORK/imfTabsBar.jsp?bgcolor=98B0B4" />-->

	<tool-frame url="$FRAMEWORK/imfTools.jsp"/>
	<map-frame url="$FRAMEWORK/imfMainMap.jsp" pan-border="true" pan-border-color="198,198,198"  pan-border-mouseover-color="255,211,16" map-center-crosshair="true" cursor-generic="auto" border="true"  frameset-border="false" />

	<!--DATA-FRAME-->
	<!-- use the data-frame url property to set the default contents for the right hand frame-->
	<data-frame url="$IMF/imfLayers.jsp" width="300" position="right" /> 
	<!--<data-frame url="$IMF/imfIndexMap.jsp" width="300" position="right" /> -->

	<status-frame url ="$IMF/ext/geowise/imfBlankGreen.jsp" height="40" border="true"  /> 
	<hidden-frame width="0" />

	 <!--NEW IN IMF5 - Alternate layouts can be specified with the new "gui" element-->
	 <gui script-file="imfGuiClassic.jsp" style-url="$IMF/ext/geowise/imfStyle.css" />

	
	<!-- Index (overview) map script-->
	<!--imfIndexMap uses red box or red star to indicate extent of main map -->
	<!--imfIndexMapCrosshair uses crosshairs to indicate extent of main map -->
	<!--<index-map-script url="$IMF/imfIndexMap.jsp"  /> -->
	<index-map-script url="$IMF/imfIndexMap.jsp" extent="0,0,700000,1250000" /> 

	<!-- Layers Script -->
		<!-- use properties here to modify appearance and behaviour of layers script -->
	<layers-script url="$IMF/imfLayers.jsp" show-themes="true" feedback-url="$IMF/imfFeedbackForm.jsp" show-auto-refresh="true" auto-refresh="true" show-version="true" /> 
		<!--NEW IN IMF5 - Active select layer icons are disabled by default. Use "show-select-tool" property to enable them again-->


	<!-- at 5.1 background colour now controlled in style sheet referenced in <gui scirpt-file/> tag -->
	<status-script background-color="152,176,180" logo-url="$IMF/ext/geowise/images/geowise_imf_ywy_green2.gif" logo-height="40" logo-width="210" />


<!-- EXTENTS AND SCALE-->
	<initial-extent minx="315000" miny="666000" maxx="337000" maxy="680000"/> <!--edinburgh -->
	<full-extent  minx="315000" miny="666000" maxx="337000" maxy="680000" />
	<maximum-extent minx="300000" miny="660000" maxx="339000" maxy="690000"/> 
	<scale-restriction min-scale="100" max-scale="75000000"/>

<!--MAP AND BROWSER -->
	<map-projection>
        <projection-transverse-mercator alias="British National Grid" central-meridian="-2.000000" scale-factor="0.999601272" false-easting="400000.000000" false-northing="-100000.000000" reference-latitude="49.000000" units="meters" />
	</map-projection>
	<identify-report-coordinates>
        <projection-transverse-mercator alias="British National Grid" central-meridian="-2.000000" scale-factor="0.999601272" false-easting="400000.000000" false-northing="-100000.000000" reference-latitude="49.000000" units="meters" />
	</identify-report-coordinates>
	<!--determines the projection system used to display co-ordinates e.g. for measure area and select by polygon.  If ommitted you will often get lat longs instead.-->
	<dialog-coordinates>
	<projection-transverse-mercator alias="British National Grid" central-meridian="-2.000000" scale-factor="0.999601272" false-easting="400000.000000" false-northing="-100000.000000" reference-latitude="49.000000" units="meters" />
	</dialog-coordinates>
	
	<map-center-coordinate> <!--Remove projection element below to turn off display of map center cordinates-->
		<projection-transverse-mercator alias="British National Grid" central-meridian="-2.000000" scale-factor="0.999601272" false-easting="400000.000000" false-northing="-100000.000000" reference-latitude="49.000000" units="meters" />
	</map-center-coordinate>
<!--	<upload-projections>
        <projection-transverse-mercator alias="British National Grid" central-meridian="-2.000000" scale-factor="0.999601272" false-easting="400000.000000" false-northing="-100000.000000" reference-latitude="49.000000" units="meters" />
	</upload-projections>-->

	<coordinate-script url="ext/geowise/gbGridCoordinates.js"/>

	<browser toolbar="true" title="GeoWise Internet Mapping Framework for ArcIMS" />
	<webmaster email-address="imf@geowise.co.uk"/>
	<map-background color="255,255,255" transparent="true"/>
	<north-arrow display="true" size="20" max-scale="50000" />
	<scalebar display="true" units="kilometers" max-scale="50000"  />

	<copyright text="GeoWise, Ordnance Survey, XYZ Mapping 2004" />

	
	<!--LAYER MANAGER: Allows users to add / remove layers from the map-->
	
	<layer-manager 
	    	add-layers-script="$IMF/imfAddLayersAndFolders.jsp"
	    	add-visible="true"
	    	enable="false"
	    	init-visible="true"
	    	reorder-layers-script="$IMF/imfReorderLayers.jsp"
	    	startup-script="imfAddLayersAndFoldersStartup.jsp"
	maximum-layers="20"/>
		
	
	

	
<!--TABS-->

	<!-- rounded tabs for tabsGeowise.jsp -->
	<tabs>
	  <tab name="About" url="$FRAMEWORK/ext/geowise/about.html" target="dataFrame" hint="About xxxx IMF" status="About IMF." graphic="$FRAMEWORK/ext/geowise/images/about-tab-round-off.jpg" rollover-graphic="$FRAMEWORK/ext/geowise/images/about-tab-round-over.jpg" width="75" height="20"/>
	  <tab name="Layers" url="$FRAMEWORK/imfLayers.jsp" target="dataFrame" hint="Set Layers" status="Set which layers display, and choose an identify layer." graphic="$FRAMEWORK/ext/geowise/images/layers-tab-round-off.jpg" rollover-graphic="$FRAMEWORK/ext/geowise/images/layers-tab-round-over.jpg" width="75" height="20"/>
	  <tab name="Legend" url="$FRAMEWORK/imfLegend.jsp" target="dataFrame" hint="Display map legend" status="Display the map legend." graphic="$FRAMEWORK/ext/geowise/images/legend-tab-round-off.jpg" rollover-graphic="$FRAMEWORK/ext/geowise/images/legend-tab-round-over.jpg" width="75" height="20"/>
	  <tab name="Select" url="$FRAMEWORK/imfSelectMenu.jsp" target="dataFrame" hint="Selected Sets" help="$FRAMEWORK/help/selectTab.txt" status="Selection options." graphic="$FRAMEWORK/ext/geowise/images/select-tab-round-off.jpg" rollover-graphic="$FRAMEWORK/ext/geowise/images/select-tab-round-over.jpg" width="75" height="20"/>
	  <tab name="Find Location" url="$FRAMEWORK/imfFindLocation.jsp" target="dataFrame" hint="Search for a location" status="Search for a location." graphic="$FRAMEWORK/ext/geowise/images/find-tab-round-off.jpg" rollover-graphic="$FRAMEWORK/ext/geowise/images/find-tab-round-over.jpg" width="75" height="20"/>
	  <tab name="Index Map" url="$FRAMEWORK/imfIndexMap.jsp" target="dataFrame" hint="Display Index / Overview Map" status="Index Map." graphic="$FRAMEWORK/ext/geowise/images/indexmap-tab-round-off.jpg" rollover-graphic="$FRAMEWORK/ext/geowise/images/indexmap-tab-round-over.jpg" width="75" height="20"/>
	  <tab name="Refresh Map" url="JavaScript:refreshMap()" target="mapFrame" hint="Refresh the map" status="Refresh the map." graphic="$FRAMEWORK/ext/geowise/images/refresh-tab-round-off.jpg" rollover-graphic="$FRAMEWORK/ext/geowise/images/refresh-tab-round-over.jpg" width="75" height="20"/>
	  <tab name="Help" url="$FRAMEWORK/imfHelp.jsp" target="dataFrame" hint="Help" status="Help pages." graphic="$FRAMEWORK/ext/geowise/images/help-tab-round-off.jpg" rollover-graphic="$FRAMEWORK/ext/geowise/images/help-tab-round-over.jpg" width="75" height="20"/>
      <!--the debug script can be useful sometimes<tab name="Debug" url="$IMF/imfDebug.jsp" target="dataFrame" hint="Debugging Page" status="Display the Debugging Page" graphic="$IMF/tabs/bc/debug51x27.gif" width="51" height="27"/>-->
	</tabs>
	

<!--TOOLSETS-->
	<!-- multiple toolsets are possible but there must be at least one toolset named "default"-->

	<!--DEFAULT TOOLSET-->
	<tools toolset="default" active="Zoom In" help="$FRAMEWORK/imfHelp.jsp">
		<button name="Full Extent" url="JavaScript:fullExtent();" target="mapFrame" hint="Full Extent" help="$FRAMEWORK/help/fullExtentButton.txt" status="Zoom to the designed full extent of this map." graphic="$FRAMEWORK/tools/zoomfull.gif" width="16" height="16"/>
		<tool name="Zoom In" hint="Zoom In" help="$FRAMEWORK/help/zoomInTool.txt" status="Zoom in to the point you click or the rectangle that you specify." graphic="$FRAMEWORK/tools/zoomin_1.gif" active-graphic="$FRAMEWORK/tools/zoomin_2.gif" width="16" height="16" cursor-url="$IMF/cursors/zoomin.cur"/>
		<tool name="Zoom Out" hint="Zoom Out" help="$FRAMEWORK/help/zoomOutTool.txt" status="Zoom out to the point you click or the zoom the window into an rectangle that you specify." graphic="$FRAMEWORK/tools/zoomout_1.gif" active-graphic="$FRAMEWORK/tools/zoomout_2.gif" width="16" height="16" cursor-url="$IMF/cursors/zoomout.cur"/>
		<tool name="Pan" hint="Pan" help="$FRAMEWORK/help/panTool.txt" status="Centre the map at the point you click or drag the map." graphic="$FRAMEWORK/tools/pan_1.gif" active-graphic="$FRAMEWORK/tools/pan_2.gif" width="16" height="16"/>
		<button name="Zoom Previous" url="JavaScript:previousExtent();" target="toolFrame" hint="Zoom Previous" help="$FRAMEWORK/help/zoomPreviousButton.txt" status="Zoom to the extent of this map before your last extent change." graphic="$FRAMEWORK/tools/zoomlast.gif" width="16" height="16"/>
		<space/>
		<!-- print, email and session functionality below requires appropriate server settings to be defined in imf.properties file -->
		<button name="Print" url="$FRAMEWORK/imfPrintMapTemplateForm.jsp" target="dataFrame" hint="Print to PDF" help="$FRAMEWORK/help/printMapButton.txt" status="Prepares a scaled map in PDF format." graphic="$FRAMEWORK/tools/print_1.gif" width="16" height="16"/>
		<button name="Email" url="$FRAMEWORK/imfEmailButton.jsp" target="dataFrame" hint="Email" help="$FRAMEWORK/help/emailButton.txt" status="Send this map to someone by e-mail." graphic="$FRAMEWORK/tools/mail_1.gif" width="16" height="16"/>
		<button name="Save Session" url="$IMF/imfSessionSaveToServer.jsp" target="dataFrame" hint="Save Session" status="Saves the current map settings for you to restore later." graphic="$IMF/tools/save_1.gif" width="16" height="16"/>
		<!--Sessions are normally saved to the server. Alternatively, code below can be used to create a session file that can be downloaded (saved)  and uploaded (opened) by clients-->	
		<!--<button name="Save Session" url="$IMF/imfSessionSaveToClient.jsp" target="dataFrame" hint="Save Session" status="Saves the current map settings for you to restore later." graphic="$IMF/tools/save_1.gif" width="16" height="16"/>-->
		<!--<button name="Open Session" url="$IMF/imfSessionRestoreForm.jsp" target="dataFrame" hint="Open Session" status="Opens a project session that you have previously saved to your computer." graphic="$IMF/tools/open_1.gif" width="16" height="16"/>-->
		<space/>
		<tool name="Drill Down Identify" hint="Identify visible" help="$FRAMEWORK/help/drillIdentifyTool.txt" status="Display information about the features for all the visible layers where you click the map." graphic="$FRAMEWORK/tools/drill_1.gif" active-graphic="$FRAMEWORK/tools/drill_2.gif" width="16" height="16" cursor-url="$IMF/cursors/drill_identify.cur"/>
		<tool name="Select" handler="$FRAMEWORK/imfSelect.jsp" shape="point" hint="Select from active layer by point" help="$FRAMEWORK/help/selectTool.txt" status="Select features on the map from active layer" graphic="$FRAMEWORK/tools/select_1.gif" active-graphic="$FRAMEWORK/tools/select_2.gif" width="16" height="16" cursor-url="$IMF/cursors/select.cur"/>
		<tool name="Select Radius" handler="$FRAMEWORK/imfSelectRadius.jsp" hint="Select from active layer by radius" help="$FRAMEWORK/help/selectTool.txt" status="Select features on the map from active layer" graphic="$FRAMEWORK/tools/select_circle_1.gif" active-graphic="$FRAMEWORK/tools/select_circle_2.gif" width="16" height="16" cursor-generic="crosshair" />
		<!--Select functionality may be too advanced for a simple toolbar, It has been included here to simplify interaction with select menu options in select tab-->
		<!--Note that multiple selection types (point, box, line, polygon) are available simply by changing shape property-->
		<!--Note that further selection methods are available using different 'handler' scripts. These are commonly implemented as select menu options though - see below-->
		<space/>
		<button name="Advanced" url="$FRAMEWORK/imfTools.jsp?toolset=advanced" target="toolFrame" hint="Advanced tools" status="Display advanced tools." graphic="$FRAMEWORK/tools/tools_open.gif" width="16" height="16"/>
		<!--more than one additional toolset can be made available in this way eg markup, editing etc -->
	</tools>

	<!--ADVANCED TOOLSET-->
	<tools toolset="advanced" active="Zoom In" help="$FRAMEWORK/imfHelp.jsp">
		<!-- for consitency this toolset includes all the tools included in the default toolset as well as the more advanced tools-->
		<button name="Full Extent" url="JavaScript:fullExtent();" target="mapFrame" hint="Full Extent" help="$FRAMEWORK/help/fullExtentButton.txt" status="Zoom to the designed full extent of this map." graphic="$FRAMEWORK/tools/zoomfull.gif" width="16" height="16"/>
		<tool name="Zoom In" hint="Zoom In" help="$FRAMEWORK/help/zoomInTool.txt" status="Zoom in to the point you click or the rectangle that you specify." graphic="$FRAMEWORK/tools/zoomin_1.gif" active-graphic="$FRAMEWORK/tools/zoomin_2.gif" width="16" height="16" cursor-url="$IMF/cursors/zoomin.cur"/>
		<tool name="Zoom Out" hint="Zoom Out" help="$FRAMEWORK/help/zoomOutTool.txt" status="Zoom out to the point you click or the zoom the window into an rectangle that you specify." graphic="$FRAMEWORK/tools/zoomout_1.gif" active-graphic="$FRAMEWORK/tools/zoomout_2.gif" width="16" height="16" cursor-url="$IMF/cursors/zoomout.cur"/>
		<tool name="Pan" hint="Pan" help="$FRAMEWORK/help/panTool.txt" status="Centre the map at the point you click or drag the map." graphic="$FRAMEWORK/tools/pan_1.gif" active-graphic="$FRAMEWORK/tools/pan_2.gif" width="16" height="16"/>
		<button name="Zoom Previous" url="JavaScript:previousExtent();" target="toolFrame" hint="Zoom Previous" help="$FRAMEWORK/help/zoomPreviousButton.txt" status="Zoom to the extent of this map before your last extent change." graphic="$FRAMEWORK/tools/zoomlast.gif" width="16" height="16"/>
		<space/>
		<!-- print, email and session functionality below requires appropriate server settings to be defined in imf.properties file -->
		<button name="Print" url="$FRAMEWORK/imfPrintMapTemplateForm.jsp" target="dataFrame" hint="Print to PDF" help="$FRAMEWORK/help/printMapButton.txt" status="Prepares a scaled map in PDF format." graphic="$FRAMEWORK/tools/print_1.gif" width="16" height="16"/>
		<button name="Email" url="$FRAMEWORK/imfEmailButton.jsp" target="dataFrame" hint="Email" help="$FRAMEWORK/help/emailButton.txt" status="Send this map to someone by e-mail." graphic="$FRAMEWORK/tools/mail_1.gif" width="16" height="16"/>
		<button name="Save Session" url="$IMF/imfSessionSaveToServer.jsp" target="dataFrame" hint="Save Session" status="Saves the current map settings for you to restore later." graphic="$IMF/tools/save_1.gif" width="16" height="16"/>
		<!--Sessions are normally saved to the server. Alternatively, code below can be used to create a session file that can be downloaded (saved)  and uploaded (opened) by clients-->	
		<!--<button name="Save Session" url="$IMF/imfSessionSaveToClient.jsp" target="dataFrame" hint="Save Session" status="Saves the current map settings for you to restore later." graphic="$IMF/tools/save_1.gif" width="16" height="16"/>-->
		<!--<button name="Open Session" url="$IMF/imfSessionRestoreForm.jsp" target="dataFrame" hint="Open Session" status="Opens a project session that you have previously saved to your computer." graphic="$IMF/tools/open_1.gif" width="16" height="16"/>-->
		<space/>
		<tool name="Drill Down Identify" hint="Identify visible" help="$FRAMEWORK/help/drillIdentifyTool.txt" status="Display information about the features for all the visible layers where you click the map." graphic="$FRAMEWORK/tools/drill_1.gif" active-graphic="$FRAMEWORK/tools/drill_2.gif" width="16" height="16" cursor-url="$IMF/cursors/drill_identify.cur"/>
		<tool name="Select" handler="$FRAMEWORK/imfSelect.jsp" shape="point" hint="Select from active layer by point" help="$FRAMEWORK/help/selectTool.txt" status="Select features on the map from active layer" graphic="$FRAMEWORK/tools/select_1.gif" active-graphic="$FRAMEWORK/tools/select_2.gif" width="16" height="16" cursor-url="$IMF/cursors/select.cur"/>
		<tool name="Select Radius" handler="$FRAMEWORK/imfSelectRadius.jsp" hint="Select from active layer by radius" help="$FRAMEWORK/help/selectTool.txt" status="Select features on the map from active layer" graphic="$FRAMEWORK/tools/select_circle_1.gif" active-graphic="$FRAMEWORK/tools/select_circle_2.gif" width="16" height="16" cursor-generic="crosshair" />
		<space/>
		<button name="Hide Advanced" url="$FRAMEWORK/imfTools.jsp?toolset=default" target="toolFrame" hint="Hide Advanced tools" status="Hide advanced tools." graphic="$FRAMEWORK/tools/tools_close.gif" width="16" height="16"/>

		<tool name="Identify" hint="Identify Active Layer" help="$FRAMEWORK/help/identifyTool.txt" status="Display information about the features that you can click the map." graphic="$FRAMEWORK/tools/identify_1.gif" active-graphic="$FRAMEWORK/tools/identify_2.gif" width="16" height="16" cursor-url="$IMF/cursors/identify.cur"/>
		<tool name="Identify Radius" handler="$FRAMEWORK/imfIdentifyBuffer.jsp" hint="Identify Radius" status="Display information about features within a distance of where you click on the map." graphic="$FRAMEWORK/tools/identifyradius_1.gif" active-graphic="$FRAMEWORK/tools/identifyradius_2.gif" width="16" height="16" cursor-url="$IMF/cursors/identify_radius.cur"/>
		<space/>

		<tool name="Buffer" handler="$FRAMEWORK/imfSelectByBufferForm.jsp" hint="Buffer" status="Select features within a distance of selected features." graphic="$FRAMEWORK/tools/buffer_1.gif" active-graphic="$FRAMEWORK/tools/buffer_2.gif" width="16" height="16" cursor-url="$IMF/cursors/buffer.cur"/>
		<!-- GEOWISE GBgrid measure tool -->
		<tool name="Measure Distance in meters" handler="$FRAMEWORK/ext/geowise/gbGridMeasure.jsp" shape="line" hint="Measure Distance" help="$FRAMEWORK/help/measureTool.txt" status="Measures the distance between points where you click." graphic="$FRAMEWORK/tools/measure_1.gif" active-graphic="$FRAMEWORK/tools/measure_2.gif" width="16" height="16" cursor-url="$FRAMEWORK/cursors/measure.cur" cursor-generic="crosshair"/>
		<!-- GEOWISE GBgrid measure area tool -->
		<tool name="Measure Polygon Area" handler="$FRAMEWORK/ext/geowise/gbGridMeasureArea.jsp"  shape="polygon" hint="Measure Area of a Polygon" help="$FRAMEWORK/help/measureAreaTool.txt" status="Measures the area of the polygon you draw." graphic="$FRAMEWORK/tools/measurearea_1.gif" active-graphic="$FRAMEWORK/tools/measurearea_2.gif" width="16" height="16" cursor-url="$FRAMEWORK/cursors/measure_area.cur" cursor-generic="crosshair"/>
		<button name="Clear" url="$FRAMEWORK/imfClear.jsp" target="dataFrame" hint="Clear Selection" help="$FRAMEWORK/help/clearButton.txt" status="Unselects features and clears user added graphics." graphic="$FRAMEWORK/tools/clearhighlight_1.gif"/>
		<space/>
		<button graphic="$IMF/tools/filter.gif" hint="Filter Features" name="Filter Features" status="Limit the features displayed for a layer." target="hiddenFrame" url="$IMF/imfFilterBuilderFormPopup.jsp?config=false" width="16" height="16" /> 
		<button name="Map Tips" url="$IMF/imfMapTipToggle.jsp" target="hiddenFrame" hint="Map Tips" status="Shows data from features when you hover the mouse over the map." graphic="$IMF/tools/maptips_on.gif" width="16" height="16"/>
		<space/>

		<tool name="Point Markup" hint="Point Markup" shape="point" handler="$IMF/imfMarkupToolPoint.jsp" status="Adds user-defined points to the map." help="$IMF/help/markupPointTool.txt" graphic="$IMF/tools/markup_point1.gif" active-graphic="$IMF/tools/markup_point2.gif" width="18" height="18" cursor-url="$IMF/cursors/markup_point.cur"/>
		<!--<tool name="Location Markup" hint="Location Markup" shape="point" handler="$IMF/imfMarkupToolLocation.jsp" status="Adds a geographic position to the map at the point you click." graphic="$IMF/tools/markup_xy1.gif" active-graphic="$IMF/tools/markup_xy2.gif" width="16" height="16" />-->
		<tool name="Line Markup" hint="Line Markup" shape="line" handler="$IMF/imfMarkupToolLine.jsp" status="Adds user-defined lines to the map." help="$IMF/help/markupLineTool.txt" graphic="$IMF/tools/markup_line1.gif" active-graphic="$IMF/tools/markup_line2.gif" width="18" height="18" cursor-url="$IMF/cursors/markup_line.cur"/>
		<tool name="Rectangle Markup" hint="Rectangle Markup" shape="box" handler="$IMF/imfMarkupToolRectangle.jsp" status="Adds user-defined rectangles to the map." help="$IMF/help/markupRectangleTool.txt" graphic="$IMF/tools/markup_rect1.gif" active-graphic="$IMF/tools/markup_rect2.gif" width="18" height="18" cursor-url="$IMF/cursors/markup_rect.cur"/>
		<tool name="Polygon Markup" hint="Polygon Markup" shape="polygon" handler="$IMF/imfMarkupToolPolygon.jsp" status="Adds user-defined polygon to the map." help="$IMF/help/markupPolygonTool.txt" graphic="$IMF/tools/markup_polygon1.gif" active-graphic="$IMF/tools/markup_polygon2.gif" width="18" height="18" cursor-url="$IMF/cursors/markup_polygon.cur"/>
		<tool name="TextMarkup" hint="Text Markup" shape="point" handler="$IMF/imfMarkupToolText.jsp" status="Adds user-defined text to the map." help="$IMF/help/markupTextTool.txt" graphic="$IMF/tools/markup_text1.gif" active-graphic="$IMF/tools/markup_text2.gif" width="18" height="18" cursor-url="$IMF/cursors/markup_text.cur"/>
		<tool name="CalloutTextMarkup" hint="Callout Text Markup" shape="point" handler="$IMF/imfMarkupToolCalloutText.jsp" status="Adds user-defined text to the map in a callout box." help="$IMF/help/markupCalloutTextTool.txt" graphic="$IMF/tools/callout16x17_1.gif" active-graphic="$IMF/tools/callout16x17_2.gif" width="18" height="18" cursor-url="$IMF/cursors/markup_text.cur"/>
		<tool name="LabelMarkup" hint="Label Markup" shape="point" handler="$IMF/imfMarkupToolLabel.jsp" status="Adds a label from the feature table of a layer to the map at the point you click." help="$IMF/help/markupLabelTool.txt" graphic="$IMF/tools/markup_label1.gif" active-graphic="$IMF/tools/markup_label2.gif" width="18" height="18" cursor-url="$IMF/cursors/markup_label.cur"/>
		<button name="Grid Markup" url="$IMF/imfGridMarkupForm.jsp" target="dataFrame" hint="Grid Markup" status="Adds a user defined grid to the map." help="$IMF/help/markupGridButton.txt" graphic="$IMF/tools/markup_grid1.gif" width="18" height="18"/>
		<tool name="Erase Markup" hint="Erase Markup" shape="box" handler="$IMF/imfMarkupToolErase.jsp" status="Removes user markup from the map using a point or a box." help="$IMF/help/markupEraseTool.txt" graphic="$IMF/tools/markup_erase1.gif" active-graphic="$IMF/tools/markup_erase2.gif" width="18" height="18" cursor-url="$IMF/cursors/markup_erase.cur"/>
		<button name="Clear" url="$IMF/imfClear.jsp" target="dataFrame" hint="Clear Selection" help="$IMF/help/clearButton.txt" status="Unselects features and clears user added graphics." graphic="$IMF/tools/clearhighlight_1.gif"/>

		<space/>
		<button name="Extract" url="$IMF/imfExtractForm.jsp" target="dataFrame" hint="Extract" status="Extract data to a shapefile." graphic="$IMF/tools/zipship.gif" width="16" height="16"/>
		<button name="Extract GML" hint="Extract GML" status="Creates a GML file containing features from a layer." help="$IMF/help/extractGmlButton.txt" url="$IMF/imfExtractGmlForm.jsp" target="dataFrame" graphic="$IMF/tools/gml.gif" width="16" height="16"/>
		<button name="Extract Excel" hint="Extract Excel" help="$IMF/help/extractExcel.txt" status="Creates an Excel file containing attributes from a layer." url="$IMF/imfExtractExcelForm.jsp" target="dataFrame" graphic="$IMF/tools/excel.gif" width="16" height="16"/>
		<space />
	</tools>



<!--FIND-LOCATION TYPES aka GAZETTEERS-->
	<!--see http://www.moximedia.com/imf-docs-5.0/site/find-location.html for syntax and examples-->
	
	<!-- generic gazetteers -->
	<find-location type="Layer Extent" url="$IMF/imfZoomToLayerExtentForm.jsp" target="dataFrame"/>
	<find-location type="Find by value" url="$FRAMEWORK/imfFindByAttribute.jsp" />

	<!--user defined bookmarks-->
	<find-location type="Spatial Bookmark" url="$IMF/imfZoomToBookmark.jsp" target="dataFrame"/>

	<!--site specific (layer based) gazetteers--> 
	<find-location type="Find Secondary School" url="$FRAMEWORK/imfFindByAttributeFormList.jsp?title=Secondary+schools&amp;layer=secondary+schools&amp;field=name&amp;buffer=1000" />
	<find-location type="Find Government Office Region" url="$FRAMEWORK/imfFindByAttributeFormList.jsp?title=Government+Office+Region&amp;layer=GOR&amp;field=name&amp;buffer=10000" />

	<!-- GEOWISE UK National grid gazetteer-->
	<find-location type="Find by grid reference" url="$FRAMEWORK/ext/geowise/gbGridZoom.jsp" />

	<!-- GEOWISE Address/Property Gazetteers-->
	<find-location type="Find by address" url="$FRAMEWORK/ext/geowise/addressPointGaz.jsp" />
	<!--<find-location type="Find by street/postcode/organisation" url="$FRAMEWORK/ext/geowise/gbGazSearch.jsp" />-->

	<!--<find-location type="Latitude / Longitude Coordinate" url="$IMF/imfZoomToLatLongForm.jsp" target="dataFrame"/>-->
	<!--<find-location type="UTM Coordinate" url="$IMF/imfZoomToUtmForm.jsp" target="dataFrame"/>-->
	
	
	<!-- database based gazetteers -->
	<!-- uses database connection defined in imf.properties-->
	<!--<find-location type="find placename" url="$FRAMEWORK/imfZoomToPlaceNameForm.jsp" />-->
	<!--<find-location type="find named extent" url="$FRAMEWORK/imfZoomToExtentListForm.jsp"  />-->
	


<!-- SELECT MENU OPTIONS  - items that appear in the selection menu, (may also appaer as tools in a toolset) -->
	<!--More granular control is possible using layer-config file. See http://www.moximedia.com/imf-docs-5.0/layer/select-menu-option.html )-->

	<select-menu-option description="Selected sets" url="$IMF/imfSelectSetLayerChoose.jsp" target="dataFrame" enabled="true"/>
	<select-menu-option description="Select by layer" url="$IMF/imfSelectByLayer.jsp" target="dataFrame" enabled="true"/>
	<select-menu-option description="Select using query builder" url="$IMF/imfSelectQueryBuilderFormPopup.jsp" target="hiddenFrame" enabled="true"/>
	<select-menu-option description="Select by attribute" url="$IMF/imfSelectByAttributeForm.jsp" target="dataFrame" enabled="true"/>
	<select-menu-option description="Select by point" url="JavaScript:selectBy('point')" target="dataFrame" enabled="true"/>
	<select-menu-option description="Select by box" url="JavaScript:selectBy('box')" target="dataFrame" enabled="true"/>
	<select-menu-option description="Select by polygon" url="JavaScript:selectBy('polygon')" target="dataFrame" enabled="true"/>
	<select-menu-option description="Select by radius" url="$IMF/imfSetActiveTool.jsp?name=Select+Radius" target="hiddenFrame" enabled="true"/>
	<select-menu-option description="Clear selections" url="$IMF/imfClear.jsp" target="dataFrame" enabled="true"/>

<!-- SELECT SET OPTIONS - items that appear in the list of operations that can be performed on a set of selected features (may also appear as tools in toolset)-->
	<!--see http://www.moximedia.com/imf-docs-5.0/site/select-set-option.html for syntax and examples-->
	<!--More granular control is possible using layer-config file. See http://www.moximedia.com/imf-docs-5.0/layer/select-set-option.html )-->
	<select-set-option title="Default Report" description="Default Report, or report picker if necessary" url="$IMF/imfSelectSetReport.jsp" target="dataFrame"  />
	<select-set-option title="Filter Layer" description="Filters the layer using this selected set so that the layer contains only the selected features." url="$IMF/imfSelectSetFilter.jsp" target="dataFrame" spinner="loadData"/>
	<select-set-option title="Extract to Excel" description="Create an Excel spreadsheet containing the selected features." url="$IMF/imfExtractExcelFormResults.jsp" target="dataFrame" spinner="loadData"/>
	<select-set-option title="Extract to GML" description="Create a GML document containing the selected features." url="$IMF/imfExtractGmlFormResults.jsp" target="dataFrame" spinner="loadData"/>
	<select-set-option title="Zoom to Extent"  description="Zoom the map to the extent of the selected features." url="$IMF/imfSelectSetZoom.jsp" target="hiddenFrame" spinner="loadMap"/>

<!-- STARTUP SCRIPTS -->
<!-- GEOWISE WATERMARK EXTENSION -->
<!-- embeds a watermark in map images within certain scale thresholds. Used for complying with copyright restrictions-->

	<!-- The path to the image on the ArcIMS server, or somewhere the ArcIMS server can see... -->
	<property name="watermark-image" value="d:/imf-aims50/ext/geowise/images/geo_web_140px.gif" />
	<!-- The X coord of the image in pixels from the left of the map image -->
	<property name="watermark-x" value="40" />
	<!-- The Y coord of the image in pixels from the BOTTOM of the map image -->
	<property name="watermark-y" value="40" />
	<!-- The position of the hotspot in the watermark - the hotspot is aligned with the X, Y coords above - this
			example aligns the bottom left of the watermark -->
	<property name="watermark-hotspot" value="0 104" />
	<!-- The size of the image - if unspecified the image will be drawn at its standard size (in pixels) -->
	<property name="watermark-size" value="280 104" />
	<!-- The transparency (actually opacity!) of the watermark where 0 is fully transparent and 1 is fully opaque.
			Defaults to 0.4 if omitted -->
	<property name="watermark-transparency" value="0.4" />
	<!-- Antialias the image or not - 'true' or 'false' -->
	<property name="watermark-antialiasing" value="true" />
	<!-- The max scale at which to display the watermark - for 1:50,000 put 50000 -->
	<property name="watermark-max-scale" value="50000" />

	<!-- The startup script that puts the watermark in... -->
	<startup-script file="ext/geowise/watermark.jsp" />



<!-- GEOWISE LAYERS EXTENSION -->
<!-- Switches on layers whose ID is specified in URL. Used for integration with other applications -->	
	<startup-script file="ext/geowise/startupLayers.jsp"/>


<!-- QUICK-VIEW  NAVIGATION --> 
<!-- administrator defined quick placename gazetteer -->
<!-- see also place gazetteer in imf.properties for list of places in db-->
<!-- see also extent gazetteer in imf.properties for list of extents in db-->
<!-- see also "spatial bookmark" find-location type above for user defined locations--> 

<quick-view minx="326000" maxx="0328000" miny="676000" maxy="0677000" name="Leith"  />
<quick-view minx="320000" maxx="0330000" miny="666000" maxy="0678000" name="Edinburgh"  />
<quick-view minx="280000" maxx="0380000" miny="650000" maxy="0680000" name="Lothians"  />


</site-config>
