This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Query for data in OSM in only one language

0

I've been trying to use some of the data OSM provides, like a list of all the countries in the world or all cities within a country. I am getting the correct results but I am getting those results in every language, I only want/need the data in English. How can I get those results?

asked 16 Jun '16, 17:29

LCKF16's gravatar image

LCKF16
21112
accept rate: 0%

edited 16 Jun '16, 19:01

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

Where did you get this data from exactly?

(16 Jun '16, 18:43) scai ♦
1
(16 Jun '16, 18:44) LCKF16
1

I guess a link to an example query would be helpful. You can create one via the "share" link at the turbo website.

(16 Jun '16, 19:02) aseerel4c26 ♦

One Answer:

2

If you don't need geometries, you can use the csv output format to select a subset of tags:

https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#Output_Format_.28out.29

Other than that, Overpass doesn't have any features for altering the results, it returns all the tags for the objects matching the query.

answered 17 Jun '16, 02:14

maxerickson's gravatar image

maxerickson
12.7k1083176
accept rate: 32%

Source code available on GitHub .