
Hi. Thanks and no worries. I dont have any urgent such need, just wanted to try my thought since i was very specifically looking to add bridges under the condition that it was part of a path: highway=path & bridge=yes. Therefor it felt excessive to use --add-pois-to-lines=mid. Again many thanks to all who answered. Regards Karl On lördag 14 augusti 2021 kl. 12:37:25 CEST Gerd Petermann wrote:
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 <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von 7770 <7770@foskan.eu> Gesendet: Samstag, 14. August 2021 10:40 An: mkgmap-dev@lists.mkgmap.org.uk 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 mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev