how to get better error logs during map compile?

Recently, I'm having problems with completing a a compile for a gmapsupp. Everything is working fine for the same data when compiling for mapsource (with index switch for the mdx creation) My args list for gmapsupp are: code-page=1252 latin1 country-abbr=PHL country-name=PHILIPPINES remove-short-arcs=5 route add-pois-to-areas family-id=639 family-name=OSM_PHIL overview-mapname=40000001 series-name=OSM_PHIL description=OSM Philippines style-file=/home/maning/Downloads/osm/routable_garmin/git/osmphgps/styles/default generate-sea=polygons,extend-sea-sectors,close-gaps=1000 make-poi-index adjust-turn-headings drive-on-right report-dead-ends ignore-maxspeeds link-pois-to-ways location-autofill=0 road-name-pois gmapsupp All I get in my logs are: time java -Xmx1512m -jar mkgmap.jar --read-config=args2.list philippines.osm.pbf MINIMAL.TYP 176.15user 8.42system 5:39.83elapsed 54%CPU (0avgtext+0avgdata 3727360maxresident)k 1391824inputs+70520outputs (21049major+479340minor)pagefaults 0swaps But the created gmapsupp is only 54272 KB while the mapsource imgs are about 18949099 KBs 54272 Apr 5 20:36 gmapsupp.img Is there way to get a log report that shows that the compile process is completed and possible reasons for the uncompleted compile? -- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------

On Tue, Apr 05, 2011 at 09:19:13PM +0800, maning sambale wrote:
All I get in my logs are: time java -Xmx1512m -jar mkgmap.jar --read-config=args2.list philippines.osm.pbf MINIMAL.TYP [...] Is there way to get a log report that shows that the compile process is completed and possible reasons for the uncompleted compile?
java -Xmx1512m -ea -Dlog.config=logging.properties -jar mkgmap.jar ... In logging.properties you can say how much detail you want. You can find a sample file here: http://www.polkupyoraily.net/osm/files/logging.properties It will generate the output to a file mkgmap.log.0. Marko

Thanks. I already have it in my compile process. The existing logs give me errors for many data problems coastline gaps, oneways, etc.. Which part of logging.properties should provide info on uncompleted compile? On Wed, Apr 6, 2011 at 2:55 PM, Marko Mäkelä <marko.makela@iki.fi> wrote:
On Tue, Apr 05, 2011 at 09:19:13PM +0800, maning sambale wrote:
All I get in my logs are: time java -Xmx1512m -jar mkgmap.jar --read-config=args2.list philippines.osm.pbf MINIMAL.TYP [...] Is there way to get a log report that shows that the compile process is completed and possible reasons for the uncompleted compile?
java -Xmx1512m -ea -Dlog.config=logging.properties -jar mkgmap.jar ...
In logging.properties you can say how much detail you want. You can find a sample file here: http://www.polkupyoraily.net/osm/files/logging.properties
It will generate the output to a file mkgmap.log.0.
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 Wed, Apr 06, 2011 at 07:44:42PM +0800, maning sambale wrote:
Thanks. I already have it in my compile process. The existing logs give me errors for many data problems coastline gaps, oneways, etc.. Which part of logging.properties should provide info on uncompleted compile?
I was thinking that you could compare the log of an uncompleted run to a run that completes, e.g., using older data or different parameters. The data is not necessarily processed in the same order, but you could try --max-jobs=1 to try to achieve that. Marko
participants (2)
-
maning sambale
-
Marko Mäkelä