typ file not included with generating gmapsupp

My typ file is not incluced when I created a gpamsupp file from a previous mkgmap run time java -Xmx1512m -jar mkgmap.jar --read-config=args.list philippines.osm time java -Xmx1512m -jar mkgmap.jar --gmapsupp some_dir/*.img some_dir/MINIMAL.TYP -- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------

I'm using mkgmap ver 1564 On Tue, Feb 16, 2010 at 12:11 PM, maning sambale <emmanuel.sambale@gmail.com> wrote:
My typ file is not incluced when I created a gpamsupp file from a previous mkgmap run
time java -Xmx1512m -jar mkgmap.jar --read-config=args.list philippines.osm
time java -Xmx1512m -jar mkgmap.jar --gmapsupp some_dir/*.img some_dir/MINIMAL.TYP
-- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------
-- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------

Hi Maning,
My typ file is not incluced when I created a gpamsupp file from a previous mkgmap run [cut] time java -Xmx1512m -jar mkgmap.jar --gmapsupp some_dir/*.img some_dir/MINIMAL.TYP
I read somewhere that the TYP file must be in the current directory. Have you tried that? Marko

Yep, just did it a few moments ago and the typ file is now included. On Tue, Feb 16, 2010 at 4:50 PM, Marko Mäkelä <marko.makela@iki.fi> wrote:
Hi Maning,
My typ file is not incluced when I created a gpamsupp file from a previous mkgmap run [cut] time java -Xmx1512m -jar mkgmap.jar --gmapsupp some_dir/*.img some_dir/MINIMAL.TYP
I read somewhere that the TYP file must be in the current directory. Have you tried that?
Marko _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------

On 16/02/10 08:52, maning sambale wrote:
Yep, just did it a few moments ago and the typ file is now included.
I read somewhere that the TYP file must be in the current directory. Have you tried that?
This is strange since it certainly does not need to be in the same directory. What operating system are you using? ..Steve

ubuntu karmic On Tue, Feb 16, 2010 at 6:22 PM, Steve Ratcliffe <steve@parabola.me.uk> wrote:
On 16/02/10 08:52, maning sambale wrote:
Yep, just did it a few moments ago and the typ file is now included.
I read somewhere that the TYP file must be in the current directory. Have you tried that?
This is strange since it certainly does not need to be in the same directory.
What operating system are you using?
..Steve
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------

Is the TYP file really getting included but it is ignored because the family ID does not match the value used in the .img files?

My initial script runs in two stages: time java -Xmx1512m -jar mkgmap.jar --read-config=args.list philippines.osm time java -Xmx1512m -jar mkgmap.jar --gmapsupp some_dir/*.img some_dir/MINIMAL.TYP The args.list is here: code-page=1252 ea tdbfile latin1 country-abbr=PHI country-name=PHILIPPINES remove-short-arcs=5 route road-name-pois add-pois-to-areas family-id=639 family-name=OSM_PHIL overview-mapname=40000001 series-name=OSM_PHIL description=OSM_PHIL style-file=~/osm-ph generate-sea=polygons index adjust-turn-headings I revised it to run a new mkgmap compile by adding the gmapsupp switch instead of combining the previous output. code-page=1252 ea tdbfile latin1 country-abbr=PHI country-name=PHILIPPINES remove-short-arcs=5 route road-name-pois add-pois-to-areas family-id=639 family-name=OSM_PHIL overview-mapname=40000001 series-name=OSM_PHIL description=OSM_PHIL style-file=~/osm-ph generate-sea=polygons index adjust-turn-headings gmapsupp java -Xmx1512m -jar mkgmap.jar --read-config=args2.list philippines.osm MINIMAL.TYP This time the typ is in the same directory. On Tue, Feb 16, 2010 at 7:04 PM, Mark Burton <markb@ordern.com> wrote:
Is the TYP file really getting included but it is ignored because the family ID does not match the value used in the .img files? _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------

maning sambale (emmanuel.sambale@gmail.com) wrote:
My initial script runs in two stages:
time java -Xmx1512m -jar mkgmap.jar --read-config=args.list philippines.osm time java -Xmx1512m -jar mkgmap.jar --gmapsupp some_dir/*.img some_dir/MINIMAL.TYP
The args.list is here: code-page=1252 ea [snip]
Maning, -ea (or -enableassertion) is a java switch, not a mkgmap switch, so I don't think it will have any effect if you embed it in your options file. -- Charlie

On 16/02/10 15:11, Martin Simon wrote:
I don't know if this helps, but I have to specify the *full* path of my typ files to get them included. they are in another directory.
It might well help, as it is a possible clue to what is happening. If mkgmap is run in a script and it changes directory that might happen for example. However, I don't have to specify the full path and you shouldn't have to, but perhaps there is a bug that kicks in sometimes. I can't reproduce it, so I can do no more without more info. Regards, ..Steve

Steve Ratcliffe (sr@parabola.me.uk) wrote:
On 16/02/10 15:11, Martin Simon wrote:
I don't know if this helps, but I have to specify the *full* path of my typ files to get them included. they are in another directory.
It might well help, as it is a possible clue to what is happening. If mkgmap is run in a script and it changes directory that might happen for example.
However, I don't have to specify the full path and you shouldn't have to, but perhaps there is a bug that kicks in sometimes. I can't reproduce it, so I can do no more without more info.
Regards,
..Steve
FWIW, I run mkgmap in a script and use relative file-paths and it works fine: rem start batch set mkgmapVer=-r1508 set stylefile=charlie set optionsFile=UK_options.args set typfile="../mkgmap/TYP files/Charlie/CF1400.TYP" java -Xmx1500m -ea -jar ../mkgmap/mkgmap%mkgmapVer%/mkgmap.jar --style-file=../mkgmap/styles/%stylefile% -c %optionsFile% %typfile% rem this script lives in the same directory as optionsFile and all the split OSM tiles rem end batch -- Charlie

Marko Mäkelä (marko.makela@iki.fi) wrote:
Hi Maning,
My typ file is not incluced when I created a gpamsupp file from a previous mkgmap run [cut] time java -Xmx1512m -jar mkgmap.jar --gmapsupp some_dir/*.img some_dir/MINIMAL.TYP
I read somewhere that the TYP file must be in the current directory. Have you tried that?
I don't think that is true. I keep my TYP files in a completely different directory both to the mkgmap.jar and to my OSM files. -- Charlie
participants (7)
-
charlie@cferrero.net
-
maning sambale
-
Mark Burton
-
Marko Mäkelä
-
Martin Simon
-
Steve Ratcliffe
-
Steve Ratcliffe