Skip to content

Instantly share code, notes, and snippets.

@yrtimiD
Last active June 26, 2025 21:54
Show Gist options
  • Select an option

  • Save yrtimiD/cd76695b06ca8315d0bbd2c64f2d64b9 to your computer and use it in GitHub Desktop.

Select an option

Save yrtimiD/cd76695b06ca8315d0bbd2c64f2d64b9 to your computer and use it in GitHub Desktop.
Overpass queries

Overpass turbo queries

Generic

Deleted entities

[timeout:25][adiff:"2025-03-01T00:00:00Z","2025-06-12T00:00:00Z"];
wr["landuse"="residential"]({{bbox}});
compare(delta:1);
out geom;

Landuse

[timeout:25];
(
  wr["landuse"="residential"]({{bbox}});
  wr["landuse"="industrial"]({{bbox}});
  wr["landuse"="commercial"]({{bbox}});
);
out geom;

Israel

rel(6195356); // Israel and Palestine relation
map_to_area;
out;          // returns 3606195356, ID usable by area function

Fitness stations

/*
This query looks for fitness stations in Israel
https://overpass-turbo.eu/s/21zh
*/
[out:json][timeout:25];
nwr["leisure"="fitness_station"](area:3606195356);
out geom;

Operator eq brand

nwr
  [operator][brand]
  (if: t["operator"] == t["brand"])
  (area:3606195356);
out meta geom;

Places

rel(6195356);
map_to_area->.il; // Israel & Palestine

wr(area.il)[place~"city|village|town"]->.wr_places;
map_to_area;

node(area)[place~"city|village|town"];
out;

Power

way
  [power]
  [usage]
  (area:3606195356);
out meta geom;

Neighbourhoods

nwr["place"="neighbourhood"](area:3606195356);
out geom;

Highway by name

way 
  [highway]
  [name ~ 'אסור']
  (area:3606195356);
out meta geom;

Place types

place=borough place=quarter place=suburb place=neighbourhood

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment