Page 1 of 1

remove copyright warning on each tile?

Posted: Wed Jan 06, 2021 12:24 pm
by Dwayne Dibbley
Hi i have tried to setup a custom map as follows:

Code: Select all

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

	<name>Land Registry Inspire Index</name>
	<description>Land Registry Inspire Index Polygons</description>
	
	<source id="HMLR_INSPIRE">
		<name>hmlr inspire</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://inspire.landregistry.gov.uk/inspire/ows?service=WMS&VERSION=1.3.0&crs=EPSG:27700&LAYERS=inspire%3ACP.CadastralParcel&STYLES=&FORMAT=image%2Fpng&REQUEST=GetMap&WIDTH=256&HEIGHT=256&BBOX={$bbox}]]></server>
		</zoom-levels>
	</source>
</aqx>
the layer seems to load fine but each tile has the copyright embeded as show in the following screenshot :

Image

is this possible to remove ?

geoserver is here: http://inspire.landregistry.gov.uk/insp ... pabilities

Thanks

Re: remove copyright warning on each tile?

Posted: Wed Jan 06, 2021 6:35 pm
by Psyberia-Support
Ok...
It seems that the server adds this copyright notice on every requested images...
I haven't found any documentation about this on the land registry website (the link provided is even invalid), I get the similar notice in QGIS (except that QGIS does not tile the map so only make one request per screen).
The only "trick" I can see, is to increase the size of the tiles, so the application will make less requests and you'll have less notices displayed.
The ideal solution would be to contact the LR about this for a real solution.

So concerning the trick, change the server tag to:

Code: Select all

<server><![CDATA[https://inspire.landregistry.gov.uk/inspire/ows?service=WMS&VERSION=1.3.0&crs=EPSG:27700&LAYERS=inspire%3ACP.CadastralParcel&STYLES=&FORMAT=image%2Fpng&REQUEST=GetMap&WIDTH=1024&HEIGHT=1024&BBOX={$bbox}]]></server>
and add this tag after <zoom-levels>:

Code: Select all

<tiles-size>1024</tiles-size>
It will create tiles 8x larger, so you'll have 8x less notices displayed.
Let me know if you have any issue.

If you have enough memory on your device, you can even go larger... 1280, 1536, ...

Re: remove copyright warning on each tile?

Posted: Sun Jan 10, 2021 11:58 am
by Dwayne Dibbley
Thanks that seems to work better.