{ "info": { "author": "Vincent Sarago", "author_email": "vincent@developmentseed.org", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Information Technology", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 3.6", "Topic :: Scientific/Engineering :: GIS" ], "description": "# rio-tiler-mvt\n\n[![Packaging status](https://badge.fury.io/py/rio-tiler-mvt.svg)](https://badge.fury.io/py/rio-tiler-mvt)\n[![CircleCI](https://circleci.com/gh/cogeotiff/rio-tiler-mvt.svg?style=svg)](https://codecov.io/gh/cogeotiff/rio-tiler-mvt)\n[![codecov](https://codecov.io/gh/cogeotiff/rio-tiler-mvt/branch/master/graph/badge.svg)](https://circleci.com/gh/cogeotiff/rio-tiler-mvt)\n\n\nA rio-tiler plugin to translate tile array to MVT (using python-vtzero)\n\n![](https://user-images.githubusercontent.com/10407788/57476379-72cf6000-7264-11e9-979d-bf9f486518c2.png)\n\nMore on [COG Talk](https://medium.com/devseed/search?q=cog%20talk) blog posts\n\n## Install\n\n### Requirements\n\nrio-tiler-mvt use [python-vtzero](https://github.com/tilery/python-vtzero) wrapper to encode point and polygons to MVT. Because VTZERO is a C++ library, python-vtzero is written in Cython, thus cython~=0.28 is required to compile this library.\n\n```bash\n$ pip install cython~=0.28 # see https://github.com/tilery/python-vtzero#requirements\n\n$ pip install rio-tiler-mvt\n```\nOr \n```bash\n$ git clone http://github.com/cogeotiff/rio-tiler-mvt\n$ cd rio-tiler-mvt\n$ pip install -e .\n```\n\n## Rio-tiler + Mapbox Vector tiles\n\n### API\n\n`mvt.encoder(data, mask, band_names=[], layer_name=\"my_layer\", feature_type=\"point\")`\n\nInputs:\n- data : raster tile data to encode\n- mask : mask data\n- band_names : Raster band's names\n- layer_name : Layer name\n- feature_type : Feature type (point or polygon)\n\nReturns:\n- mvt : Mapbox Vector Tile encoded data.\n\n\n## Contribution & Development\n\nIssues and pull requests are more than welcome.\n\n**dev install**\n\n```bash\n$ git clone https://github.com/cogeotiff/rio-tiler-mvt.git\n$ cd rio-tiler-mvt\n$ pip install -e .[dev]\n```\n\n**Python3.6 only**\n\nThis repo is set to use `pre-commit` to run *flake8*, *pydocstring* and *black* (\"uncompromising Python code formatter\") when commiting new code.\n\n```bash\n$ pre-commit install\n```\n\n\n## Implementations\n[cogeo-mosaic](http://github.com/developmentseed/cogeo-mosaic.git)\n\n[satellite-3d](http://github.com/developmentseed/satellite-3d.git)", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/cogeotiff/rio-tiler-mvt", "keywords": "COG MVT mapbox vectortile GIS", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "rio-tiler-mvt", "package_url": "https://pypi.org/project/rio-tiler-mvt/", "platform": "", "project_url": "https://pypi.org/project/rio-tiler-mvt/", "project_urls": { "Homepage": "https://github.com/cogeotiff/rio-tiler-mvt" }, "release_url": "https://pypi.org/project/rio-tiler-mvt/0.0.1.dev1/", "requires_dist": null, "requires_python": ">=3", "summary": "A rio-tiler plugin to encode tile array to MVT", "version": "0.0.1.dev1" }, "last_serial": 5446330, "releases": { "0.0.1.dev0": [ { "comment_text": "", "digests": { "md5": "2e3de2c35585aa6db492a61952b4ec46", "sha256": "fcd3520d12994024a802965d25ddda78389d1de5f4765eae94b08de6c5769d6c" }, "downloads": -1, "filename": "rio-tiler-mvt-0.0.1.dev0.tar.gz", "has_sig": false, "md5_digest": "2e3de2c35585aa6db492a61952b4ec46", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 54283, "upload_time": "2019-06-24T04:00:46", "url": "https://files.pythonhosted.org/packages/77/ae/1bb3174fc1090693dc07fb15ce87c4e41d9526a7d1925e8d9e9349be6648/rio-tiler-mvt-0.0.1.dev0.tar.gz" } ], "0.0.1.dev1": [ { "comment_text": "", "digests": { "md5": "62f6e9ff9edc51a12514de9caefd3e69", "sha256": "03134d96dd41cf59e8c981b21d9f3a3b13ca20da8499b01532baa491048a647a" }, "downloads": -1, "filename": "rio-tiler-mvt-0.0.1.dev1.tar.gz", "has_sig": false, "md5_digest": "62f6e9ff9edc51a12514de9caefd3e69", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 54814, "upload_time": "2019-06-25T15:03:58", "url": "https://files.pythonhosted.org/packages/9b/f2/6b48d33a35d13ace700d055f297aa75f58af18ce1271554214dfc43b5d6a/rio-tiler-mvt-0.0.1.dev1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "62f6e9ff9edc51a12514de9caefd3e69", "sha256": "03134d96dd41cf59e8c981b21d9f3a3b13ca20da8499b01532baa491048a647a" }, "downloads": -1, "filename": "rio-tiler-mvt-0.0.1.dev1.tar.gz", "has_sig": false, "md5_digest": "62f6e9ff9edc51a12514de9caefd3e69", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 54814, "upload_time": "2019-06-25T15:03:58", "url": "https://files.pythonhosted.org/packages/9b/f2/6b48d33a35d13ace700d055f297aa75f58af18ce1271554214dfc43b5d6a/rio-tiler-mvt-0.0.1.dev1.tar.gz" } ] }