path in template.args-file

Hi, I just realized that the paths in the template.args file is interpreted by mkgmap as relative to template.args file. Is this behaviour intended or shouldn't it be relative to the path, from which mkgmap is called from, as every other path in mkgmap? The template.args-file is pretty old, so maybe changing the behaviour isn't that good. But maybe mkgmap could first look for the file relative to template.args file and if there is nothing found then in the file, where mkgmap is called from? Henning

Hi Henning, splitter writes the template.args to the same directory as the osm files, so I think mkgmap should also search the files in the same directory. Do you have a reason to separate the files before calling mkgmap? Gerd Date: Wed, 14 May 2014 22:58:04 +0200 From: osm@aighes.de To: mkgmap-dev@lists.mkgmap.org.uk Subject: [mkgmap-dev] path in template.args-file Hi, I just realized that the paths in the template.args file is interpreted by mkgmap as relative to template.args file. Is this behaviour intended or shouldn't it be relative to the path, from which mkgmap is called from, as every other path in mkgmap? The template.args-file is pretty old, so maybe changing the behaviour isn't that good. But maybe mkgmap could first look for the file relative to template.args file and if there is nothing found then in the file, where mkgmap is called from? Henning _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Gerd, I keep the areas.list and the args-files seperate because they are valid much longer then the o5m-files. But I can solve this in my script. It's no problem. I was just wondering about it and thought, maybe it's a bug. Henning Am 2014-05-15 07:11, schrieb Gerd Petermann:
Hi Henning,
splitter writes the template.args to the same directory as the osm files, so I think mkgmap should also search the files in the same directory.
Do you have a reason to separate the files before calling mkgmap?
Gerd
------------------------- Date: Wed, 14 May 2014 22:58:04 +0200 From: osm@aighes.de To: mkgmap-dev@lists.mkgmap.org.uk Subject: [mkgmap-dev] path in template.args-file
Hi, I just realized that the paths in the template.args file is interpreted by mkgmap as relative to template.args file. Is this behaviour intended or shouldn't it be relative to the path, from which mkgmap is called from, as every other path in mkgmap?
The template.args-file is pretty old, so maybe changing the behaviour isn't that good. But maybe mkgmap could first look for the file relative to template.args file and if there is nothing found then in the file, where mkgmap is called from?
Henning
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev [1]
Links: ------ [1] http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (3)
-
Gerd Petermann
-
Henning Scholland
-
osm@aighes.de