This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Why shp dont have unused railway

0

I download some shapefile on http://download.geofabrik.de/ ,I found that it doesnt contain unused railway\abandoned railway.why? I think these old feature class really had their values.it still can show the direction for you . i suggest geofabrik can add them to shp.

asked 19 Apr '19, 07:36

redstar1212000's gravatar image

redstar1212000
11112
accept rate: 0%


One Answer:

2

The shape files are provided "as is" as a free service by Geofabrik. I'm sure they would be happy to provide alternatives as part of a commercial relationship. Alternatively you can roll your own using one or more of osmosis, overpass, osmconvert, osmfilter and ogr2ogr.

answered 19 Apr '19, 20:43

SK53's gravatar image

SK53 ♦
28.1k48268433
accept rate: 22%

thanks for your answer,do you known which soft can be used to converte osm to shp or gdb?

(20 Apr '19, 02:03) redstar1212000
1

yep, the tools mention in the second part of my answer, specifically ogr2ogr. The others are probably needed if you wish to filter out railways.

(20 Apr '19, 21:52) SK53 ♦

Source code available on GitHub .