{ "info": { "author": "Damon Burgett", "author_email": "damon@mapbox.com", "bugtrack_url": null, "classifiers": [], "description": "xt\n===\n\n[![Build Status](https://travis-ci.org/mapbox/xt.svg?branch=master)](https://travis-ci.org/mapbox/xt) [![Coverage Status](https://coveralls.io/repos/github/mapbox/xt/badge.svg?branch=master)](https://coveralls.io/github/mapbox/xt?branch=master)\n\nAutomatically convert a stream of tile coordinates to another format\n\n- `z/x/y | z-x-y` ==> `[x, y, z]`\n\n- `[x, y, z]` ==> `z/x/y` | `z-x-y` | `z?x?y -d ?`\n\n\nInstallation\n-------------\n```\npip install xt\n```\nOr to develop:\n```\ngit@github.com:mapbox/xt.git && cd xt && pip install -e '.[test]'\n```\n\nExamples\n---------\nTile URL to [mercantile](https://github.com/mapbox/mercantile) `[x, y, z]`\n```\n\u00bb echo https://map.s/17/20971/5051.png | xt\n[20971, 50651, 17]\n```\nmercantile to `z/x/y`\n```\n\u00bb echo '[0, 0, 0]' | xt\n0/0/0\n```\nmercantile to `z-x-y`\n```\n\u00bb echo '[100, 100, 100]' | xt -d -\n100-100-100\n```\nroundtripping\n```\n\u00bb pbpaste | xt | xt -d - | xt | xt | xt | xt -d | xt | xt \n17/20972/50653\n```\nUsing mercantile to generate tile urls from a parent tile:\n```\n\u00bb echo '[0, 0, 0]' | mercantile children --depth 2 | xt | awk '{print \"https://map.s/\"$NF\".png\"}'\nhttps://map.s/2/0/0.png\nhttps://map.s/2/1/0.png\nhttps://map.s/2/1/1.png\nhttps://map.s/2/0/1.png\nhttps://map.s/2/2/0.png\nhttps://map.s/2/3/0.png\nhttps://map.s/2/3/1.png\nhttps://map.s/2/2/1.png\nhttps://map.s/2/2/2.png\nhttps://map.s/2/3/2.png\nhttps://map.s/2/3/3.png\nhttps://map.s/2/2/3.png\nhttps://map.s/2/0/2.png\nhttps://map.s/2/1/2.png\nhttps://map.s/2/1/3.png\nhttps://map.s/2/0/3.png\n```\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mapbox/xt", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "xt", "package_url": "https://pypi.org/project/xt/", "platform": "", "project_url": "https://pypi.org/project/xt/", "project_urls": { "Homepage": "https://github.com/mapbox/xt" }, "release_url": "https://pypi.org/project/xt/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "xForm Tile Coordinates", "version": "0.1.1" }, "last_serial": 4847179, "releases": { "0.0.1.dev0": [ { "comment_text": "", "digests": { "md5": "6186a6a44555bb517e1adfc96415c55d", "sha256": "f5acb7ea8207adb8b8e2606d5e83c5b3bedb467d0985d86d4b8d92bdd548b5d5" }, "downloads": -1, "filename": "xt-0.0.1.dev0.tar.gz", "has_sig": false, "md5_digest": "6186a6a44555bb517e1adfc96415c55d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1957, "upload_time": "2016-11-15T23:07:23", "url": "https://files.pythonhosted.org/packages/b4/09/e95d433d6f18324441972460aff2bccd5630c6d437b02961414d5a2eecf3/xt-0.0.1.dev0.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "b519ae2260077884da45845f1a88cf41", "sha256": "911ce983bd82488c736277268199158541bd024e3ffcc477b02fb56d9d5a3600" }, "downloads": -1, "filename": "xt-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b519ae2260077884da45845f1a88cf41", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1929, "upload_time": "2016-11-15T23:08:56", "url": "https://files.pythonhosted.org/packages/80/4f/fc7b9ab87012309bca8c70999d024078f3f2d08cade7b2487f068963bca0/xt-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "e00fd711e3756591198eeea80e8faa07", "sha256": "3365dcd6ce7845cb379d747103409b3765b2b8e1dd895dc435d23d855fd2b937" }, "downloads": -1, "filename": "xt-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e00fd711e3756591198eeea80e8faa07", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2606, "upload_time": "2019-02-20T20:02:06", "url": "https://files.pythonhosted.org/packages/ce/de/2042aa98ff9cb2574e0a8f4362747395a52f5732e097dcfd56cefb155a6c/xt-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e00fd711e3756591198eeea80e8faa07", "sha256": "3365dcd6ce7845cb379d747103409b3765b2b8e1dd895dc435d23d855fd2b937" }, "downloads": -1, "filename": "xt-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e00fd711e3756591198eeea80e8faa07", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2606, "upload_time": "2019-02-20T20:02:06", "url": "https://files.pythonhosted.org/packages/ce/de/2042aa98ff9cb2574e0a8f4362747395a52f5732e097dcfd56cefb155a6c/xt-0.1.1.tar.gz" } ] }