Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
buck heroux committed Oct 9, 2014
1 parent 1257ff6 commit 0df4791
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ Built off of the TileSystem static class outlined here: http://msdn.microsoft.co
Converts a lat,lon to pixel space to tile space to a quadkey


from quadkey import QuadKey
import quadkey

qk = QuadKey.from_geo((-105, 40), 17)
qk = quadkey.from_geo((-105, 40), 17)
print qk.key # => 02310101232121212
assert qk.level is 17
tile = qk.to_tile() # => [(x, y), z]

Not a lot of documentation here, but the implementation has quite a bit, so look at the QuadKey definitions for better documention

0 comments on commit 0df4791

Please sign in to comment.