NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi, I want to make a website for tourists in Taiwan, with information for the places I have visited, using OSM. I really want to have both the Chinese characters, and the romanized versions. Each chinese character has a direct roman pinyin translation, so it should be possible to do automatically, but I am a total beginner and have no idea how to download and edit maps.

Note I want the map for my website, so I would not need to modify the real version, just a downloaded version for my site. Any help would be much appreciated:)

asked 06 Mar '14, 09:09

dantastic's gravatar image

dantastic
16111
accept rate: 0%


If you're creating a "slippy map" for a website, you'd probably do something similar to the process described on the switch2osm site here. That uses osm2pgsql, which supports tag transformations using external lua scripts.

If you can find an automatic way of translating names from one language to another that you can call from a script, you can probably use that. Maybe you could set the "name" value in the database used by your map to something like "Chinese Name (Romanized name)" and just display "name" on your map?

I've used a similar approach to render England/Wales access "designations" in preference to highway or tracktype (while using the standard OSM carto style) and it was fairly easy to do.

permanent link

answered 06 Mar '14, 10:29

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

edited 18 Mar '14, 13:39

You can find some hints and examples in the OSM wiki about Map_internationalization

permanent link

answered 10 Mar '14, 17:00

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×54
×43
×12
×4

question asked: 06 Mar '14, 09:09

question was seen: 4,685 times

last updated: 18 Mar '14, 13:39

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum