Page 1 of 1

[closed] New map

Posted: Mon Jan 22, 2018 11:19 pm
by Toïs
Hi

Found this map-sources of UK on (https://maps.dartmoor.gov.uk/geoserver/web/). I couldn't figure out how to configure a AQX-file to get this working.
This didn't work:

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<aqx version="8">
	<name>OS special request</name>
	<description>OS</description>
	<source id="MAP04">
	<name>WMS Map Example</name>
	<zoom-levels z="3,5,7,8,9,10,11,12,13,14,15,16,17">
	  <bbox-crs-code>EPSG:4326</bbox-crs-code>
	  <server><![CDATA[https://maps.dartmoor.gov.uk/geoserver/ows?SERVICE=WMS&VERSION=1.3.0&crs=ESPG:4326&LAYERS=50k&STYLES=&FORMAT=image/png&REQUEST=GetMap&WIDTH=256&HEIGHT=256&BBOX={bbox}]]></server>
	</zoom-levels>
	</source>
</aqx>
Any help?
Thx

Re: New map

Posted: Sat Jan 27, 2018 5:29 pm
by Psyberia-Support
Hi,
Here is a working version:

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<aqx version="8">

	<name>OS special request</name>
	<description>OS</description>
	
	<source id="DART_50K">
		<name>dartmoor 50k</name>
		<preview-location>-3.86,50.53,14</preview-location>
		<zoom-levels z="3,5,7,8,9,10,11,12,13,14,15,16,17">
			<projection-code>EPSG:27700</projection-code>
	  		<bbox-crs-code>EPSG:27700</bbox-crs-code>
	  		<server><![CDATA[https://maps.dartmoor.gov.uk/geoserver/ows?service=WMS&VERSION=1.3.0&crs=EPSG:27700&LAYERS=general%3A50K&STYLES=&FORMAT=image%2Fpng&REQUEST=GetMap&WIDTH=256&HEIGHT=256&BBOX={$bbox}]]></server>
		</zoom-levels>
	</source>
</aqx>

The server uses the projection "EPSG:27700" , the layer is "general%3A50K" and you must use "{$bbox}" (not "{bbox}") ;)

Re: New map

Posted: Wed Jan 31, 2018 6:27 pm
by Stoïs
Thx!