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
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to