logo separator

[mkgmap-dev] turn restriction relations supported?

From Marko Mäkelä marko.makela at iki.fi on Thu Mar 18 07:10:44 GMT 2010

Hi Maning,

> Is this supported in mkgmap?
> http://wiki.openstreetmap.org/wiki/Relation:restriction
> 
> What should be added in the relations style file?

Just like multipolygons, it is handled by mkgmap directly, outside the styles.
It is supposed to just work, out of the box.  But note that the 'via' has to be
a node where the 'from' and 'to' ways are starting or ending.  (You have to split
the ways at the crossing.)  mkgmap does parse 'via' ways but will complain
that they will be ignored.

To see the RestrictionRelation warnings of mkgmap, you will have to enable
some logging:

java -Dlog.config=logging.properties -ea -jar mkgmap.jar ...

You can get a logging.properties file from http://www.polkupyoraily.net/osm/.

Best regards,

	Marko



More information about the mkgmap-dev mailing list