Overpass-API
Overpass-API copied to clipboard
A database engine to query the OpenStreetMap data.
Motivation: https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_API_by_Example#Alternative_that_also_checks_the_syntax_of_the_collection_time Frequent requirement is to classify objects by their age (`timestamp()`), or some date in one of its fields ("last_checked"). This would require to do some calculations based on...
This doesn't need to be the final outcome, but when I was going through the [guide](https://wiki.openstreetmap.org/wiki/Overpass_API/Installation#Area_creation), I couldn't figure out for the life of me why areas wasn't working. Turns...
I hope I found the right place for this issue. If not please advise whom to contact instead. I assumed this might be the correct place because of these search...
Specifically, https://planet.openstreetmap.org provides https://planet.openstreetmap.org/pbf/planet-latest.osm.pbf, which I have downloaded and am attempting to initialize the database with. When I run: ``` cat "${PBF_FILE}" | "${OVERPASS_DIR}/bin/update_database" --db-dir="$DB_DIR" --compression-method=no ``` I get: ```...
Addition just below the definitions of ftruncate64, lseek64 and open64 enclosed in the existing condition. off64_t was added a decade later, which explains the previous omission and makes it easy...
Given the following [query](https://overpass-turbo.eu/?Q=way%5B%22building%22%5D%28%7B%7Bbbox%7D%7D%29%20-%3E%20.ways%3B%0A.ways%20out%20geom%3B%0Away%5B%22building%22%5D%28area.ways%29%3B%0Aout%20center%3B&C=29.687976%3B-95.385978%3B18): ```css way["building"]({{bbox}}) -> .ways; .ways out geom; way["building"](area.ways); out center; ``` My expectation would be that `out center` does not return a result for any of...
Two small improvements for shell scripts.
#### TL;DR When using `complete {rel(br);};` the result set of an iteration is different than the input set of the next iteration. #### Problem Description The [following query](https://overpass-turbo.eu/s/29Ka) is an...
When I request an augmented diff of an element that was changed and then reverted (so the state is the same at the old and new times), I get an...