The support forum is temporarily read-only. For urgent requests, please email contact[at]psyberia.net

[closed] New map

It's all about maps...
Post Reply
Toïs

[closed] New map

Post 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
Psyberia-Support
Site Admin
Posts: 6408
Joined: Wed Apr 14, 2010 9:41 pm

Re: New map

Post 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}") ;)
Do you like AlpineQuest ? Leave a small comment on Google Play !
Stoïs

Re: New map

Post by Stoïs »

Thx!
Post Reply