A great question for all the urban explorers and history buffs out there!
Overpass Turbo is a fantastic tool to query OpenStreetMap (OSM) data, and I'm happy to help you craft a query to find abandoned villages. Before we dive into the query, let's clarify what we're looking for:
Assumptions:
By "abandoned villages," we mean settlements that were once inhabited but are now deserted, ruined, or no longer exist as functional villages.
We'll rely on OSM tags, which might not always be comprehensive or up-to-date, but should give us a good starting point.
Here's the Overpass Turbo query to get you started:
overpass
[out:json][timeout:25];
// gather results from all areas (no bbox constraint)
{{geocodeArea:World}}->.searchArea;
// find nodes, ways, and relations with the following tags:
(
// explicitly tagged as abandoned
node["abandoned:place"="village"](area.searchArea);
way["abandoned:place"="village"](area.searchArea);
relation["abandoned:place"="village"](area.searchArea);
// or, places tagged as ruined villages
node["ruins:place"="village"](area.searchArea);
way["ruins:place"="village"](area.searchArea);
relation["ruins:place"="village"](area.searchArea);
// or, historic villages (might not be entirely abandoned, but worth exploring)
node["historic"="village"](area.searchArea);
way["historic"="village"](area.searchArea);
relation["historic"="village"](area.searchArea);
// or, places tagged as abandoned settlements (more generic)
node["abandoned"="settlement"](area.searchArea);
way["abandoned"="settlement"](area.searchArea);
relation["abandoned"="settlement"](area.searchArea);
);
// print results
out body;
>;
Let's break down what this query does:
{{geocodeArea:World}} searches the entire world (remove this line if you want to query a specific area, like a country or region, by replacing World with the name of that area, e.g., France).
We look for three types of OSM elements: nodes (points), ways (lines/polygons), and relations (groups of elements), which might represent our abandoned villages.
We filter these elements by specific tags:
abandoned:place=village: explicitly marks a village as abandoned.
ruins:place=village: indicates a village is in ruins (a good indicator of abandonment).
historic=village: while not necessarily abandoned, these villages have historical significance and might be worth exploring.
abandoned=settlement: a more generic tag for abandoned settlements (not necessarily villages, but still interesting).
out body; returns the full geometry and tags of the matching elements.
Tips and Variations:
To narrow down the search to a specific country or region, replace World with the name of that area, as mentioned earlier.
If you're interested in a specific time period (e.g., post-WWII abandoned villages), you can add another filter, like node["start_date"~"^19(4[8-9]|5|6|7|8|9)"] (experimental, as date formats vary in OSM).
To visualize the results on a map, switch the output format from json to map (top-left corner of the Overpass Turbo interface).
Be aware that some tags might be misused or inconsistent across OSM. You may need to manually verify the results.
After a few seconds (depending on the server load and query complexity), you'll see the results on the map or in JSON format. Zoom in, explore, and enjoy the discovery of those abandoned villages!