MarcusWolschon / osmeditor4android

Vespucci is a OpenStreetMap editor for Android

Home Page:http://vespucci.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot add custom WMS endpoint

JoeyJoJoJr opened this issue · comments

Vespucci Version

19.3.4

Download source

Google Play Store

Device (Manufacturer and Model)

Samsung Galaxy S22 Ultra

Android Version

14, stock

Behaviour/Symptoms

Go to Add imagery from WMS... and try to add an endpoint from the UK Environment Agency LIDAR dataset
https://environment.data.gov.uk/dataset/13787b9a-26a4-4775-8523-806d13af58fc

For example, Environment Agency LIDAR Composite Hillshade DTM (1m) OGL:
https://environment.data.gov.uk/spatialdata/lidar-composite-digital-terrain-model-dtm-1m/wms?request=GetCapabilities&service=WMS&version=1.3.0

Expected Behaviour

LIDAR background image tiles should load from one of the three available layers

How to recreate

see above

Crash dump submitted (no or yes + date)

no

Any other potentially relevant information

Error message: "Nothing found!"

This WMS endpoint works in JOSM as of today, offering a choice of three different layers. In Vespucci I can't get it working at all 😞

I suspect that the issue is that while we have supported CRS:84 in directly entered custom imagery URLs for a while we ignore it when querying a WMS endpoint for layers.

A temp. fix is likely to simply create the custom imagery urls manually.

I ll verify this tomorrow.

This will be fixed in the next maintenance release, for now the three URLs that you could add as custom imagery are

https://environment.data.gov.uk/geoservices/datasets/13787b9a-26a4-4775-8523-806d13af58fc/wms?SERVICE=WMS&&FORMAT=image/vnd.jpeg-png8&TRANSPARENT=TRUE&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap&LAYERS=Lidar_Composite_Elevation_DTM_1m&STYLES=&CRS=EPSG:4326&WIDTH={width}&HEIGHT={height}&BBOX={bbox}

https://environment.data.gov.uk/geoservices/datasets/13787b9a-26a4-4775-8523-806d13af58fc/wms?SERVICE=WMS&&FORMAT=image/vnd.jpeg-png8&TRANSPARENT=TRUE&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap&LAYERS=Lidar_Composite_Hillshade_DTM_1m&STYLES=&CRS=EPSG:4326&WIDTH={width}&HEIGHT={height}&BBOX={bbox}

https://environment.data.gov.uk/geoservices/datasets/13787b9a-26a4-4775-8523-806d13af58fc/wms?SERVICE=WMS&&FORMAT=image/vnd.jpeg-png8&TRANSPARENT=TRUE&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap&LAYERS=Lidar_Composite_DTM_1m&STYLES=&CRS=CRS:84&WIDTH={width}&HEIGHT={height}&BBOX={bbox}

Naturally there is this other question: why are the above layers not in ELI to start with? That would seem to be a rather large fail by the UK community at large.