Locus Map - forum

Content & Tools => Add-ons & Co-apps => Topic started by: Wandersleut on March 05, 2023, 13:30:47

Title: OSM data for older Locus version
Post by: Wandersleut on March 05, 2023, 13:30:47
Hi,
I still have two BlackBerry (BB) Leap for navigation purposes. On them I am using Locus Ver 2.17. An update to a newer version is not possible, because:
- I have to download apk and start it on the BB (for newer only installable via playstore)
- in the background an older Android Version is running (5 ??). Newer Locus versions needs a newer Android version.
Because of several reasons, I want to stay with them and NOT to change the HW.
Meanwhile I have the following problem: The map version is increased at OSM data base and the newer one is not usable for the old Locus Version 2.17. Hence the maps from OSM could not be used any more.

Therefore the question: is it possible / is there any tool to downgrade the map version? Or is there any trick to import the newer maps into 2.17?

Any hint would be great!
Title: Re: OSM data for older Locus version
Post by: Menion on March 06, 2023, 08:27:13
Hi,
even the latest Locus Map still works on Android 5.0+. APK files of the latest app are available on our Google Drive here (http://bit.ly/lmVersions).
Title: Re: OSM data for older Locus version
Post by: Wandersleut on March 06, 2023, 17:33:41
Many thanks for the link. I tried to install both: with and without "Afa".
But the result is everytime the same: "Parsing error":

       20230306_172503.jpg

Hence these versions could not be installed. Do you have an other idea?

I am using now the version 2.17.1, which is working absolutely fine. :)
... I have "only" the problem with the maps.

Hence both way ahead are fine: to install a newer version or to get maps, which are working with the availalbe one.
Title: Re: OSM data for older Locus version
Post by: Wandersleut on March 06, 2023, 17:57:57
Hi,
I tried older versions.

Result: up to (and incl.) version 3.37.2 could be installed on the BB. I tried the free version only.
The next version (3.50.1) are not accepted any more (not 3.50.1, 3.57.1, 3.60.2 nor 3.64.1).

This might help to find a way ahead (hope so to find one  ??? ).
Title: Re: OSM data for older Locus version
Post by: Menion on March 07, 2023, 22:10:05
Hello,
four years back ... sorry, I really do not remember what I've checked these days  :)

Anyway I'm surprised that the new version does not work because Android 5 is still supported.

---

So, back to the initial question. You are using older LoMaps, vector maps based on the MapsForge format? If I'm looking correctly, version 2.17 is from 08/2016. It is amazing that you still use it!! 7 years back, hmm it was probably format in version 2. This is not used already for many years and I think that generator for such old maps won't work anymore.

What about downloading tiled maps directly over the app or for example over an app called Mobac? With this, you may download raster maps in native Locus Map format so new maps may be used this way.

Title: Re: OSM data for older Locus version
Post by: Wandersleut on March 08, 2023, 17:44:46
Hello Menion,

reason, why I am still using it: BB is not supported by playstore and therefore all updates has to be installed manually. The SW was still running, so why to make an update? :o
I will install version 3.37.2, wich is much newer as my present version.

I have no idea, why BB doesn't accept newer versions. In the www I found only that the parsing error is provided in case this apk doesn't fit with the android version. Details I don't know.
I was downloading OSM files xxx.map. But now with a version change of the map-file structure it is no working any more (still downloadable, but not more accepted by Locus).

I downloaded Mobac and installed it. During start of Mobac, I have to choose of the "atlas format". Which one might work?
Title: Re: OSM data for older Locus version
Post by: Wandersleut on March 08, 2023, 18:34:03
After trying I found out, that the maps from mapsforge.org are working.
Which format do I have to choose in Mobac? I tried several, but without any success :(
Title: Re: OSM data for older Locus version
Post by: Menion on March 09, 2023, 07:40:19
Hello,
in the Mobac should be a so-called "RMaps SQLite" format, so this is the best you may use.

And MapsForge maps, right this is a base app format, perfect.
Title: Re: OSM data for older Locus version
Post by: Wandersleut on March 12, 2023, 18:04:56
Hello Menion,
I tried
- "RMaps SQlite"
- both Glopus formats (PNG&KAL and GMF)
- OziExplorer (should be same as MapsForge)
- OSMTracker
None of them are accepted by Glopus v 3.37.2.

Do you know how to get out of Mobac  (v2.3.1) the same format as could be downloaded from MapsForge? It is shown by Glopos as "VEC V2". In the meta data the "Projection" is "Mercator" (whatever this means).
Then I should be happy :)

Why not to use the MapsForge-Files? Quite simple: they are quite big. It would be great to use the relevant part only. Then the BB is much, much fast.

Update: "QMaps SQlite" is not accepted by Glopus as a map, but could be "imported". It seems to be a grafic file with a quite bad resolution - also when I add the zoom levels up to 15 in Mobac. In the highest zoom label the icons could NOT really be identified (what is what). Hence the goal is still to get a .map file similar to this from mapsforge.
Title: Re: OSM data for older Locus version
Post by: balloni55 on March 12, 2023, 19:02:10
Hello
i´ve created a small map with old Mobac 1.9.10  Rmapsqlite and it is well displayed with LMC 3.66.0

https://www.dropbox.com/s/hn0fj5ebsznhb89/Custom%20Solitude.zip?dl=0

so unpack zip an store Custom Solitude.sqlitedb to your Locus  maps folder > restart LMC

Good luck
Wolfgang
Title: Re: OSM data for older Locus version
Post by: Wandersleut on March 12, 2023, 19:15:22
Hello balloni55,

I tried it in the following way:
- generate the "RMpas SQlite"-File with Mobac
- load it to the mobile device (here Blackberry)
- start Locus
- go to "menu", "maps" and try to use it. Result: not accepted.

How it works with my version:
- generate the "RMpas SQlite"-File with Mobac
- load it to the mobile device (here Blackberry)
- start Locus
- go to "menu", "further functions", "import" and try to use it. Result: as mentioned above: yes with low resulution (grafic file only ?!?).

Should I do something differently)
Title: Re: OSM data for older Locus version
Post by: balloni55 on March 12, 2023, 19:21:37
Have you tried my example?
Title: Re: OSM data for older Locus version
Post by: Wandersleut on March 12, 2023, 19:43:05
Hello balloni55,
I just tried your file.
Same: only "importable"
Grafikfile (resolution might be slight better, but "only" a grafik file :( )

Many thanks for this trail.
Title: Re: OSM data for older Locus version
Post by: balloni55 on March 12, 2023, 19:50:55
I am not familiar with the BlackBerry
you have to copy the map to the Locus maps folder, not import it
Title: Re: OSM data for older Locus version
Post by: Wandersleut on March 12, 2023, 19:58:58
This should not depend on the HW. It should depend only on the Locus SW (and the version of it).
Yes, I put the file in the folder "maps" and with an other trail in the folder "mapsVector" with the same result: I is not show in the menu "maps". I can only use it when I am trying to "import" it.
Title: Re: OSM data for older Locus version
Post by: Wandersleut on March 12, 2023, 20:07:58
It is looking in the following way:

IMG_20230312_210523.png
Title: Re: OSM data for older Locus version
Post by: Menion on March 13, 2023, 07:36:57
Hi,
what you see is correct for raster map.

Anyway to sum it: 4 years old app version for sure supported
- raster maps created in the mentioned RMaps SQLite format
- vector maps created in MapsForge V3 format (not sure if V4 was supported)

Because I do not own any BB device, I cannot do any tests to check why the new version can't be installed, sorry. We were writing about raster maps, because with Mobac, you may simply create a raster map with fresh data. There most probably won't be MapsForge V3 maps created from new data and Mobac most probably isn't able to create vector map tiles. Howgh..
Title: Re: OSM data for older Locus version
Post by: michaelbechtold on March 13, 2023, 09:31:55
PS: I just scrolled through the MOBAC OUTPUT formats: while I do not know all of them, they all smell like raster maps (with different image format outputs and wrappings). But of course Mapsforge INPUT can be processed by MOBAC since many years.
Title: Re: OSM data for older Locus version
Post by: Wandersleut on March 13, 2023, 19:57:24
Hi,
I tried all formats, which do not have the output format in the title (a work for a data slave :( ).
No one provided a vector map, which could be imported by Locus. Hence I have to work with the MapsForge Files => Locus is working very, very slow.

Maybe somebody can help me with an other issue with the Locus version 3.37.2:
I try to install the Elevate Themes. I loaded the files as defined in several chats:
- decompress the zip-file to mapsvector/_themes
- put all files&directories there
- start Locus
- try tp change the themes with the botton on left side. BUT: no additional themes are listed there!?! Only the "Allgemein" or general.

I tried to install "Elevate2", on top to Elevate2 the "ElevateLE", only the "ElevateLE" and "Elevate4332". None of them are shown in Locus. Which is the correct one for Locus 3.37.2?
Title: Re: OSM data for older Locus version
Post by: Menion on March 14, 2023, 09:50:28
And which mapsForge-based vector map do you have currently selected, exactly? And what map themes do you see?
Title: Re: OSM data for older Locus version
Post by: Wandersleut on March 14, 2023, 18:09:17
Hi,
I am using the map-files from:
http://ftp-stud.hs-esslingen.de/pub/Mirrors/download.mapsforge.org/maps/v5/
map-Files (http://ftp-stud.hs-esslingen.de/pub/Mirrors/download.mapsforge.org/maps/v5/)

They are shown correctly with my locus version. But because the files are a little bit bigger and my BB-processor is old, the speed to show and slide them is quite (or more accurate: very, very) slow.
Important: but they are v5 !!

All of the themes are not shown at all, see:

        IMG_20230314_190317.png
Title: Re: OSM data for older Locus version
Post by: Menion on March 17, 2023, 08:06:51
Because app internal themes support only V3 maps. In this case, you need themes for V5 maps.
Anyway seems that this older app version already supports new map format, fine. In this case, did you try the OpenAndroMaps directly? Because these maps should work correctly together with their Elevate themes.
Title: Re: OSM data for older Locus version
Post by: Wandersleut on March 17, 2023, 18:52:15
I tried the mapForge and OpenAndroMaps. Both are working fine. The OAM are much bigger (1653MB instead 246MB), which makes the BB not faster.
I tried both maps with Elevate themes v5, v4332, vLE and V2. No combination is working.
=> closed. Seems not to be possible in this combination.

I tried to import the POIs from OAM. It is not possible to import them via
- "menu", "import"
- "menu", "points", set-up a group of points, "...", "import"
Do you know whether it is possible to import .poi files in 3.37.2? It seems it isn't.
Title: Re: OSM data for older Locus version
Post by: Menion on March 20, 2023, 09:17:07
No version of Locus Map supports ".poi" files. As far as I know, OpenAndroMaps provide also ".osm.db" files that should be most probably supported on your device. These files brings support for offline LoPoints and offline address search.
Title: Re: OSM data for older Locus version
Post by: michaelbechtold on March 20, 2023, 13:11:52
Quote from: Menion on March 20, 2023, 09:17:07No version of Locus Map supports ".poi" files. As far as I know, OpenAndroMaps provide also ".osm.db" files that should be most probably supported on your device. These files brings support for offline LoPoints and offline address search.
Yes to statement #1, but there is no address data in the OAM osm.db files, only the OSM POIs
Title: Re: OSM data for older Locus version
Post by: Wandersleut on March 20, 2023, 17:22:42
Hmmmm, also the .osm.db files are not accepted by 3.37.2: the locus to don't show the file as an importable file at all (grey instead of black).

Also an issue of the old version?  :-\
Title: Re: OSM data for older Locus version
Post by: Menion on March 23, 2023, 14:34:24
@Wandersleut I'm sorry, but I do not exactly remember what supported the 4-year-old Locus app version and because even a new app still natively supports Android 5.0+, I do not want to spend time by playing and testing of this old version and checking which map and database files works and which not.

I understand that your device (for an unknown reason) refuses to install the new version, but I can hardly help with it, sorry, and thanks for understanding.