Forum search & shortcuts

OS maps - MOBAC not...
 

[Closed] OS maps - MOBAC not working anymore?

Posts: 0
Free Member
 

@jairaj if you are still trying to find the fix through Orux then you need to find the onlinemapsources.xml file in oruxmaps/mapfiles folder.

Open this with notepad or similar

paste the relevant text as an addition to the section that has the header <Ordnance SM (UK)>.

This only works if you have the old version of Orux.

This is not 100% as it only pulls through 1:50,000 and there are still some duff tiles.

I would still be grateful if someone would pass on NRE's fix.


 
Posted : 21/04/2015 11:31 am
Posts: 0
Free Member
 

NRE's fix is an OS download of all of the UK on a USB or similar.


 
Posted : 21/04/2015 11:37 am
 nre
Posts: 472
Free Member
 

Sorry to have gone quiet on here - there is no 'secret fix', I was just wanting to avoid being bombarded with requests for the files 🙂

As nemesis says, I have both the MOBAC tiles cached and Orux atlases for the whole UK at 1:25000.

In the past I have helped a couple of STW users get copies of these files (by posting SD cards / USB sticks back and forth).

I think the plan of pfrumpy (who I recently helped out) was that he would help out the next in the 'queue', and the chain continues such that everyone helps out someone else.


 
Posted : 21/04/2015 12:25 pm
Posts: 0
Free Member
 

I will try out my fix this afternoon and report back.


 
Posted : 21/04/2015 12:27 pm
Posts: 2279
Full Member
 

Ah OK, I have the newer version which removed that bit from the header from the list so was a bit lost. I tried to create a new header but I don't really know what I'm doing so it didn't do anything.

I think I'll just use NRE's workaround version

thanks for the help though.


 
Posted : 21/04/2015 12:56 pm
Posts: 0
Free Member
 

Can I get next in the queue for some help then?


 
Posted : 21/04/2015 1:26 pm
Posts: 2279
Full Member
 

Fasterferret You don't have an email visible in your profile. Send me a mail and I'll reply back with some details.


 
Posted : 21/04/2015 2:03 pm
Posts: 0
Free Member
 

Profile updated. Thanks.


 
Posted : 21/04/2015 2:38 pm
Posts: 0
Free Member
 

Seems that most people want the Orux files and I'm the first for the Mobac files, so I'll post on here when I have the files for the next person to grab them off me.


 
Posted : 21/04/2015 3:22 pm
Posts: 0
Free Member
 

Right, I've got MOBAC 1.9 working with OS Mapping again.

To do so I had to :-

1. Create a Bing Map key [url= https://www.bingmapsportal.com/Application ]here[/url]
2. Create an xml file in the mapsources folder under the MOBOC install location. Filename doesn't matter but must have ".xml" suffix, say "os.xml".
3. Copy/paste the following into the os.xml file


<?xml version="1.0" encoding="UTF-8"?>
<customMapSource>
<name>OS Maps with Key</name>
<minZoom>0</minZoom>
<maxZoom>18</maxZoom>
<tileType>png</tileType>
<tileUpdate>None</tileUpdate>
<url> ?g=3440&productSet=mmOS&key=INSERT_YOUR_BING_KEY_HERE</url>
<backgroundColor>#000000</backgroundColor>
</customMapSource>

4. Change the two ampersand characters in the url above to actually be & amp ; without the spaces inbetween The forum won't let me post the exact text.
5. Change the text INSERT_YOUR_BING_KEY_HERE above to be the Bing Map key you generated in step 1.
6. Save the os.xml file and start MOBAC.
7. Select "OS Maps with Key" in the MOBAC mapsource dropdown on the left.
8. Enjoy OS mapping again.

Note: This only works with MOBAC 1.9, not 1.8.


 
Posted : 21/04/2015 3:25 pm
Posts: 0
Free Member
 

4. Change the two ampersand characters in the url above to actually be & amp ; without the spaces inbetween The forum won't let me post the exact text.

Cheers allthepies. Genius if it works. Just struggling with step 4. I presume you mean the two &'s (ampersands) after ...3440 and ...mmOS in the URL but not sure what we change them to. Do you mean change them to '&', and then 'amp' and then ';' with no spaces.


 
Posted : 21/04/2015 3:51 pm
Posts: 0
Free Member
 

Change the single character & to a & followed by the word amp followed by ; (semicolon) no spaces. So yes, what you said 🙂

Bear in mind that the Bing key is registered to you and so be careful with how far and wide you share it. I would imagine that single users / single key is OK but if your key gets shared everywhere then not so good.


 
Posted : 21/04/2015 4:00 pm
Posts: 0
Free Member
 

allthepies.... you God like bloody genius, it works !!!

Cheers


 
Posted : 21/04/2015 5:12 pm
Posts: 0
Free Member
 

😛


 
Posted : 21/04/2015 5:17 pm
Posts: 0
Free Member
Topic starter
 

Oh yes. Thanks allthepies 🙂


 
Posted : 22/04/2015 12:00 pm
Posts: 0
Free Member
 

Excellent! Working for me. Thanks allthepies.


 
Posted : 22/04/2015 6:23 pm
Posts: 0
Full Member
 

Thanks allthepies!


 
Posted : 23/04/2015 12:26 am
Posts: 0
Free Member
 

Hi, and thanks allthepies that worked perfectly !

However, I would like to know if there's any way to get smaller scales of these OS maps (e.g 1:250k and OS District) ?
I found some sites displaying them, like http://www.walkhighlands.co.uk, but I couldn't figure out what to do with the URLs retreiving the tiles : http://212.71.238.40:443/geoserver/gwc/service/wms?KEY=&URL=http%3A%2F%2F212.71.238.40&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fpng&LAYERS=osgb%3A250k&SRS=EPSG%3A27700&BBOX=210000,945000,215000,950000&WIDTH=200&HEIGHT=200


 
Posted : 03/05/2015 10:54 pm
Posts: 3016
Full Member
 

Cheers for info will have a play later


 
Posted : 04/05/2015 9:30 am
 kcr
Posts: 2949
Free Member
 

Just wanted to add my thanks for the very useful information above. Great to have MOBAC working again.
Re the question about smaller scale maps, I get 1:25000 tiles using the instructions above if I keep zooming in.


 
Posted : 14/05/2015 11:56 pm
Posts: 0
Free Member
 

Thanks allthepies that fix is awesome!

In terms of the Bing API key I chose the basic version which said you can do something like 120,000 transactions for free. Is that something you have to worry about? Does that mean the limit is 120,000 tiles or something on each key?

Cheers


 
Posted : 15/05/2015 7:50 pm
Posts: 0
Free Member
 

<?xml version="1.0" encoding="UTF-8"?>
<customMapSource>
<name>OS Maps with Key</name>
<minZoom>0</minZoom>
<maxZoom>18</maxZoom>
<tileType>png</tileType>
<tileUpdate>None</tileUpdate>
<url> ?g=3440&productSet=mmOS&key=INSERT_YOUR_BING_KEY_HERE</url>
<backgroundColor>#000000</backgroundColor>
</customMapSource>

Hi,

I created bing key and xml file. but when i go to mobac and i am selecting OS maps with key i don't see any maps-i have only red crosses. i can add that google maps provider locked me. what can i do in this case?


 
Posted : 19/07/2015 1:00 pm
Posts: 0
Free Member
 

Yes, I followed these instructions and have the same outcome ie red crosses but no OS map. Did I do something wrong, or have they closed a loop-hole?


 
Posted : 17/09/2015 8:10 am
Posts: 8859
Free Member
 

If you're on android and you can't get it working, I'd recommend Backcountry Navigator. It's only £8.99 for full 1:25k OS. There's a free trial app to download and see if you like it.


 
Posted : 17/09/2015 11:20 am
Posts: 0
Free Member
 

1) Is the Bing hack still working for anyone?

2) The Bing OS maps are not as up-to-date as those on Streetmap.co.uk. There's recently been a new bridleway dedicated near to where I live and it's showing on Streetmap but not Bing.


 
Posted : 26/02/2016 9:11 am
Posts: 0
Free Member
 

Just found this thread. I've got Oruxmaps working with Streetmap tiles, therefore solving both of those issues. Very impressed with the performance - tracking appears to be accurate to within a few m once I've calibrated the maps properly (unfortunately the standard Oruxmaps desktop isn't that accurate at converting OS refs to WGS84, so I'm doing that myself).

Currently working on a Windows Forms app to generate the Oruxmaps tiles and the calibration automatically from a larger map image, which I'll happily make available to download when it reaches a half decent state - at the moment it requires quite a bit of manual intervention.


 
Posted : 23/03/2016 12:18 am
Posts: 0
Free Member
 

I will investigate if this is still working. I haven't fired up MOBAC since I posted the "hack".


 
Posted : 23/03/2016 9:05 am
Posts: 2007
Full Member
 

Mine's been working happily ever since... 🙂


 
Posted : 23/03/2016 2:08 pm
Posts: 0
Free Member
 

Excellent!


 
Posted : 23/03/2016 3:17 pm
Posts: 0
Free Member
 

Dear all - & especially allthepies

Apologies for the fact that I've only joined the forum because I found this thread; I used to use Mobac 1.8, but now find missing tiles, so I got myself a Bing key & tried the 'os.xml' workaround on 1.9.4 - but can't find 'OS maps with key' in the drop-down options. Assuming I've done something wrong (though I thought I'd followed the instructions, including the & bit), can you suggest what?
Thanks
Pete


 
Posted : 25/05/2016 2:08 pm
Posts: 0
Free Member
 

OK . . . discovered what I had done wrong - put the .xml file in the Mobac root, not /mapsources. Doh.

Now, 'OS maps with key' is listed in the sources - but all I get are thumping great red crosses.

Any recommendations?


 
Posted : 31/05/2016 3:20 pm
Posts: 0
Free Member
 

Have you replaced the & character with & amp ; (no spaces in between) in the bing webpage URL in the .xml file ?

In this bit

<url> ?g=3440&productSet=mmOS&key=INSERT_YOUR_BING_KEY_HERE</url>

The above should all be on one line too, no line break.


 
Posted : 31/05/2016 4:07 pm
Posts: 0
Free Member
 

As confirmation, the MOBAC 1.9 OS maps fix I posted in this thread still works.

I see there is a MOBAC 2.0 beta available, I haven't downloaded/tested this so currently only recommend v1.9.


 
Posted : 01/06/2016 7:11 pm
Posts: 0
Free Member
 

Update: the same mapsources xml config file works just fine with the MOBAC 2.0 beta.


 
Posted : 01/06/2016 7:38 pm
Posts: 0
Free Member
 

Thanks everyone for your help. I've just downloaded MOBAC 2 beta, copied over the os.xml file I created before . . . and it works fine.

Go figure, as they say. Perhaps the file works best with a vanilla install; MOBAC does alter its .xml files as it goes along, I think - but whatever the explanation, it seems to be working perfectly, so thanks especially to allthepies - you deserve them! (the pies, that is)


 
Posted : 01/06/2016 10:29 pm
Posts: 0
Free Member
 

Yay!


 
Posted : 02/06/2016 8:07 am
Posts: 0
Free Member
 

My MOBAC (1.9.16) is now working on Window 10 (with the key) BUT the AQM files I load into AtlasQuest (2.0.1b) can't be read - I get the grey camera bar sign.

What am doing wrong ....an ideas ?


 
Posted : 22/06/2016 6:54 am
Posts: 0
Free Member
 

aracer - can you comment more about how you're calibrating the maps? That's the part i'm stuck on.. i wrote a python script to download streetmap.co.uk tiles for 25k and 50k (explorer/landranger), which resulted in about 15gb and 3.8gb of individual 200x200 tile .gifs respectively.. then i used PIL to merge the tiles into tiffs and i downloaded ordnance survey's free streeview for each national grid sector, and used the .tab files for those with .tif (that were generated by merging the smaller tiles) so they had geospatial information attached to them. I then used gdalwarp to reproject to EPSG:3857 (going from the projection defined in the .tab file, which i presume is the same for OS's streetview and streetmap's tiles since they're both based on the national grid eastings/northings). But my maps are still slightly off by a few pixels (which for explorer map translates up to a few dozen meters off).

Any advice how to properly reproject the streetmap tiles more accurately ? The tiles from bing seem to be projected properly already but someone mentioned they are not as up to date.. :-/


 
Posted : 01/11/2016 7:13 pm
Posts: 388
Full Member
 

I have followed the instructions for the xml file and get the 'OS maps with key' drop down. But I don't get the mapping, just grey camera images.

Is this method still working?


 
Posted : 02/11/2016 3:11 pm
Posts: 0
Free Member
 

this is the xml i came up with, maybe give this one a try: (replacing your 64-character bing API key in the PUT_YOUR_KEY_HERE part):

<!--?xml version="1.0" encoding="UTF-8"?-->
<customMapSource>
<name>UK Only - Ordnance Survey - Explorer & Landranger Maps @ BingMaps</name>
<minZoom>12</minZoom>
<maxZoom>17</maxZoom>
<tileUpdate>None</tileUpdate>
<url><![CDATA[ https://{$serverpart}.ssl.ak.dynamic.tiles.virtualearth.net/comp/ch/{$q}?mkt=en-GB&it=G,OS,BX,L,LA&n=z&shading=hill&og=136&key=PUT_YOUR_KEY_HERE&c4w=1 ]]></url>
<serverParts>t0 t1 t2 t3</serverParts>
<backgroundColor>#000000</backgroundColor>
</customMapSource>


 
Posted : 03/11/2016 10:53 am
Posts: 0
Free Member
 

one thing you might also want to do, because i restrict the zoom levels between 12 and 17 (12, 13, 14 is the landranger series, and 15, 16, 17 is the explorer series), and because by default mobac starts with a map of the world (with germany in the center) but limits the zoom level to the minimum for the zoom level of the map source you're picking, you may want to pan-around with another map source (that lets you have a wider view) and draw your bounding box first before switching to this one. otherwise you'll end up getting bing maps of germany that you can't zoom out of (and i don't see an obvious way to pan around, let's just say mobac doesn't seem to have a very well designed interface)

or you could just change my xml's minzoom to lower number too 🙂 i just prefer to restrict my xml's minzoom to the zoom levels that actually show OS maps (as zoomlevel 11 and lower will show you regular bing maps), since i also wrote a script to create a mobac profile for each of the actual bounding boxes of each of the official explorer/landranger maps, as drawn here: http://anonym.to/?http://www.ordnancesurvey.co.uk/shop/mapsheetfinder.html


 
Posted : 03/11/2016 11:26 am
Page 2 / 2