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?


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

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:

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.,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=./ --generate-sea --route --drive-on=left --process-destination --process-exits --index --bounds=./ --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.

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.