logo separator

[mkgmap-dev] [PATCH v1] add-pois-to-lines

From WanMil wmgcnfg at web.de on Thu Oct 27 19:51:28 BST 2011

Hi,

I am very undecided if this option is reasonable or not.

But it's easy to implement so I decided to let you test and decide 
yourself if it makes sense or not.

Attached patch does the trick. I haven't added an option yet so it works 
if add-pois-to-areas is set. For each line all points plus the middle 
point are added as POIs (tagged different with mkgmap:line2poitype).

For lines each POI is tagged additionally with the following tags:
mkgmap:line2poi=true
mkgmap:line2poitype=start|end|inner|mid

Have fun!
WanMil

> Hi,
> would an 'add-pois-to-lines' option (similar to the new
> 'add-pois-to-areas') make sense ?
>
> I tried to create an maxspeed layer to show the maxspeeds using
> the highway-shields, but this didn't work well (because garmin
> shows the shields only for some roads).
>
> With the suggested add-pois-to-lines it would be possible to
> show little maxspeed icons (30) (50) etc. on the roads
> or to show incline-icons on roads which have an incline=* tag.
>
> Chris
>
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lines2poi_v1.patch
Type: text/x-patch
Size: 6254 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20111027/57ce5fff/attachment.bin 


More information about the mkgmap-dev mailing list