Permalink
Browse files

Update 1.2/utfgrid.md

  • Loading branch information...
1 parent 9ef5d03 commit 91f223cef45dbc2f4b5066f1f561595f408c43fa @springmeyer springmeyer committed Feb 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 1.2/utfgrid.md
View
2 1.2/utfgrid.md
@@ -229,7 +229,7 @@ An empty key signifies the unavailability of information for that pixel. No acti
When minified and gzipped, the resulting file is 2071 bytes with the key to data mapping and 1645 bytes without.
-To test implementations, [`demo.json`](https://github.com/mapbox/mbtiles-spec/blob/master/1.1/demo.json) contains a grid that consists of 65501 different keys. This is the maximum possible in this version of UTFGrid. Implementors should check that obtaining a a coordinate should return the key `y * 256 + x` for all x/y, with the exception of y = 255 and x >= 222 and x <= 255 returning 65501 due to the maximum codepoint allowed in JSON.
+To test implementations, [`demo.json`](https://github.com/mapbox/mbtiles-spec/blob/master/1.1/demo.json) contains a grid that consists of 65501 different keys. This is the maximum possible in this version of UTFGrid. Implementors should check that obtaining a coordinate should return the key `y * 256 + x` for all x/y, with the exception of y = 255 and x >= 222 and x <= 255 returning 65501 due to the maximum codepoint allowed in JSON.
A dummy code validation routine is given here:

0 comments on commit 91f223c

Please sign in to comment.