Trouble removing a label

I’m trying to make a custom map of the Kanto region in Japan. I’m using Mkgmap with the Kanto subregion extract from Geofabrik. When the map renders I get the this odd “ah4ht” label on what I think is residential streets or unnamed roads. I’m not sure how to make this particular label disappear. Anyone know?

Thanks!!

Please post a link to the OSM data of one of the roads.

https://www.openstreetmap.org/query?lat=35.56930&lon=139.73939#map=19/35.56931/139.73983

I tried to search for POI names depicted… I may be totally mistaken, but these transliterated names don’t seem Japanese. It’s as if Kanji ideograms were interpreted as Chinese (there is “xie” and “zh” in Chinese transliterations, but not Japanese ones).

Here is a link to the area:

https://www.openstreetmap.org/query?lat=35.56912&lon=139.74047

Nothing on that particular street except: Unclassified Road #126236807

To Rico’s point, there is a lot of incorrect transliteration going on here. I’m not sure if that is something GeoFabrik does or what. I didn’t run anything on the extract file prior to processing it with splitter and mkgmap. That red cross POI in the picture, if it was converted to Romanji correctly, it should be something along the lines of “shirominamifukushiiryoukyoukai ootaashika” which a google search turns up to be a dentist office.

https://www.google.com/maps/place/%E5%A4%A7%E7%94%B0%E6%AD%AF%E7%A7%91/@35.5688311,139.7375925,17z/data=!4m5!3m4!1s0x0:0x5ccca353806104cd!8m2!3d35.568501!4d139.737732

No, Geofabrik just cuts OSM data, they do no processing. (Except shapefiles which are a small selection of OSM data in thematic layers).

Can you post configs for (I presume) mkgmap so somebody could replicate?

Might be a style that adds labels to unnamed roads in combination with a missing/wrong --code-page setting

mkgmap commands:


java -Xmx20G -jar mkgmap.jar --max-jobs --gmapsupp --nsis --output-dir=./kanto --mapname=90019001 --country-name="Japan" --family-id=42 --family-name="Japan Family" --series-name="Japan Series" --area-name="Japan" --country-abbr="JP" --style-file=./default --precomp-sea=./sea-latest.zip --generate-sea --route --drive-on=left --process-destination --process-exits --index --bounds=./bounds-latest.zip --remove-ovm-work-files --name-tag-list=name:en,brand,name:ja_rm,name:ja-Latn,name:ja_kana,int_name,name --transparent --add-pois-to-areas --verbose --input-file=./mapnik.txt -c ./kanto_split/template.args

The style files I edited were the default style in the examples folder of mkgmap, and the edits were mostly commenting out POIs I didn’t want on the map. https://gist.github.com/stevengorrell/b5221b6a74070b323c6345b78445d9d9

Did you try to add --code-page=65001 (or --unicode) ?

Wow! Thanks for that. Adding --code-page=65001 has made a world of difference. :smiley:

To be honest, I have no idea why it helped. I am not able to reproduce the strange labels with your original options, so I guess you looked at cached results. Compare the two screen shots, they are very different, so I assume the map in the first screen shot was created with a different style.