Hello there, I want to export special geodata such as international Airports, railway stations or motorway entrances in Germany from OSM. Is this at all possible without downloading the complete Germany map? Best regards and thanks once before, Carsten (German)
Hallo, asked 02 Nov '15, 12:07 c_schroeder aseerel4c26 ♦ |
http://overpass-turbo.eu/ might be a good place to start. I used it to get a list of all Points tagged "railway:station" in Switzerland, and it worked beautifully. The language is kind of weird, but there's a Wizard where I simply typed "railway stations in switzerland", and I had a piece of code that gave me almost what I wanted. Here's something to get you started:
answered 02 Nov '15, 12:45 balducien … and docs are there (mind the links): https://wiki.openstreetmap.org/wiki/Overpass_turbo
(02 Nov '15, 18:51)
aseerel4c26 ♦
2
(02 Nov '15, 20:47)
mmd
1
A completely off topic note: to get stuff in Switzerland you can use both our overpass api and turbo instances: http://osm.ch/
(02 Nov '15, 23:43)
SimonPoole ♦
1
@SimonPoole: even more off topic: do you know if there are some specs available of this Swiss Overpass API instance? Would be great to add them to this wiki page.
(03 Nov '15, 14:03)
mmd
|
Even if downloading a ~4gb file isn't what you want, imho it would be better to just download it. It is avaiable at geofabrik.de. Afterwards you can use osmfilter to reduce the data to what is really needed. For experimenting with osmfilter i would also download a small destrict, maybe Hessen, to get results of your osmfilter command within minutes instead of possibly hours. Those are the times i experienced doing something comparable without an SSD. So using an SSD might be a good idea, if possible. The advantage over the overpass api is, that you won't have to experiment with timeout values, which you probably would probably have to. Also you would have the result as an .osm file, which can be used for further osm related works, like populating a sql database with Osm2pgsql. answered 02 Nov '15, 20:01 EinFreierNick 3
Did you know: Overpass API can produce several output formats, amongst them OSM XML format. You just need to replace
(02 Nov '15, 20:45)
mmd
|