Re: [mkgmap-dev] mkgmap and .img names

2009-12-11 Thread Simon Eugster
Good evening again,

http://granjow.net/projects.html#garmin
Problem solved. I'm manually renaming now.

Simon

Simon A. Eugster wrote:
 Good evening,
 
 I'm currently writing a Python script for mkgmap which works on .osm.bz2 
 files. It stores the Country Name and Abbreviation for each file, and runs 
 tile-splitter and mkgmap to create a Garmin gmapsupp.img.
 
 Now I've got a problem. I would like to skip files that already have been 
 processed to a .img file so that, if you want to create a gmapsupp.img 
 containing Switzerland and Germany and then one containing Switzerland only 
 you don't need to re-process the whole Switzerland file. For that it would 
   simplify my work very much if mkgmap accepted
 * either multiple files with the same name but different path, like
switzerland/.img
germany/.img
 * or files with non-8-digit file names like
switzerland/switzerland.img
germany/germany.img
 This should not be a hard thing to do, as far as I see, right? If necessary 
 (like if putting multiple .img files into one gmapsupp.img requires the 
 source .img files to have different file names) mkgmap should be able to 
 rename the .img files internally.
 
 Greetings from Switzerland,
 Simon
 ___
 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


Re: [mkgmap-dev] mkgmap and .img names

2009-12-11 Thread Clinton Gladstone
On Dec 11, 2009, at 21:34, Simon Eugster wrote:

 Good evening again,
 
 http://granjow.net/projects.html#garmin
 Problem solved. I'm manually renaming now.

I haven't looked closely at your script, but I assume that routing does not 
work across country borders, if you use separate osm extracts for each country. 
Or have you found a way around this?

Cheers.
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] mkgmap and .img names

2009-12-11 Thread Simon Eugster
No, I haven't found one. I am just splitting all maps, creating images of 
them and then finally putting all together into a gmapsupp.img.
Just a helper for mkgmap/splitter, as it were.

Is it even possible then?

Simon

Clinton Gladstone wrote:
 On Dec 11, 2009, at 21:34, Simon Eugster wrote:
 
 Good evening again,

 http://granjow.net/projects.html#garmin
 Problem solved. I'm manually renaming now.
 
 I haven't looked closely at your script, but I assume that routing does not 
 work across country borders, if you use separate osm extracts for each 
 country. Or have you found a way around this?
 
 Cheers.
 ___
 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


[mkgmap-dev] mkgmap and .img names

2009-12-06 Thread Simon Eugster
Good evening,

I'm currently writing a Python script for mkgmap which works on .osm.bz2 
files. It stores the Country Name and Abbreviation for each file, and runs 
tile-splitter and mkgmap to create a Garmin gmapsupp.img.

Now I've got a problem. I would like to skip files that already have been 
processed to a .img file so that, if you want to create a gmapsupp.img 
containing Switzerland and Germany and then one containing Switzerland only 
you don't need to re-process the whole Switzerland file. For that it would 
  simplify my work very much if mkgmap accepted
* either multiple files with the same name but different path, like
   switzerland/.img
   germany/.img
* or files with non-8-digit file names like
   switzerland/switzerland.img
   germany/germany.img
This should not be a hard thing to do, as far as I see, right? If necessary 
(like if putting multiple .img files into one gmapsupp.img requires the 
source .img files to have different file names) mkgmap should be able to 
rename the .img files internally.

Greetings from Switzerland,
Simon
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


[mkgmap-dev] mkgmap and .img names

2009-12-06 Thread Simon A. Eugster
Good evening,

I'm currently writing a Python script for mkgmap which works on .osm.bz2 
files. It stores the Country Name and Abbreviation for each file, and runs 
tile-splitter and mkgmap to create a Garmin gmapsupp.img.

Now I've got a problem. I would like to skip files that already have been 
processed to a .img file so that, if you want to create a gmapsupp.img 
containing Switzerland and Germany and then one containing Switzerland only 
you don't need to re-process the whole Switzerland file. For that it would 
  simplify my work very much if mkgmap accepted
* either multiple files with the same name but different path, like
   switzerland/.img
   germany/.img
* or files with non-8-digit file names like
   switzerland/switzerland.img
   germany/germany.img
This should not be a hard thing to do, as far as I see, right? If necessary 
(like if putting multiple .img files into one gmapsupp.img requires the 
source .img files to have different file names) mkgmap should be able to 
rename the .img files internally.

Greetings from Switzerland,
Simon
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev