{"id":13784321,"url":"https://github.com/mapbox/vector-tile-py","last_synced_at":"2025-05-11T19:32:42.324Z","repository":{"id":15987998,"uuid":"18731142","full_name":"mapbox/vector-tile-py","owner":"mapbox","description":"DEPRECATED - Parses vector tiles with Python","archived":true,"fork":false,"pushed_at":"2018-12-17T23:00:50.000Z","size":53,"stargazers_count":32,"open_issues_count":1,"forks_count":12,"subscribers_count":122,"default_branch":"master","last_synced_at":"2024-08-03T19:08:43.546Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mapbox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-13T14:34:14.000Z","updated_at":"2024-08-03T19:08:43.546Z","dependencies_parsed_at":"2022-08-30T14:00:34.857Z","dependency_job_id":null,"html_url":"https://github.com/mapbox/vector-tile-py","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbox%2Fvector-tile-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbox%2Fvector-tile-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbox%2Fvector-tile-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbox%2Fvector-tile-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mapbox","download_url":"https://codeload.github.com/mapbox/vector-tile-py/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225086593,"owners_count":17418761,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T19:00:39.956Z","updated_at":"2024-11-17T20:31:46.398Z","avatar_url":"https://github.com/mapbox.png","language":"Python","funding_links":[],"categories":["Python","Uncategorized","Parsers \u0026 Generators"],"sub_categories":["Uncategorized"],"readme":"vector-tile-py\n==============\n\n[![Build Status](https://travis-ci.org/mapbox/vector-tile-py.svg?branch=master)](https://travis-ci.org/mapbox/vector-tile-py)\n\nDEPRECATED: the module is not being maintained and was never used for production purposes. For more actively developed vector tile libraries see https://github.com/mapbox/vector-tile-js (Javascript) and https://github.com/mapbox/vector-tile (C++)\n\nThis library reads [Mapbox Vector Tiles](https://github.com/mapbox/vector-tile-spec) and allows access to the layers and features.\n\nIt is only a very limited demo (only supports points) at this point and not a generic or multi-purpose library.\n\n## Depends\n\n - Python 2.x || 3.x\n - Google protobuf python bindings\n\n## Install\n\n```\npip install -r requirements.txt --user\n```\n\n## Test\n\n```\npython tests.py\n```\n\n## Examples\n\nExample showing how to create a vector tile with a single layer with a single feature with a point:\n\n```\npython example.py\n```\n\n\nNow let's get some real vector tile samples:\n\n```\ngit clone https://github.com/mapbox/mvt-fixtures.git\n```\n\nWe can inspect the tile data, printing a summary:\n\n```\npython tile-raw-info.py ./mvt-fixtures/real-world/nepal/13-6041-3426.mvt\n````\n\nWe can also dump the data as GeoJSON:\n\n```\npython tile-info.py ./mvt-fixtures/real-world/nepal/13-6041-3426.mvt -t 13/6041/3426 \u003e nepal.geojson\n```\n\n\n### Regenerating the protobuf bindings\n\n\n```\ngit clone https://github.com/mapbox/vector-tile-spec.git\nprotoc ./vector-tile-spec/2.1/vector_tile.proto --python_out=vector_tile/ --proto_path ./vector-tile-spec/2.1/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapbox%2Fvector-tile-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmapbox%2Fvector-tile-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapbox%2Fvector-tile-py/lists"}