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

Hotels in South america

0

Hello, I am very new to OpenStreetMap and I have to build a database with hotels/restaurants for a school project. I want to know how can I get a table that contains all of the hotels in South America with columns that specify city and country. I was able to get a table that contains hotels from a specific country but it has longitude and latitude instead of city and country.

asked 03 Nov '20, 17:00

%D7%A9%D7%9C%D7%9E%D7%94's gravatar image

שלמה
11112
accept rate: 0%

1

Please share what you have already done to get the hotels with lat/long and then we can take it from there.

(04 Nov '20, 08:38) TZorn

I used the overpass API query Form http://overpass-api.de/query_form.html. to get the Hotels from a specific country, And I got a JSON file that includes all of the hotels in this country and then I converted this file to a CSV file. The table has columns with latitude and longitude and I want the city and country instead.

(05 Nov '20, 18:12) שלמה

Source code available on GitHub .