I'm still trying to find a way to use OS 1:50000 and 1:25000 tiles in your app, You have the options to use the OS Road, Outdoor and Light categories, but not their Leisure category. Would it be possible to add that to your app? I suspect the problem may be that it uses the EPSG:27700 British National Grid coord system whereas the others use EPSG:3857 which is global Mercator
I've been experimenting with my own URL server that will give the OS 1:50000 and 1:25000 tiles based on zyx values, but I suspect there'll be an accuracy problem.
not that. I suspect it's an incompatibility between the url and my key as although I can use a hard-coded version of that link and my key on my browser, it doesn't work in that form on the Geocaching Map Enhancements add-on either.
I'll search to see if I can find any specific working examples
Since my last post on this topic, I've been successfully using an alternative geocaching app using a Bing quad key, but now that Microsoft are focussed on Azure which doesn't support OS maps, I'm wary about how-long that key will work. I've obtained an OS map API key with which I can access their Leisure_27700 maps, but can't get their tile address to work as an alternative map. All I get is a white map, so I guess it's returning an error message. The address I'm using is https://api.os.uk/maps/raster/v1/zxy/Leisure_27700/[z}/{y}/{x}.jpg?key= followed by my personal key. If I hard-code {z}/{y}/{x} an OS Leisure map tile is displayed, but obviously it's not the correct one for my coords.
Is there any change I can make to get these to work?
Thanks. I imagined that it was just a question of generating the appropriate tile's URL and displaying the result but now realise that it's also necessary to be able to move around that tile and fit the required section to the screen size (along with other functionality).
I'll wait hopefully. Is there any enquiry/pressure I can apply to the OS group as a user?
I have had to reinstall all my phone apps and I'd like to use Geeoh GO as a replacement for GCdroid which is no longer available on PlayStore. I don't think GME is available for Android devices and Locus Maps Geocaching option is too cumbersome.
I'm struggling without a Geocaching app that has a Bing OS tiles layer. Is there definitely no way you can allow a quadkey parameter {q} in a tile server URL in the similar way that we can use {x}, {y} and {z}? As we discussed, the generation of {q} from (x}, {y} and {z} is a relatively simple calculation.
Obviously, I do not know how your code works - maybe you just link to some API that handles all the URL parameters and map tile display?
I can't follow that. My understanding is that it is the productSet=mmOS option that sets the map display I use elsewhere. I don't see that form when I select your OS map option.
The mm may relate to the MemoryMap application.
I'm now slightly worried about the Bing tiles article stating that apps must use Bing Maps Imagery REST service first to get the latest tile URL as I have 3 apps for which I have defined the same URL that I specified earlier so it seems they could stop working!
Anyway, it would be far better for me if you can embed the required links in your code rather than me having to type in the URL I want to use. There maybe an issue in that I can use my key an unlimited number of times for personal use, whereas a key you obtain is likely to have usage restrictions
If you can produce a quadkey parameter option, then it would be the best of both worlds.
ps Locusmaps was one of the apps I used with that URL format.
I have read that Bing doesn't support x,y,z tile format. Conversion is possible using a java routine like function tileXYToQuadKey(xTile, yTile, z) { var quadKey = ""; for (var i = z; i > 0; i--) { var digit = "0", mask = 1 << (i - 1); if ((xTile & mask) != 0) { digit++; }
if ((yTile & mask) != 0) { digit = digit + 2; } quadKey += digit; } // for i return quadKey;
return quadKey;
Not sure if I can incorporate this into my own server in any way, but it would be interesting to try.
You mention Google. I assume this doesn't provide access to the OS maps I'm after?
I forget where the syntax came from originally, but one source is from GME (Geocaching Map Enhacements) https://geo.inge.org.uk/gme_maps.htm#os which specifies {"alt":"Ordnance Survey","tileUrl":"https://t{s}.ssl.ak.tiles.virtualearth.net/tiles/r{q}.png?g=3440&productSet=mmOS&key=PRIVATE_KEY", "subdomains": "0123", "minZoom":10, "maxZoom": 17, "attribution":"Ordnance Survey imagery from <a href='https://www.bing.com/maps/'>Bing Maps</a>", "name":"osbing"}
The {q} represents Bing's quadkey value which combines {z}/{y}/{x}. I dont know what the s means, but it may be a server as my GCDROID phone app uses http://ecn.t(l-0,1,2,3}.tiles.vitualearth.net
There must be a virtualearth URL format documented somewhere that allows {z}/{y}/{x} instead. I'll keep looking
I'd like to use the more detailed 1:50000 annd 1:25000 Ordnance Survey Maps. I have a personal key, but can't get the URL recognised. I suspect this may be because Bing uses a quadkey rather than {z}/{y}/{x). I presume Geooh uses this to display OS maps, so what should it look like?
The URL format that works in similar apps is https://t{s}.ssl.ak.tiles.virtualearth.net/tiles/r{q}.png?g=3440&productSet=mmOS&key=PERSONALKEY