This object is in archive! 

POIs missing

Ingo Rau shared this problem 8 years ago
Not a Problem

My list of POIs (function "Points of interest (beta)") is empty.

I didn't use this for a while, but I know it has been working before (at least in my holiday in April) and I don't think I changed anything:

I have a folder on the extSdCard called "Maps" where all my maps are in subfolders. The "Maps"-Folder is added in Locus. In Maps, there's a subfolder "POIs" with all my *.osm.db.

Now when I open the POI-window*, it says "No data in list". Before, I could choose any of my regions (.osm.db) from a dropdown and then have the points. I also tried it by copying the osm.db-files into a folder with maps, but no difference.

Did something change?


* The window opened by "Points if interest (beta)" has the title "Points", which is a bit confusing, especially as its got the same icon as the "Points" tab in the Data dialog.

Replies (18)

photo
1

Hi Ingo,

for me it works well, are the file names identical?24b7f99030f2b1746563b41434fc35bb

photo
1

No, I'm using maps from OpenAndroMaps, but the POI-DBs came together with maps I downloaded from Locus. I pondered this might be a problem, but as I said, it worked before, and I wouldn't understand why it might be changed. POIs should be available in any map, not only OSM maps.

PS: Nice to meet another TotalCmd user ;)

photo
1

Poi file names has to match existing vector map as balloni55 wrote.

photo
1

So I can use it only in that map? Why was that changed? I really don't understand...

photo
1

I understand that you only provide the POI DBs when I buy one of your maps, and that's fine. But if I happen to prefer the OpenAndroMaps maps, I don't see why I shouldn't be allowed to use the POIs. After all, I still payed for them just the same. And keeping the Locus maps is not an option due to space available...

photo
1

What means "in that map"??


Databases for points are initialized for every vector maps you have in your device. So if you have german.osm.map file, then Locus check if exists also german.osm.db file. If so, you should see it in list and use it.


If I remember correctly, previously Locus searched for these POIs independently on map file. This has change so now only POI databases for which exists map file (no matter if map from Locus Store or OpenAndroMaps) are available for usage.

photo
1

"In that map": I thought I could now only use the points if the exact map is also displayed, and could not use it for example in a downloaded map. But if I understand you correctly, it's only an initialization problem. So far ok.


Now I can get it to work for my Germany map. But please consider this:

I use OpenAndroMaps map "Alps", because that, well, contains all of the Alps. But POI databases are for countries. Now I can't get my Switzerland and Austria POIs recognized again, because the names don't fit.

photo
1

Perhaps it would be possible to provide a "dummy" .osm.map file containing nothing that forces Locus to include the corresponding .osm.db?

photo
1

Hi Ingo, the thing is, when Locus doesn't see an *.osm.map file with the same root name as *.osm.db file, it won't find and initialize the corresponding POI database. Therefore, the idea with "dummy" osm.map file could work.

photo
1

I tried with an empty (size 0) file, but unsurprisingly that led to an error message in Locus.

Can you provide a .MAP file with correct format, but no content? That would be great...

photo
1

First try to rename some existing small map file

photo
1

Yeah, that works - but of course adds an entry in the map list, cluttering it quickly. So that is a really ugly workaround.

I have to say, I'm a little disappointed here. The working solution was changed, and I don't see any advantage of the new system. Can you enlighten me?

photo
1

There is no visible advantage for end point user. Advantage is for me in Locus source code. Database with points will be soon improved for some extra parameters that will be also usable for map itself. So they both have to be connected. It little bit complicated situation for some alternative solutions like you use, sorry for that. Currently I have no better solution.

photo
1

OK, accept that. It just looked like you're trying to enforce use of Locus maps, which would've been strange, because it's, well, not like you ;)

Still, last question: Is there any way to get an (almost) empty .osm.map file that I can use for that workaround? Perhaps with the south pole as base coordinate, so it doesn't show up in the quick map chooser? That would be great!

photo
1

Enforce use of Locus Maps? Well, no :). I'm just trying to offer some extra services which are not possible directly with vector maps. Like database of points or offline address search. Vector maps from MapsForge can't be extended so we needs to use any extra file - in this case extra SQLite database.


I should disable using of poi database with any extra map except "our" vector maps, but as you noticed - I will never do it, because I do not want to force people use our maps. But if they will want to use some extra features like this poi db or soon coming offline addresses, they will have to use system we require - map file + db file, both covering same area + both with same name.

photo
1

Thx for explanation - I knew you're one of the good ones ;)

Still a little sad that it doesn't work for my setup anymore, but looking forward to the new features.


Case closed...

photo
1

Thx for re-enabling this in 3.16.0.

Now can somebody tell me how to merge several .osm.db files? I assume it's SQLite, but I don't know to to merge them.

Why I need that? For example, I use the OpenAndroMaps Alps.map. I would buy the Locus maps for Austria & Switzerland, but I have to decide which one to rename to Alps.osm.db in order to use the POIs. If I could merge them, I would have my own Alps-POI-DB with all the POIs I need.

Any ideas?

photo
1

Hello, you are welcome.


I'm anyway sorry Ingo, but I'm sure that without some really complicated script, this won't be possible. Also database will be extended and changed during next few months so it is also not a good idea spend time on it now.

photo
1

Fair enough. I just thought perhaps one could simply merge the SQL tables, but I can certainly live a happy life without this ;)

photo
2

I've just discovered, that my POI list is now also empty. I've bought vector maps from austria a while ago and austria.osm.map and austria.osm.db are in my mapsvector directory, but it doesn't show the POIs anymore. Has there anything changed with the new styles? Depending on the style, some POIs are drawn on the map, but I can't select them or search for them.


edit: solved it - I've removed the files and downloaded it again from the store (actually it is a newer version, but not the most recent, which I would have to buy) and now it's working again

Replies have been locked on this page!