This object is in archive! 

GEMF format maps don't work in the new version (3.38).

Alan Budden shared this problem 5 years ago
Solved

Locus Pro has just updated to 3.38. When I loaded Locus, it jumped to Prague as the map centre (rather than near where I live) and the map style had switched to a default one. When I move back to my home address and switch back to the GEMF map I usually use, it just says "Map of this area is not available".


I still have Locus Free 3.37.2 installed on my phone alongside Locus Pro 3.38. Locus Free 0.37.2 loads the map fine, so it appears to be a bug introduced in the new version.


Please please please bring back this functionality!

Replies (11)

photo
1

Good day Alan,

I have few GEMF based maps on my device and all seems to work correctly. Is it possible for you to share any problematic map with me? Thank you and sorry for these complications.

Menion

photo
1

Hello Menion,

The main map I use is huge (>10 GB), but I've made a small one (about 12 MB) and shared it here:

https://drive.google.com/file/d/1e2UGJ6lbcamDjdpD5Gwf0WkA-UAwLyou/view?usp=sharing

It has some map data in the Cotswolds and Brecons areas of the UK (but only at a few zoom levels). If you navigate to Cirencester in the UK and switch to this map in Locus Free 3.37.2, it'll pop up the message about "Selected map out of current view. Center?" as referenced in this other issue, but you can change the zoom level until you see a map. In Locus Pro 3.38, it'll just say "Map of this area is not available", regardless of zoom level.

Regards,

Alan

photo
1

Good day Alan,

thanks for the map. Indeed there seems to be a problem with GEMF maps. I'm comparing code with 3.37.2 and to be true, I do not understand how it may work before :).

Anyway, I made a fix and it seems to work. Are you willing to try test version with your huge map before publishing to Google Play, just to be sure? I may prepare a version for test.

Menion

photo
1

Hi Menion,


Absolutely no problem at all: happy to test it.


Alan

photo
1

Good day Alan,

fine thanks. I've just published new Beta version 3.38.0.1 so give it a try if you will have a free moment, thank you.

Menion

photo
1

Hi Menion


I've just installed the map and it seems to work when zoomed out, but goes back to showing "Map of this area is not available" when I zoom in.


Al

photo
1

I've been playing a bit more. It looks like the functionality that handled missing zoom levels has gone. My offline map has zoom levels 6, 7, 8, 9, 10, 12, 13 & 15. At zoom level 11, it shows "not available", whereas it used to use either 10 or 12 (I can't remember which) scaled. At zoom 14 it shows not available as well.


Weirdly, zoom 15 doesn't work either though.

photo
1

Hello,

hmm, maybe one small try ... shut down Locus and just delete Locus/cache/maps/init (maybe you will see "init2") directory. Then try it again if this makes any difference. Seems, I'll have to check it more carefully.

Menion

photo
1

Hi Menion

That didn't seem to make any difference. init2 was there, but first time I just deleted init, not init2. That didn't wrk so I deleted the entire cache directory, but that didn't work either

photo
1

Sorry if you got an email saying "that did". I hit submit by accident - I've edited it now to say "that didn't work either"

photo
1

Hello,

I'm testing maybe 10 GMF maps I have and all works correctly. Map from you, 12 MB big, most probably works correctly as well, there is just a problem, that this map has small coverage in every zoom level that in not in the same area. Which map are you trying? If the small one you send me, then I'm sure it works correctly.

Menion

photo
1

Hello,


I'm mostly testing with the large one that I usually use. The small one (12 MB) probably isn't a very good representation, so I'll try to make a better small area equivalent of the large one. However, there are still problems with the small one.


Load the 12 MB map in the test version and zoom out so you can see the UK. Use the Search...Move To function to move the map to N 51°57.074' , W 003°33.600'.


Now, zoom in with the plus button. As you zoom in, it'll go through two zoom levels where the whole screen is filled with "map of this area is not available". The old Locus wouldn't have done this I think.


I say "I think" because I can't test the 12 MB map on the old version as both Locus Free and Locus Pro have been upgraded on my phone. However, my normal map has no tiles at all at zoom 14 or 16 and in old Locus you could zoom as much as you like and never see that message appear.


I'll try to make a map that's closer to the standard one I use (with 12, 13 & 15 zoom levels) and share it later today.


Alan

photo
1

Hi Menion,

I've made a new map. This one's quite a bit bigger, but it shows the problem quite well I think.

The link is here: https://drive.google.com/file/d/1VIouf18chNc1dt8iypraTifGu5ozPlwR/view?usp=sharing

Try zooming in all the way at these three locations: you'll see the error at different zoom levels, but I would expect to not see the error at all...

N51°40.794', W2°21.034'

N51°44.691', W2°13.298'

N51°38.347', W2°9.715'

Thanks again for trying to fix this issue,

Alan

photo
1

Hello Alan,

thanks for the map for the test.

---

So, the first location from your list. I see first "error" on zoom level 14. Check my screenshot below.

Number in tiles are my help to identify the problem. I've analyzed your GMF file and for zoom level 22 visible on screenshot, this is valid range:

 xmax = 8091
 xmin = 8089
 ymax = 5431
 ymin = 5430
Middle visible tile has index x = 8085, y = 5435. So you may see it is out of range.

/d667752bf72c2398174b929a2356f755


If I scroll a little to top-right, I get small area from this zoom level

/105f0f6901723f90bc6b3a36c4f31e67

---

Not sure if I need to check the other two coordinates, but I think that result will be pretty the same.

If previously you saw anything, it was most probably rescaled tile from previously visible tiles! This does not yet work exactly as before but should be a little better in the next version. Anyway, it is a little confusing feature. Generally, best is to have the same coverage for all available zoom levels in the single map file.

Menion

photo
1

I also have this problem since the update to 3.38. I'm now unable to view a GEMF map that I've been using for many years. Any idea when this will be fixed, or alternatively how can I roll back to 3.37?

photo
1

Hi Mark,

-- REPLY ABOVE THIS LINE --On 6th June, Menion wrote ...


Good day Bill,

thank you very much for the patience and help with this issue. Your huge map really helped. I was also downloading it maybe 2 hours to my device :).

Anyway, issue found and fixed. Tomorrow I'll be publishing new Beta version if you wanna try it. And in next 14 days we will publish the final version.

photo
1

I've just tested the beta version that appeared on the Play Store today and it's working with my big map now. Many thanks Menion for sorting out this issue.

photo
1

The latest beta also works for me - many thanks.

photo
1

Hi Mark Irons.

You can side load the 3.37 Free version while they work on a fix for this. As others have done, I have submitted a failing GEMF file to Locus.


Bill

photo
1

Older versions are here


https://drive.google.com/drive/folders/1U8U1D-NGQ9CAnqXAkleEXi46wH2T7tMR


You have to uninstall before you can load an older version, but they tell me the Pro license persists.


Bill

photo
1

Thanks Bill :)

photo
1

Good day guys,

I've just published a new Beta version where, I hope, all problems with GEMF maps should be solved. If you will have a while for the test, it will be welcome.

photo
1

The beta version hasn't fixed the GEMF maps issue for me.

photo
1

Good evening guys,

perfect, so all of you confirmed working support for GEMF maps in the latest version. I'm really glad to read it. Please keep current Beta version if you need these maps for your daily usage. New Locus Map Pro version is planned during the next 14 days. Thank you and have a nice evening.

Menion

photo
1

The beta sticks at 50% initializing for me.

Bill

On Sun, 9 Jun 2019, 22:26 Locus Map, <locus.map@asamm.com> wrote:

photo
1

Give it a while ... with 12GB big map from you, on my device it took also maybe 30 seconds till Locus Map loaded your map. I made an improvement that this will be needed only for the first time, then it should be "fast" as usually.

Replies have been locked on this page!