
I have modified the patch by the following things: 1. The relation style is now applied before the POIs are added 2. You must now set the add-pois-to-lines option to enable the POI generation 3. Some basic help text Running the relation style earlier is a bit contrary to the mkgmap design but it seems to work (I don't know if processing of mp files is affected by this?). Anyhow the relation style is a bit different from the other style files as no garmin objects are created. So I think I can live with it. @Steve: What do you think? I think you have created big parts of the style system and so you should be happy with that change. I have also uploaded a compiled version of the patch: http://files.mkgmap.org.uk/detail/40 Have fun! WanMil
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@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev