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

How would I use Overpass-turbo to find features in a local language?

0

I'm hoping to create a map that is in Tlingit, the language of the people who first occupied my local area (see this site). Some features have a name:tli tag. Area in question How could I query the features that have that tag? I tried [name:tli is NOT NULL] and it didn't work.

asked 05 Feb '20, 01:16

Jfact0ry's gravatar image

Jfact0ry
366171831
accept rate: 0%

edited 05 Feb '20, 01:17


One Answer:

3

To query for a key without considering the values, put the key in the brackets, here using quotes because of the colon in the key:

nwr["name:tli"];.

There aren't many features with that tag:

https://taginfo.openstreetmap.org/keys/name%3Atli

answered 05 Feb '20, 02:17

maxerickson's gravatar image

maxerickson
12.7k1083176
accept rate: 32%

Thank you! Yes, the goal is to show it's possible and then get more of the landmarks in local language mapped. Gunalchéesh!

(05 Feb '20, 19:01) Jfact0ry
1

@Jfact0ry You can use for example node[place][!"lang:tli"]({{bbox}}); to query for place=* features without a name your language, using the ! not operator. Be careful not to make the box too wide in area to avoid over-limit.

(06 Feb '20, 15:41) Kovoschiz

Source code available on GitHub .