logo separator

[mkgmap-dev] Coast branch generates bogus-looking multipolygon errors

From Marko Mäkelä marko.makela at iki.fi on Sun Dec 26 20:54:28 GMT 2010

Hi WanMil,

I compiled today's finland.osm.pbf with mkgmap r1755 and then reverted 
to r1751, the revision just before you merged back the coast branch.  
r1751 does not generate these errors:

2010/12/26 22:11:54 WARNING (MultiPolygonRelation): 63240002.osm.gz: 
Multipolygon 
http://www.openstreetmap.org/browse/relation/4611686018427393507 
contains errors.
2010/12/26 22:13:21 WARNING (MultiPolygonRelation): 63240001.osm.gz: 
Multipolygon 
http://www.openstreetmap.org/browse/relation/4611686018427403587 
contains errors.
2010/12/26 22:15:02 WARNING (MultiPolygonRelation): 63240005.osm.gz: 
Multipolygon 
http://www.openstreetmap.org/browse/relation/4611686018427471668 
contains errors.
2010/12/26 22:15:15 WARNING (MultiPolygonRelation): 63240004.osm.gz: 
Multipolygon 
http://www.openstreetmap.org/browse/relation/4611686018427463146 
contains errors.
2010/12/26 22:15:39 WARNING (MultiPolygonRelation): 63240006.osm.gz: 
Multipolygon 
http://www.openstreetmap.org/browse/relation/4611686018427479870 
contains errors.

(Both revisions did complain about two dead-end oneways, which I fixed 
in the database.)

The mkgmap.log.0 is 322973 bytes with r1751 and 3855601 bytes with 
r1755, which are comparable to the numbers that I posted for r1728, 
r1753 and the map data from 3 days ago (December 23). In other words, 
the change in the mkgmap.log.0 size seems to be due to the merge of the 
coast branch.

You should be able to reproduce this as follows (simplified from my 
osm2img.sh). You will need the files areas.list, mkgmap.args,
logging.properties, logging.ignore from http://www.polkupyoraily.net/osm/.

wget http://download.geofabrik.de/osm/europe/finland.osm.pbf
java -jar splitter.jar --split-file=areas.list finland.osm.pbf
java -Xmx1024m -ea -Dlog.config=logging.properties -jar mkgmap.jar \
-c mkgmap.args
grep -vf logging.ignore mkgmap.log.0

Repeat the last two commands after recompiling mkgmap.jar.

Best regards,

	Marko



More information about the mkgmap-dev mailing list