On Sat, 7 Nov 2020 13:11:30 +0100 Marco <[email protected]> wrote: > On Sat, 7 Nov 2020 12:46:33 +0100 > Marco <[email protected]> wrote: > > > - If you want to use an additional profiles file for some Routino > > database: Copy the prefix-*.mem files of the considered database to > > prefix_xxx-*.mem where xxx should describe the profile variant. > > > > - Copy the default profiles.xml file to prefix_xxx-profiles.xml in > > the folder where the prefix_xxx-*.mem database files are located. > > > > But where are those prefix-*.mem files located? I cannot find them > > on my system. > > > OK, got it, prefix is not actually “prefix” but <prefix>, it's the > files set up in “Setup Routino database” and the “prefix” is the > --prefix of the planetsplitter command. > > I tried that method, but the edited xml file doesn't seem to be used > either. Changes to the xml have no effect.
Apologies for the monologue here, but to clarify, this is what I've done so far: # in the directory of the routino database: cp foo-nodes.mem foo_bar-nodes.mem cp foo-relations.mem foo_bar-relations.mem cp foo-segments.mem foo_bar-segments.mem cp foo-ways.mem foo_bar-ways.mem cp /usr/share/routino/profiles.xml foo_bar-profiles.xml sed -i '/profile name="motorcycle"/,/<\/preferences>/s/100/0/g' \ foo_bar-profiles.xml Then I've calculated a route using the database “foo bar” with the profile “Motorcycle” and it's still using motorways. It shouldn't as of my understanding. And an strace shows that instead of foo_bar-profiles.xml being loaded, /usr/share/routino/profiles.xml is. So, I'm doing something wrong here. Marco _______________________________________________ Qlandkartegt-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
