Skip to content

Instantly share code, notes, and snippets.

@nifgraup
Created February 5, 2012 18:29
Show Gist options
  • Save nifgraup/1747055 to your computer and use it in GitHub Desktop.
Save nifgraup/1747055 to your computer and use it in GitHub Desktop.
remove current bus-stops, create a OSM changeset file
#!/bin/sh
#remove current bus stops
osmosis --read-pbf file="iceland.osm.pbf" --tag-filter reject-nodes highway=bus_stop --write-pbf file="iceland-no-busstops.osm.pbf"
#generate change file
osmosis --read-pbf file="iceland-no-busstops.osm.pbf" --read-pbf file="iceland.osm.pbf" --derive-change --write-xml-change file="iceland-no-busstops.osc"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment