Hi Karl,

>is it possible to ask the line style to programmatically ...
No, so far this is not possible. In fact, the points rules are executed before 
the lines/polygon rules.
It might be possible to reduce the number of generated points though. E.g. we 
might add an option to generate POI only for specific tags.
No idea if that would reduce memory or runtime significantly.
Note that we already have an option to generate only POI for each way with 
--add-pois-to-lines=mid

Gerd

________________________________________
Von: mkgmap-dev <[email protected]> im Auftrag von 7770 
<[email protected]>
Gesendet: Samstag, 14. August 2021 10:40
An: [email protected]
Betreff: Re: [mkgmap-dev] Bridge type code

Hi.

A made a few checks using line for bridge=yes seems to be the only allowed
because a bridge span over something. At least looks so from here:
https://wiki.openstreetmap.org/wiki/Key:bridge
Hece i am using 0x10107 on a line as suggested, it works well.
Thanks all for those hints earlier!



If i would anyway like to use a point instead of the line,
is it possible to ask the line style to programmatically add a point in very
specific cases, instead of first using --add-pois-to-lines and then filter all
extra points using the points style?


Regards
Karl

On fredag 13 augusti 2021 kl. 22:57:07 CEST Andrzej Popowski wrote:
> Hi Karl,
>
> there is no common definition for objects types on Garmin map, see
> https://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/POI_Types
>
> Mapsource and some devices treat POI 0x6401 as a bridge, so I think it
> is a good choice. But I prefer to use a line for a bridge.




_______________________________________________
mkgmap-dev mailing list
[email protected]
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[email protected]
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to