navit-gps / navit

The open source (GPL v2) turn-by-turn navigation software for many OS
http://www.navit-project.org
Other
550 stars 173 forks source link

maps in $HOME/.navit and $HOME/navit not found by navit #714

Open hoehnp opened 5 years ago

hoehnp commented 5 years ago

When testing the split navit.xml file on sailfish OS, I noticed that manually downloaded maps are not recognized by navit if present in the standard folders $HOME/.navit and $HOME/navit. This test was performed with a custom navit build with support for split navit.xml files.

lains commented 5 years ago

@hoehnp, I don't know if this is related to the rework/split of xml files. What do you have in your navit.xml file in the enabled <mapset> config tag? The default config is searching inside a subfolder maps/. There is also a sailfish OS xslt that adds mapsets but I don't see any reference to $HOME/.navit or $HOME/navit there either. Do you have a custom navit.xml config? Was it working before PR #559 was merged?

hoehnp commented 5 years ago

@lains I didn't make any changes to the navit.xml file. As the original navit.xml file is anyway in the root area I would expect that it should be generally the default config. So I guess the problem could be the sailfish OS xslt. Thanks for the hint. Will check it when I find a little time.

jkoan commented 5 years ago

If i understood right you assuming that maps files in the mentioned directory's are cached up automatically. But that was never the case. You always needed to configure the maps yourself.

But it would be a good feature to have both, automatic map type detection and second predefined directory's where maps are read. @pgrandin @mvglasow what do you think about this? This could help the user experience.