-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support for https://osdatahub.os.uk/ (has free tier) #29
Comments
@rob-murray Just to clarify, the 3 x '3857' tile layers can be used direct in leaflet with a wms plugin. It's the 'Leisure_27700' layer (with no matching 3857 equivalent) that I curious about. I'm hoping "os-leaflet" can be repurposed to access it, and further hoping its the same mapping as openspace is/was. |
Thanks - I have not kept up to date with OS web mapping API offerings, but will try and have a look at these and see if they can be integrated. Ideally OS APIs should just work with Leaflet much easier |
Well. A miracle has happened. Hopefully. "osdatahub" is now live. it contains an example of: leaflet + OS mapping + OSGB projection (so, unlike Bing, no OS mapping with an web-mercator projection - the only bad point) The example is quite simple - and also uses proj4js, and proj4leaflet :) There's a £1,000 per month worth of map tiles "free" tier - which they say works out to quite a lot. From what I understand, 1:200K ("road atlas scale") and above tiles are zero rated. Andrew |
|
Thanks 👍 |
miracles can happen!
well, maybe
https://osdatahub.os.uk/ now has a free tier
it just doesn't give an example of what the tile sets look like,
and if they include the 1:25 & 1:50 mapping
it supports osgb and web-mercator projections ... but not for all tile sets
Road | EPSG:27700 | Road_27700 | EPSG:27700
Road | EPSG:3857 | Road_3857 | EPSG:3857
Outdoor | EPSG:27700 | Outdoor_27700 | EPSG:27700
Outdoor | EPSG:3857 | Outdoor_3857 | EPSG:3857
Light | EPSG:27700 | Light_27700 | EPSG:27700
Light | EPSG:3857 | Light_3857 | EPSG:3857
Leisure | EPSG:27700 | Leisure_27700 | EPSG:27700
I've checked 'outdoor'. No footpaths.
The 'leisure' tile set is in osgb only, so i cant check it
This might help for use with leaflet
'https://osdatahubapi.os.uk/OSMapsAPI/wmts/v1?key=API_KEY&service=WMTS&request=GetTile&outputformat=image/png'
+ 'style=default&layer=Outdoor_3857&tileMatrixSet=EPSG:3857&tileMatrix={z}&tileRow={y}&tileCol={x}'
please could you see if its worth supporting...
andrew
The text was updated successfully, but these errors were encountered: