onthegomap/planetiler

[BUG] name:xx missing in transportation_name

Closed this issue · 2 comments

Unblocks osm-americana/openstreetmap-americana#618
CC @zstadler

Internationalized name:xx names are missing from roads in the transportation_name layer.

The following object show internationalized names in omt-tools:
image

Same location in my planetiler server (link)
image

Good catch, looks like transporation_name layer does include all translations https://github.com/openmaptiles/openmaptiles/blob/c4d86d44a661146c273b97ac294db2381a570b2c/layers/transportation_name/transportation_name.yaml#L107 - can you transfer this to https://github.com/openmaptiles/planetiler-openmaptiles so we can fix over there?

I think the fix would just involve changing OmtLanguageUtils.getNamesWithoutTranslations to OmtLanguageUtils.getNames in TransportationName.java