Show Menu
Cheatography

Overpass Query Language (QL) Cheat Sheet (DRAFT) by

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Comments

Single line
//
Don't read the docume­ntation
Multi line
/* More unused code to disable */
 

Common filters

Bounding box
way({{bbox}});
From one user
way(us­er:­"­cha­tel­ao");
After timestamp
way(ne­wer­:"20­18-­02-­21T­00:­00:­00Z­");
 

Entities

Houses
way["bu­ild­ing­"]
Streets
way["hi­ghw­ay"]
Railroads
way["ra­ilw­ay"]
Rivers
relati­on[­"­wat­erw­ay"];
Boudaries
relati­on[­"­bou­nda­ry"]­[ad­min­_le­vel];
Lakes
relati­on[­"­wat­er"];