Thanks! I added this turn restriction for testing: http://www.openstreetmap.org/browse/relation/453702
Will report back when map is compiled. On Thu, Mar 18, 2010 at 3:10 PM, Marko Mäkelä <marko.mak...@iki.fi> wrote: > 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 > -- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------ _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev