Commit: r2785: When a tag is added, it can trigger an exists rules.

Version 2785 was committed by steve on Wed, 23 Oct 2013 When a tag is added, it can trigger an exists rules. Eg: highway=residential { add test=yes } test=* [0x1] highway=residential [0x2] Should result in 0x1 and not 0x2.

Steve, r2785 does not seem to work with mkgmap:line2poitype in the poi style. For example when I want to add tollroad=yes lines file: highway=* & toll=yes & bicycle!=no & service!=parking_aisle & toll:bicycle!=no {set tollroad=yes} points file: highway=* & tollroad=yes & mkgmap:line2poitype=mid {delete 'name'; delete 'ref';} [0x2811 resolution 24] Maybe the mkgmap:line2poitype code doesn't look for adding or setting values in the styles?
Version 2785 was committed by steve on Wed, 23 Oct 2013
When a tag is added, it can trigger an exists rules.
Eg: highway=residential { add test=yes }
test=* [0x1] highway=residential [0x2]
Should result in 0x1 and not 0x2.

Hi minko, if I remember correct --add-pois-to-* copies only the original data to the new created objects. Henning Am 2013-10-24 15:09, schrieb Minko:
Steve, r2785 does not seem to work with mkgmap:line2poitype in the poi style. For example when I want to add tollroad=yes
lines file:
highway=* & toll=yes & bicycle!=no & service!=parking_aisle & toll:bicycle!=no {set tollroad=yes}
points file:
highway=* & tollroad=yes & mkgmap:line2poitype=mid {delete 'name'; delete 'ref';} [0x2811 resolution 24]
Maybe the mkgmap:line2poitype code doesn't look for adding or setting values in the styles?
Version 2785 was committed by steve on Wed, 23 Oct 2013 When a tag is added, it can trigger an exists rules. Eg: highway=residential { add test=yes } test=* [0x1] highway=residential [0x2] Should result in 0x1 and not 0x2.
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev [1]
Links: ------ [1] http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Minko, points are processed before lines. I think it cannot work. Did it ever? Gerd Minko-2 wrote
Steve, r2785 does not seem to work with mkgmap:line2poitype in the poi style. For example when I want to add tollroad=yes
lines file:
highway=* & toll=yes & bicycle!=no & service!=parking_aisle & toll:bicycle!=no {set tollroad=yes}
points file:
highway=* & tollroad=yes & mkgmap:line2poitype=mid {delete 'name'; delete 'ref';} [0x2811 resolution 24]
Maybe the mkgmap:line2poitype code doesn't look for adding or setting values in the styles?
Version 2785 was committed by steve on Wed, 23 Oct 2013
When a tag is added, it can trigger an exists rules.
Eg: highway=residential { add test=yes }
test=* [0x1] highway=residential [0x2]
Should result in 0x1 and not 0x2.
mkgmap-dev mailing list
mkgmap-dev@.org
-- View this message in context: http://gis.19327.n5.nabble.com/Commit-r2785-When-a-tag-is-added-it-can-trigg... Sent from the Mkgmap Development mailing list archive at Nabble.com.

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Minko, just a hint: Move these general rules to seperate files and include them in each style-file of point, lines, etc. Henning -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (MingW32) iQEcBAEBAgAGBQJSaY5KAAoJEPFgsWC7jOeTYrMH+wW5z09QA7ltRqfwuuAFtqso 0BtX70Pm4VC9iucdXdI3JpDjBjAD7Th7u15itV7Tjsr7LYlstq4U8BuToLJXdTFq QzZPz5R0NpxNZkJ91kNdKBWXK1ZxdF7z+3Gtnsja6018YyfeIgFfmQ8vCmYwK+YO UbFu9YyRTFoSFjT7Mp5fb7/ghFqYEOCxukaVF/4HbisxNlDdhvXWkIY36AdfvQHF ctXimqYzW5cbNCUT0ZDwpEMRB+Q+UIvyExuPs6oyHZi7GcnauIdpCO9d1EpIHqVu kCol6SjgXDy3gdeGvA4KJImbtVULCJ/x1PZm00SNEwftCSuhrsQUyq+Qhai0tx8= =5K89 -----END PGP SIGNATURE-----
participants (5)
-
GerdP
-
Henning Scholland
-
Minko
-
osm@aighes.de
-
svn commit