[done] UK 1m DTM WMS

Discussions about onboard maps, online maps and Map Creators
Dwayne Dibbley

[done] UK 1m DTM WMS

Post by Dwayne Dibbley » Mon Oct 12, 2020 3:24 pm

Are / Is this DTM map possible to add as a custom WMS map?

example URL = https://environment.data.gov.uk/spatial ... .817444454

Many Thanks

Psyberia-Support
Site Admin
Posts: 4884
Joined: Wed Apr 14, 2010 9:41 pm

Re: UK 1m DTM WMS

Post by Psyberia-Support » Mon Oct 12, 2020 7:09 pm

Hi,
Yes, see the attached AQX file to open with the app.
Attachments
SURVEY_LIDARCompositeDTM1m 2.aqx
(947 Bytes) Downloaded 240 times
Do you like AlpineQuest ? Leave a small comment on Google Play !

Dwayne Dibbley

Re: UK 1m DTM WMS

Post by Dwayne Dibbley » Thu Oct 15, 2020 9:06 am

:D Thanks

Dwayne Dibbley
Posts: 6
Joined: Sun Oct 25, 2020 11:54 am

Re: [done] UK 1m DTM WMS

Post by Dwayne Dibbley » Tue Apr 20, 2021 4:20 pm

Hi,

what am i missing for updating this to the 1m 2019 data? heres what i tweaked but not working

Code: Select all

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

	<name>LIDAR_Composite_DTM_1m_2019</name>
	<description>WMS</description>

	<source id="LIDAR_Composite_DTM_1m_2019">
		<name>LIDAR_Composite_DTM_1m_2019</name>
		<description><![CDATA[LIDAR_Composite_DTM_1m_2019]]></description>
		<zoom-levels z="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18">
			<tiles-size>512</tiles-size>
			<bbox-crs-code>EPSG:3857</bbox-crs-code>
			<referer><![CDATA[https://environment.data.gov.uk/spatialdata/lidar-composite-digital-terrain-model-dtm-1m-2019/wms]]></referer>
			<server><![CDATA[https://environment.data.gov.uk/spatialdata/lidar-composite-digital-terrain-model-dtm-1m-2019/wms?SERVICE=WMS&REQUEST=GetMap&VERSION=1.3.0&LAYERS=LIDAR_Composite_DTM_1m_2019&BBOX={$bbox}&CRS=EPSG:3857&SRS=EPSG:3857&WIDTH=512&HEIGHT=512&STYLES=default&FORMAT=image%2Fpng&TRANSPARENT=true&TILED=true&FORMAT_OPTIONS=dpi%3A180]]></server>
		</zoom-levels>
	</source>

</aqx>
here is the rest api info url - https://environment.data.gov.uk/image/r ... /MapServer

Thanks again

hamish
Posts: 20
Joined: Sun May 03, 2015 11:47 pm

Re: [done] UK 1m DTM WMS

Post by hamish » Thu Apr 22, 2021 8:00 am

I don't know, but Psyberia-Support kindly supplied this file
environment.data.gov.uk.aqx
(36.44 KiB) Downloaded 136 times
earlier this year after I was having trouble :D

Dwayne Dibbley
Posts: 6
Joined: Sun Oct 25, 2020 11:54 am

Re: [done] UK 1m DTM WMS

Post by Dwayne Dibbley » Thu Apr 22, 2021 9:34 am

hamish wrote:
Thu Apr 22, 2021 8:00 am
I don't know, but Psyberia-Support kindly supplied this file environment.data.gov.uk.aqx earlier this year after I was having trouble :D
Thanks bud, seems the layer should be just 1 and not the text name

Psyberia-Support
Site Admin
Posts: 4884
Joined: Wed Apr 14, 2010 9:41 pm

Re: [done] UK 1m DTM WMS

Post by Psyberia-Support » Fri Apr 23, 2021 9:21 am

Hi Dwayn,
This should work:

Code: Select all

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

	<name>LIDAR_Composite_DTM_1m_2019</name>
	<description>WMS</description>
	
	<source id="LIDAR_Composite_DTM_1m_2019">
		<name>LIDAR_Composite_DTM_1m_2019</name>
		<outline>-6.1493196,51.6558949 -6.6498979,56.3871557 1.677114,56.4198801 1.2807588,51.6834207</outline>
		<preview-location>-2.4602665,54.1013949,8</preview-location>
		<default-location>-2.4602665,54.1013949</default-location>
		<zoom-levels z="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18">
			<projection-code>EPSG:27700</projection-code>
			<bbox-crs-code>EPSG:27700</bbox-crs-code>
			<referer><![CDATA[https://environment.data.gov.uk/image/rest/services/SURVEY/LIDARCompositeDTM1m2019/MapServer]]></referer>
			<server><![CDATA[https://environment.data.gov.uk/image/rest/services/SURVEY/LIDARCompositeDTM1m2019/MapServer/export?f=image&bbox={$bbox}&imageSR=27700&bboxSR=27700&layers=show:0,1,2,3&size=256,256&transparent=true&format=png24]]></server>
		</zoom-levels>
	</source>

</aqx>
Do you like AlpineQuest ? Leave a small comment on Google Play !

Dwayne Dibbley
Posts: 6
Joined: Sun Oct 25, 2020 11:54 am

Re: [done] UK 1m DTM WMS

Post by Dwayne Dibbley » Sun Apr 25, 2021 6:36 pm

Thanks works a treat as usual

Post Reply