{ "info": { "author": "Bart R\u00f6mgens", "author_email": "bart.romgens@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "togeojsontiles\n==============\n\n| |PyPI version|\n| Create geojson-tiles from gpx, mbtiles or geojson files.\n\ntogeojsontiles is a Python 3 package with bindings for\n`tippecanoe `__ (C++) and\n`togeojson `__ (javascript) that\nallows to create geojson vector tiles, ``tiles/{z}/{x}/{y}.geojson``,\nfrom gpx, mbtiles or geojson files.\n\nThe tiles allow to display large amounts of vector data on interactive\nmaps without losing performance.\n\nThe generated tiles can be shown on interactive slippy map like\n`OpenLayers `__ and\n`Leaflet `__.\n\nInstallation\n------------\n\n| togeojsontiles is compatible with Python 3.3, 3.4, 3.5. It is listed\n on PyPi as 'togeojsonfiles'.\n| The recommended way to install is via pip,\n\n::\n\n $ pip install togeojsontiles\n\nDependencies\n------------\n\nThis package provides Python bindings for tippecanoe (C++) to create the\ntiles, and togeojson (javascript) to convert gpx to geojson. These\nlibraries do all the work and are required.\n\ntippecanoe\n''''''''''\n\nSee `tippecanoe `__ for\ninstallation instructions. It has a few system level dependencies, but\nis rather easy to build.\n\ntogoejson\n'''''''''\n\nTo install togoejson (javascript) in your path,\n\n::\n\n $ npm install -g togeojson\n\nUsage\n-----\n\ngpx to geojson\n''''''''''''''\n\n.. code:: python\n\n import togeojsontiles\n\n togeojsontiles.gpx_to_geojson(file_gpx='test.gpx', file_geojson='test.geojson')\n\ngeojson to mbtiles\n''''''''''''''''''\n\n.. code:: python\n\n import togeojsontiles\n\n TIPPECANOE_DIR = '/usr/local/bin/'\n\n togeojsontiles.geojson_to_mbtiles(\n filepaths=['./data/test1.geojson', './data/test2.geojson'],\n tippecanoe_dir=TIPPECANOE_DIR,\n mbtiles_file='out.mbtiles',\n maxzoom=14\n )\n\nmbtiles to geojson-tiles\n''''''''''''''''''''''''\n\n.. code:: python\n\n import togeojsontiles\n\n TIPPECANOE_DIR = '/usr/local/bin/'\n\n togeojsontiles.mbtiles_to_geojsontiles(\n tippecanoe_dir=TIPPECANOE_DIR, \n tile_dir='project/data/tiles/', \n mbtiles_file='out.mbtiles'\n )\n\n.. |PyPI version| image:: https://badge.fury.io/py/togeojsontiles.svg\n :target: https://badge.fury.io/py/togeojsontiles", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/bartromgens/togeojsontiles", "keywords": "gis geojson tippecanoe tiles map-tiles mbtiles gpx", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "togeojsontiles", "package_url": "https://pypi.org/project/togeojsontiles/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/togeojsontiles/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/bartromgens/togeojsontiles" }, "release_url": "https://pypi.org/project/togeojsontiles/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "Create geojson-tiles from gpx or geojson using tippecanoe (C++) and togeojson (javascript)", "version": "0.1.2" }, "last_serial": 2096237, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "152e597c3f42f1380d36a8cc3d6d9d8a", "sha256": "9164d4e08a59354d16788ada1aba5634272c174c3e073b2151e53ecd684df12e" }, "downloads": -1, "filename": "togeojsontiles-0.1.1.tar.gz", "has_sig": false, "md5_digest": "152e597c3f42f1380d36a8cc3d6d9d8a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3284, "upload_time": "2016-05-02T23:22:26", "url": "https://files.pythonhosted.org/packages/e4/e0/2413693c6a8836c16ef023c10b316e6956b4f44881ad36dab22fbe838f6a/togeojsontiles-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "49116157ab209827549226c475b8e78e", "sha256": "3d57d139a40be4185e2a5324444e141ccf8d12e33727033dd848fbf8e2883763" }, "downloads": -1, "filename": "togeojsontiles-0.1.2.tar.gz", "has_sig": false, "md5_digest": "49116157ab209827549226c475b8e78e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3350, "upload_time": "2016-05-03T03:31:39", "url": "https://files.pythonhosted.org/packages/0f/b2/8164d868eaf649d9884361c61e868a93cece5258c58cb81dd2e5bb57ec78/togeojsontiles-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "49116157ab209827549226c475b8e78e", "sha256": "3d57d139a40be4185e2a5324444e141ccf8d12e33727033dd848fbf8e2883763" }, "downloads": -1, "filename": "togeojsontiles-0.1.2.tar.gz", "has_sig": false, "md5_digest": "49116157ab209827549226c475b8e78e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3350, "upload_time": "2016-05-03T03:31:39", "url": "https://files.pythonhosted.org/packages/0f/b2/8164d868eaf649d9884361c61e868a93cece5258c58cb81dd2e5bb57ec78/togeojsontiles-0.1.2.tar.gz" } ] }