Skip to content

Instantly share code, notes, and snippets.

@lifeeth
Created February 10, 2011 20:12
Show Gist options
  • Save lifeeth/821239 to your computer and use it in GitHub Desktop.
Save lifeeth/821239 to your computer and use it in GitHub Desktop.
import osmnodepbf
foo = osmnodepbf.Parser("some.osm.pbf")
tags = foo.return_tags(refresh=True) # To see what tags are available
railways_stations = foo.parse({"railway":"station"})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment