logo separator

[mkgmap-dev] How to search for osmid()=941762308

From Gerd Petermann gpetermann_muenchen at hotmail.com on Wed May 12 10:20:28 BST 2021

Hi Eric,

untagged ways are normal when they appear as role=inner in multipolygons. I see no need to produce a message.

An untagged way is filtered long before the style is processed, so your trick can't work.
I expect that the multipolygon processing creates another way for the untagged role=inner way, so it might be processed, but not with id 941762308

In JOSM you can search for id:941762308

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von ankeric.osm at gmail.com <ankeric.osm at gmail.com>
Gesendet: Mittwoch, 12. Mai 2021 11:00
An: 'Development list for mkgmap'
Betreff: [mkgmap-dev] How to search for osmid()=941762308

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 at lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list