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

It appears from the question that this has been done but I have know I idea where to start

Sorry, I am extremely new to this and dont really know how to do this. all i have done before is add country layer and country points layer and change colors. that is my knowledge at this poing.

I want to build a mbtile file with just country borders and then layers with different languages for the coutnry names. en,es,fr ...

Is there a file I can load somewhere with the different country names or one per language?

asked 03 Sep '13, 12:28

jtaylor-inno's gravatar image

jtaylor-inno
11112
accept rate: 0%

edited 03 Sep '13, 23:00

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

I am not sure, but it may help if you would mention which programs you are using / which programs you want to use. Where did you do this? "add country layer and country points layer and change colors"

(03 Sep '13, 23:00) aseerel4c26 ♦
1

I am using tilemill and one of the layers I normal import for country names is http://mapbox-geodata.s3.amazonaws.com/natural-earth-1.4.0/cultural/10m-admin-0-country-points.zip

these country names are in english. I would like to have a layer for country names in spanish, german, french.

Is there somewhere out there that has a country points zip file with these language names?

(04 Sep '13, 14:49) jtaylor-inno
1

Please be sure where your map data comes from ... if I read natural-earth in your import source, then it is a matter of naturalearth.com about theit multilingual names. Ask there if you have trouble with their data.

If you want to use raw OSM data or derived maps, maybe have a general look at http://wiki.openstreetmap.org/wiki/Multilingual_names or http://wiki.openstreetmap.org/wiki/Map_internationalization

(04 Sep '13, 16:55) stephan75

thanks. I also posted to the natural earth forum to see if they already have these that I can import.

(04 Sep '13, 19:15) jtaylor-inno

All country nodes appear to have a country code tag, either country_code_fips= and/or country_code_iso3166_1_alpha_2= tag, so you can get a file that'd probably work for you via the api. For example, http://overpass.osm.rambler.ru/cgi/interpreter?data=node%5Bcountry_code_fips%5D%3Bout%3B for OSM XML format or http://overpass.osm.rambler.ru/cgi/interpreter?data=%5Bout:json%5D;node%5Bcountry_code_fips%5D%3Bout%3B for JSON. Looking at the resulting files, be forewarned you will have to deal with some unusual characters!

You can also view the country names that are on those nodes by language on the Multilingual Country List (German example)

permanent link

answered 04 Sep '13, 15:29

neuhausr's gravatar image

neuhausr
7.5k870121
accept rate: 21%

edited 04 Sep '13, 15:32

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:

×58
×54
×13

question asked: 03 Sep '13, 12:28

question was seen: 5,856 times

last updated: 05 Sep '13, 01:09

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