Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 78038a0805

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
OsmApi.py
README
blockr.py
build_neighborhood.sh
fetch_osm.py
geocrawlr.py
geoplanet.py
leaves_from_woeid.py
outliers.py
pull_photos.py
samplr.py

README

NAME=$1
WOEID=$2
DBNAME=sderle
grep ^$WOEID data/suburbs_wanted.csv | cut -f4 | xargs python geocrawlr.py >data/photos_$WOEID.txt
sed -e 's/WOEID/$WOEID/g; s/DBNAME/$DBNAME/g' <<End | grass6 /home/sderle/Global/PERMANENT
v.in.ogr -e --o --v dsn="PG:dbname=DBNAME" layer=osm_ways output=blocks_WOEID \
                    type=boundary \
                    spatial=`python outliers.py data/photos_$WOEID.txt` \
                    where='highway is not null or waterway is not null'
v.out.ogr in=blocks_WOEID dsn=data/blocks_WOEID.json format=GeoJSON type=area
End
python blockr.py data/names.txt data/blocks_$WOEID.json data/photos_$WOEID.json > data/$NAME.json
Something went wrong with that request. Please try again.