logo separator

[mkgmap-dev] [PATCH] proof of concept code to generate fake POIS for named ways

From Mark Burton markb at ordern.com on Fri Jan 30 22:47:25 GMT 2009

Folks,

The attached patch adds a --road-name-pois option that will generate a named
node for each named way. It currently places the node near the middle
of the way.

The fake node has a tag place=road_name_POI and will need an entry in the
points file like this:

place=road_name_POI [0x640a resolution 21]

I think the code 0x64a is a good choice because it is shows up as a
"geographic point" (well, it does on the etrex).

The patch is really just for experimentation and comment but it could grow
into something useful. In particular, the manner I have implemented it may
not be optimal/approved. It's just what came to mind first.

As I don't actually need this functionality myself, perhaps it would be
better for a developer that wants this (and has suitable hardware for
testing) to take it over.

BTW - It currently makes no attempt to merge multiple ways with the same name.

Cheers,

Mark

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: road-name-pois-trial-patch.diff
Url: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090130/e7a2db3d/attachment.pl 


More information about the mkgmap-dev mailing list