overpass-turbo
overpass-turbo copied to clipboard
out:pbf
I'm trying to use pbf output as per: http://gis.19327.n8.nabble.com/PBF-output-prototype-available-for-testing-td5884534.html
Using the example: http://overpass-turbo.eu/s/jpK I'm unable to get it to work.
Could someone clarify what is meant by 'click on Export -> raw data directly from Overpass API'?
I'm unsure what to click on. Isn't the API command line operated? In Turbo I can only click Export>raw after it's run. By that time it appears I've already obtained 'garbled output'.
Step by Step: Run example Obtain garble under 'Data' tab:
Click Export>raw data & obtain this:
{
"elements": []
}
Click Export>raw data & obtain this: […]
~~that's a bug.~~
It sounds like you're clicking on the wrong link. In the Export popup, there are two very similar links:
- raw data
- raw data directly from Overpass API
You should click the second one, yielding the following download link: link
Please keep in mind that this is a prototype only, it is not yet available in the official release yet.
@mmd-osm right, but it should still be possible to download the data from overpass-turbo via export -> raw data
once it's loaded in.
It turns out to be relatively tricky to fix, though. The main issue is that overpass turbo's code still builds directly on top of some jQuery features, but jQuery's ajax utility doesn't allow one to fetch binary data. It's probably best to replace it with a raw XMLHttpRequest
(or fetch
) based solution, but that would require a bit of work.
For the time being, I've created a prototype on the pbf branch (deployed at http://overpass-turbo.eu/pbf/) which can only parse pbf output. Here's the example from above.
It sounds like you're clicking on the wrong link.
Self #facepalm. Apologies for not reading accurately.
Sorry for bumping this issue Are there any updates?