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? |
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. |
|