I'm trying to retrieve a list of all railway stations of Belgium that are in use. I downloaded the country osm from http://download.geofabrik.de/europe/belgium-latest.osm.pbf. I tried the following command to extract all stations:
osmosis --read-pbf file=belgium-latest.osm.pbf --tf accept-nodes railway=station,halt --tf reject-nodes disused=*,abandoned=*,railway=disused,abandoned --tf reject-relations --tf reject-ways --write-xml be_railway_stations.osmHowever, in my output I still have disused stations, e. g.
Where do I go wrong?
أكثر...
osmosis --read-pbf file=belgium-latest.osm.pbf --tf accept-nodes railway=station,halt --tf reject-nodes disused=*,abandoned=*,railway=disused,abandoned --tf reject-relations --tf reject-ways --write-xml be_railway_stations.osmHowever, in my output I still have disused stations, e. g.
Where do I go wrong?
أكثر...