Created
January 12, 2015 22:39
-
-
Save dnomadb/02a8318c9f5a437268df to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var tilebelt = require('tilebelt'); | |
var tile = process.argv[2].split('/'); | |
tile = tile.map(function(a, b) { | |
return parseInt(a); | |
}) | |
console.log('WHERE quadkey LIKE "_' + tilebelt.tileToQuadkey(tile).split('').join('_') + '%"'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment