Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
README.md
osm-addrs.hs

README.md

Filter addresses from OpenStreetMap dumps

Building

TODO: write a .cabal file!

cabal update; cabal install --ghc-options=-O2 xml-conduit aeson
ghc --make -O2 osm-addrs

Usage

First download and decompress a .osm.bz2 dump from Geofabrik.

Run through pipe view:

pv -per < sachsen-latest.osm |
	./osm-addrs Dresden > dresden.json