NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the 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

Maturi0n
446610
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 ♦
36.9k71370866
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

stephan75
12.6k556210
accept rate: 6%

permanent link

answered 18 Feb '15, 13:43

freeExec's gravatar image

freeExec
1163
accept rate: 0%

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:

×219
×54
×23
×4

question asked: 01 Oct '14, 16:35

question was seen: 6,573 times

last updated: 18 Feb '15, 13:43

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