navit
navit copied to clipboard
maps in $HOME/.navit and $HOME/navit not found by navit
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.
@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?
@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.
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.