logo separator

[mkgmap-dev] [PATCH v2] - allow RNP type to be set on a road-per-road basis

From Mark Burton markb at ordern.com on Sat Jun 6 22:30:27 BST 2009

v2 - split out the non-related changes (they have now been committed so
this patch is based on r1064).

--------------

OK Felix, here's something to play with. This patch allows you to
specify the garmin type of a road's RNP using a mkgmap:rnptype tag. You
can then set that tag in a style file when you match some other tag
values.

Like this (silly) example that makes the RNP generated for a footway to
be a zoo:

highway=footway {add mkgmap:rnptype=0x2c07; add access = no; add foot =
yes} [0x16 road_class=0 road_speed=0 resolution 23]

Alternatively, you could add that tag directly into the OSM XML or
even pre-process the OSM XML to add the tag conditionally.

The patch also contains a couple of other un-related changes that will
be committed separately if they are OK.

Cheers,

Mark

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mb-rnptype-v2.patch
Type: text/x-patch
Size: 2528 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090606/2da32067/attachment.bin 


More information about the mkgmap-dev mailing list