Why not ask your question on the new OpenStreetMap Community Forum?

I would like to render a map of Ukraine and Moldova that uses [name:ru] instead of the local name where ever name:ru is available and, only when it is not available, use the local name instead. Besides that it should look exactly like the default rendering on openstreetmap.org.

Assuming I have properly installed mapnik and PostgreSQL/PostGIS on my Linux environment and downloaded the map data, how would I proceed?

Can I just import the map data using osm2pgsql or is this not going to work in my case?

asked 01 Oct '14, 16:35

Maturi0n's gravatar image

accept rate: 0%

I'd load it with osm2pgsql, but use a lua tag transformation to move whatever's in "name:ru" to "name", if there is a "name:ru".

I've done that, not for names, but for certain other map features. Some brief notes are here.

permanent link

answered 01 Oct '14, 17:27

SomeoneElse's gravatar image

SomeoneElse ♦
accept rate: 16%

Starting hints should be found in the OSM wiki about Map_internationalization

permanent link

answered 01 Oct '14, 16:56

stephan75's gravatar image

accept rate: 6%

permanent link

answered 18 Feb '15, 13:43

freeExec's gravatar image

accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 01 Oct '14, 16:35

question was seen: 6,118 times

last updated: 18 Feb '15, 13:43

powered by OSQA