Page 1 of 1

[done] UK 1m DTM WMS

Posted: Mon Oct 12, 2020 3:24 pm
by Dwayne Dibbley
Are / Is this DTM map possible to add as a custom WMS map?

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

Many Thanks

Re: UK 1m DTM WMS

Posted: Mon Oct 12, 2020 7:09 pm
by Psyberia-Support
Hi,
Yes, see the attached AQX file to open with the app.

Re: UK 1m DTM WMS

Posted: Thu Oct 15, 2020 9:06 am
by Dwayne Dibbley
:D Thanks

Re: [done] UK 1m DTM WMS

Posted: Tue Apr 20, 2021 4:20 pm
by Dwayne Dibbley
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

Re: [done] UK 1m DTM WMS

Posted: Thu Apr 22, 2021 8:00 am
by hamish
I don't know, but Psyberia-Support kindly supplied this file
environment.data.gov.uk.aqx
(36.44 KiB) Downloaded 1217 times
earlier this year after I was having trouble :D

Re: [done] UK 1m DTM WMS

Posted: Thu Apr 22, 2021 9:34 am
by Dwayne Dibbley
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

Re: [done] UK 1m DTM WMS

Posted: Fri Apr 23, 2021 9:21 am
by Psyberia-Support
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>

Re: [done] UK 1m DTM WMS

Posted: Sun Apr 25, 2021 6:36 pm
by Dwayne Dibbley
Thanks works a treat as usual