Created
March 14, 2012 12:04
-
-
Save vibrog/2036039 to your computer and use it in GitHub Desktop.
gd12: Nærmeste kiosk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Utfordring til alle på #gd12: | |
# kjør en eller annen analyse i et eller annet system | |
# med noe data og fortell meg hvor nærmeste butikk/kiosk er! | |
curl -O http://download.geofabrik.de/osm/europe/norway.osm.pbf | |
osmosis --rb norway.osm.pbf \ | |
--tf accept-nodes shop=kiosk,convenience \ | |
--tf reject-ways --tf reject-relations \ | |
--wx - | \ | |
gpsbabel -i osm -f - \ | |
-x radius,distance=.5k,lat=61.117331,lon=10.477135 \ | |
-o csv -F - | |
# eller noe sånt... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment