Overpass Turbo: A Web Based Data Mining Tool for OpenStreetMap
overpass-turbo.eu
overpass-turbo.eu
Find all buildings that straddle the boundary between Glendale and Burbank in California:
https://twitter.com/lemonodor/status/1636849040548675584
Finding the suspected origin of an explosion, by using the time from seeing the explosion on video to the time the sound of the explosion reaches the microphone:
https://twitter.com/lemonodor/status/1636859983223734273
Someone on twitter asked "Is anyone aware of any 4 way stop intersections in Australia?"
https://twitter.com/lemonodor/status/1516239321094713346
Finding examples of airport runways that cross highways:
https://twitter.com/lemonodor/status/1709598048459132976
Finding banks that might be at risk of robbery:
Source code for the backend here: https://github.com/drolbr/Overpass-API
Found from this link listed in the help modal: https://overpass-api.de/ (also links to two additional frontends.)
OK, I had a hard time understanding that the link given above is the demo of this paper.
https://overpassnl.schumann.pub.
Very interesting. Quite surprising too : it can find non trivial searches like "bars with darts" ("bars à fléchette" in French), but not easy ones ("fromagerie" or "dermato").
More complex queries did not work : "cafes close to the river" returned nothing, neither did "touristic site close to a pedestrian area" or "touristic streets".
The Overpass QL language is the most...bizarrely constructed language I've ever had to use. It's a bit hard to believe that the person who designed the language thought this was a perfectly reasonable statement:
(._; >;);This is sad because overpass is extremely powerful tool.
I’ll give the tutorials other commenters linked a try.
I then promptly forgot everything and find the syntax very annoying again nowadays... seriously, it's weird remembering having knowledge but not having the knowledge itself anymore
Could even make prompts like "Can you find the buildings closer than 500m to a café?"
I'm a really big fan of clear and legible code. I'm not at In-n-Out with a secret menu. I'm trying to make changes/updates to code someone else wrote. I don't care how clever they felt they were by using esoteric shortcuts that might make things short and fit on one line. I want to be able to read the code and follow what it does in the least amount of time. Now, if the compiler makes different/better decisions when reading something like that vs much more legible code, we can maybe have a discussion.
Depending on the use case, the shortcut is often to add `geom` to the print statement, so instead a line with the above and a line with `out;` you just write `out geom;`.
Seeing these listed in alphabetical order in a file explorer makes it easier to track down only what you need to build your map.
It could be you only end up using 150 MB of GPKG files and QGIS, even on an old laptop, would be performant.
Note that in openstreetmap.com you can zoom in and query items (cursor with question mark icon) to get the feature information that you then use in Overpass. Very useful!
QLever: https://qlever.cs.uni-freiburg.de/osm-planet
Actually, there are two. Sophox is around for longer:
Sophox: https://sophox.org/
Published a ShowHN about Atlas.co yesterday, but I also just want to mention that we have a Overpass Turbo OSM integration that enables you to query data directly in a map and then download it as geojson, kml or shp (obv you can also style it and use it in analysis). Might be useful for some
There are apps for updating OSM that will let me put in the information for the houses in my neighborhood, for example, but that gets tedious. Are there any scripts (python, shell, ?) that would make that easier?
> Imports and automated edits should only be carried out by those with experience and understanding of the way the OpenStreetMap community creates maps, and only with careful planning and consultation with the local community. See Import/Guidelines and Automated Edits code of conduct for more information. Imports/automated edits which do not follow these guidelines might be reverted!
They are working on an iOS build, and I can't wait to start using it again.
https://github.com/streetcomplete/StreetComplete/
Edit: Also, OSM has a few wiki pages for editing software on different platforms.
- Android_apps_that_can_upload_changes_to_OSM - https://wiki.openstreetmap.org/wiki/Category:Android_apps_th...
- Android_apps_that_can_record_GPS_tracks - https://wiki.openstreetmap.org/wiki/Category:Android_apps_th...
- IOS_software - https://wiki.openstreetmap.org/wiki/Category:IOS_software
- Mobile_editors - https://wiki.openstreetmap.org/wiki/Category:Mobile_editors
How to find a street in 2 minutes [video] (youtube.com)
Then I use ogr2ogr to convert to whatever output format I need.