
Hi Eric you could try: mkgmap:mp_role=inner & osmId()=... but I suspect it won't work. generally inners are just cut out of outers and have no representation. The ways that make them will be there, but, having no tags, are dropped before style processing. Ticker On Wed, 2021-05-12 at 11:00 +0200, ankeric.osm@gmail.com wrote:
When an OSM-Mapper makes a mistake, I sometimes correct this Error (or difference in opinion) by using mkgmap.
highway=* & osmid()=22689239 { set highway=track; set tracktype=grade1; delete service }
Which is OK, accepted by mkgmap syntax.
Yesterday I made a mistake as well: INNER in Multipolygon is untagged and JOSM doesn't warn (no warning: "Untagged ways (1)").
Today I tried to correct my mistake:
osmid()=941762308 { set landuse=forest }
But, mkgmap doesn’t accept my correction:
SEVERE (global): Error in style: Error: (inc/DEBUG_begin:148): Invalid rule, expression cannot be indexed: osmid()=941762308
I was assuming osmid() is a Primary Key. How to search for a Primary Key using mkgmap, If the way is also untagged?
BTW, JOSM can find (search): id=941762308.
Eric (AnkEric)
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev