-
Notifications
You must be signed in to change notification settings - Fork 50
WhereAmI
For LL to Merc Meters
Download:
svn co svn+ssh://studio.stamen.com/var/svn/lib/trunk/python/whereami
Usage:
cd /Users/nvkelso/whereami
What Merc meters at this LL?
python whereami.py 37 -122
What M meter in this BBox?
python whereami.py 37 -122 36 -124
python /Users/nvkelso/whereami/whereami.py 55.933817894564726 37.24090576171875 55.51230436155251 38.1500244140625
results in:
southwest: 55.51230436 37.24090576 northeast: 55.93381789 38.15002441 upper-left: 4145638.67 7545251.94 lower-right: 4246841.29 7461935.58 near tile: 9/309/160
then edit the makefile, to run the makefile, “make” in that dir, watch ZIPs create (reload the view if necc.)
Brussles:
python /Users/nvkelso/whereami/whereami.py 50.93246905060334 4.21051025390625 50.75904732375726 4.56207275390625
What tile here:
python whereami.py 37 -122 10
What LL at this ZXY:
python whereami.py 8/40/100
Launch browser OSM map of that area
open "python whereami.py 37 -122 10"