From 0df479109da55b5f6d9b1283127118a80e7f3b9c Mon Sep 17 00:00:00 2001 From: buck heroux Date: Thu, 9 Oct 2014 14:59:17 -0400 Subject: [PATCH] readme update --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a5b4a05..0d43297 100644 --- a/README.md +++ b/README.md @@ -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