January 21, 2020 at 17:01 #33367
in mapsforge POI v 1 there is a record in poi_data table for each combination of data/category columns, meaning that, if a POI belong to several categories, there are several records in the table for the same POI.
Because of this, when doing searches in oruxmaps, the same POI is displayed several times, which is annoying.
If my understanding is correct, mapsforge POI v 2 can deal with this without duplicating records. Not only will this solve the issue with oruxmaps, I think it will considerably decrease the POI database size as well.
So my question is: do you have any plan to move to POI v2 in the (near) future?
RegardsJanuary 22, 2020 at 12:00 #33372
No Problem – which poi databse (country) do you want to have for testing?
Maybe i have to change the poi-mapping.
At a first approach I will prozess the given poi-mapping with the new poi-writer.
January 22, 2020 at 12:39 #33377
- This reply was modified 1 year, 7 months ago by ChristianK.
Spain_Portugal_ML.poi would be perfect.
Many thanksJanuary 27, 2020 at 16:29 #33517
You can download the Spain_Portugal.poi from the site:
(Green button – the poi file in the map.zip ist still the old one)January 27, 2020 at 20:56 #33521
Thank you Christian,
I tested the new POI file in oruxmaps and it is working like a charm. I do not have anymore the same alpine hut info displayed three times when I touch it on the map.
FYI, I also checked what happens if the dots you added to category names, to avoid duplicates, are removed, and the answer is: nothing happens. Everything continues to work flawlessly.
So, it may be that you want to add a few lines at the end of your generation script to do it as well. I ran the following SQL command in the database:
UPDATE poi_categories SET name = TRIM(name, '.')
January 28, 2020 at 15:51 #33535
- This reply was modified 1 year, 7 months ago by Juanjo.
Thanks for feedback !
You must be logged in to reply to this topic.