[mkgmap-dev] boundary relations duplicated by splitter, not merged by mkgmap
From Marko Mäkelä marko.makela at iki.fi on Sun Dec 27 06:20:42 GMT 2009
Hi Steve, > > In my map generated from Geofabrik's finland.osm.bz2, in the national border > > between Finland and Sweden, the name Sverige (name:sv for Sweden) occurs > > three times, apparently once per map tile. In the *.osm.gz files output > > by splitter, only the relation 52822 has name=Sweden, and that relation > > does occur in every *.osm.gz tile file. > > > > In the generated gmapsupp.img, the name occurs in two labels, like this: > > > > SVERIGE/SVERIGE/SVERIGE/NORRA NORRLAND/NORRA NORRLAND/NORRA NORRLAND/NORRBOTTENS LÄN/NORRBOTTENS LÄN/NORRBOTTENS LÄN/SUOMI > > SVERIGE/SVERIGE/NORRA NORRLAND/NORRA NORRLAND/NORRBOTTENS LÄN/NORRBOTTENS LÄN/SUOMI > > I'm not sure I understand what you are describing here. > > The subject implies that the problem is with splitter, but I'm not so > sure from the rest of the description. The bug is either in splitter or mkgmap. With finland.osm.bz2 from Dec 26 (the first one was Dec 23), the labels in gmapsupp.img are a little different: SVERIGE/SUOMI SVERIGE/SUOMI SVERIGE/NORRA NORRLAND/NORRBOTTENS LÄN/SUOMI SVERIGE/SUOMI SVERIGE/NORRA NORRLAND/NORRA NORRLAND/NORRA NORRLAND/NORRBOTTENS LÄN/NORRBOTTENS LÄN/NORRBOTTENS LÄN/SUOMI SVERIGE/NORRA NORRLAND/NORRA NORRLAND/NORRBOTTENS LÄN/NORRBOTTENS LÄN/SUOMI There were no labels containing /SVERIGE. In the individual .img files, I can see the following labels: 63240001.img: SVERIGE/SUOMI 63240002.img: SVERIGE/SUOMI 63240003.img: SVERIGE/NORRA NORRLAND/NORRBOTTENS LÄN/SUOMI SVERIGE/SUOMI SVERIGE/NORRA NORRLAND/NORRA NORRLAND/NORRA NORRLAND/NORRBOTTENS LÄN/NORRBOTTENS LÄN/NORRBOTTENS LÄN/SUOMI SVERIGE/NORRA NORRLAND/NORRA NORRLAND/NORRBOTTENS LÄN/NORRBOTTENS LÄN/SUOMI The duplicate names only occur in 63240003.img, the only tile containing a land border between Finland and Sweden: 63240003: 3020800,890880 to 3266560,1472512 # : 64.819336,19.116211 to 70.092773,31.596680 > It looks like the relation with the name Sverige is repeated three > times in one .osm file, or alternatively the relation contains the > same way three times. That could be a splitter bug or even a bug in > the original data. Right, it could be in the original too. I was suspecting the tools, because there are quite a few ????/???? in the Finnish/Russian border too. On a closer look, the ????s seem to be of different length (city/province/country in Cyrillic, I suppose). In 63240003.osm.gz, <relation id='52822'> does not contain duplicate members. Can you check the files? My scripts are at http://www.polkupyoraily.net/osm/. Best regards, Marko
- Previous message: [mkgmap-dev] boundary relations duplicated by splitter, not merged by mkgmap
- Next message: [mkgmap-dev] Buggy data (was: boundary relations duplicated by splitter, not merged by mkgmap)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list