Skip to main content

Show Posts

This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.

Messages - armchair

1
Support / Re: alternative maps
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.



2
Support / Re: alternative maps
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
3
Support / Re: alternative maps
no. That's just a mistake in my post here.  I've double-checked my parameter.
Is there a error code/message I can check?
4
Support / Re: alternative maps
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?
5
Support / Re: alternative maps
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?
6
Support / Re: alternative maps
My apologies for persuing this, but I do not understand the OS group issue.

I have successfully used Microsoft's Bing OS map tiles by just specifying the virtualearth.net URL in three applications:

Geocaching Map Enhancements:
https://t{s}.ssl.ak.tiles.virtualearth.net/tiles/r{q}.png?g=3440&productSet=mmOS&key=xxxxxxxxxxxxxxx

GCdroid:
http://ecn.t{I=0,1,2,3}.tiles.virtualearth.net/tiles/r{Q}.png?g=3440&productset=mmOS&key=xxxxxxxxxxxxxxx

LocusMaps*:
http://ecn.t3.tiles.virtualearth.net/tiles/r{c}.png?g=41&productset=mmOS&key=xxxxxxxxxxxxxxx

where {Q} is a parameter that the app replaces with the quadkey and xxxxxxxxxxxxxxx is my personal Microsoft API key

*locus maps is slightly more complex in that the url is specified in a providers xml file where {c} is the map coordinates, and the need to calculate a quadkey is specified by specifying a map type of 5
see https://docs.locusmap.eu/doku.php?id=manual:advanced:customization:online_maps

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.
7
Support / Re: alternative maps
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?
8
Support / Re: alternative maps
Did you get anywhere with implementing the Bing / Locus format of OS maps?

As I said before if you made the use of quadkey available, then I could use my personal licence
9
Support / Re: alternative maps
Many thanks. I look forward to trying it out.

Meanwhile, I have all the existing options to explore as I only recently obtained your app and haven't yet used it in the field
10
Support / Re: alternative maps
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.
11
Support / Re: alternative maps
Thanks for investigating this
The Bing OS server sounds like the right place, but the map should look like this.

What URL are you using?  It might need an approved key appended
12
Support / Re: alternative maps
should have been l=0,1,2,3

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?
13
Support / Re: alternative maps
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
14
Support / Re: alternative maps
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