├── .gitattributes ├── .gitignore ├── LICENSE.txt ├── README.md ├── examples ├── decode.py └── encode.py ├── requirements.txt ├── setup.py ├── tests ├── conftest.py ├── create_test_data.py ├── data │ ├── invalid │ │ └── single_layer_v3_polygon_3d.mvt │ └── valid │ │ ├── all_attribute_types_v3.mvt │ │ ├── single_layer_v2_linestring.mvt │ │ ├── single_layer_v2_points.mvt │ │ ├── single_layer_v2_polygon.mvt │ │ ├── single_layer_v3_linestring_3d.mvt │ │ ├── single_layer_v3_points_3d.mvt │ │ ├── single_layer_v3_spline.mvt │ │ └── single_layer_v3_spline_3d.mvt ├── test_decode.py ├── test_encode.py ├── test_scaling.py └── test_zig_zag.py ├── vector_tile.proto └── vector_tile_base ├── __init__.py ├── engine.py └── vector_tile_pb2.py /.gitattributes: -------------------------------------------------------------------------------- 1 | *.mvt binary diff=hex 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/vector-tile-base/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/vector-tile-base/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/vector-tile-base/HEAD/README.md -------------------------------------------------------------------------------- /examples/decode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/vector-tile-base/HEAD/examples/decode.py -------------------------------------------------------------------------------- /examples/encode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/vector-tile-base/HEAD/examples/encode.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | protobuf==2.6.1 2 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/vector-tile-base/HEAD/setup.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/vector-tile-base/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/create_test_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/vector-tile-base/HEAD/tests/create_test_data.py -------------------------------------------------------------------------------- /tests/data/invalid/single_layer_v3_polygon_3d.mvt: -------------------------------------------------------------------------------- 1 | G 2 | polygons_3d'"   *:(natural2woodx -------------------------------------------------------------------------------- /tests/data/valid/all_attribute_types_v3.mvt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/vector-tile-base/HEAD/tests/data/valid/all_attribute_types_v3.mvt -------------------------------------------------------------------------------- /tests/data/valid/single_layer_v2_linestring.mvt: -------------------------------------------------------------------------------- 1 | G 2 | lines"   3 | highwaymaxspeed" 4 | primary" 2x -------------------------------------------------------------------------------- /tests/data/valid/single_layer_v2_points.mvt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/vector-tile-base/HEAD/tests/data/valid/single_layer_v2_points.mvt -------------------------------------------------------------------------------- /tests/data/valid/single_layer_v2_polygon.mvt: -------------------------------------------------------------------------------- 1 | = 2 | polygons"   natural" 3 | woodx -------------------------------------------------------------------------------- /tests/data/valid/single_layer_v3_linestring_3d.mvt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/vector-tile-base/HEAD/tests/data/valid/single_layer_v3_linestring_3d.mvt -------------------------------------------------------------------------------- /tests/data/valid/single_layer_v3_points_3d.mvt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/vector-tile-base/HEAD/tests/data/valid/single_layer_v3_points_3d.mvt -------------------------------------------------------------------------------- /tests/data/valid/single_layer_v3_spline.mvt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/vector-tile-base/HEAD/tests/data/valid/single_layer_v3_spline.mvt -------------------------------------------------------------------------------- /tests/data/valid/single_layer_v3_spline_3d.mvt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/vector-tile-base/HEAD/tests/data/valid/single_layer_v3_spline_3d.mvt -------------------------------------------------------------------------------- /tests/test_decode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/vector-tile-base/HEAD/tests/test_decode.py -------------------------------------------------------------------------------- /tests/test_encode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/vector-tile-base/HEAD/tests/test_encode.py -------------------------------------------------------------------------------- /tests/test_scaling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/vector-tile-base/HEAD/tests/test_scaling.py -------------------------------------------------------------------------------- /tests/test_zig_zag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/vector-tile-base/HEAD/tests/test_zig_zag.py -------------------------------------------------------------------------------- /vector_tile.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/vector-tile-base/HEAD/vector_tile.proto -------------------------------------------------------------------------------- /vector_tile_base/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/vector-tile-base/HEAD/vector_tile_base/__init__.py -------------------------------------------------------------------------------- /vector_tile_base/engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/vector-tile-base/HEAD/vector_tile_base/engine.py -------------------------------------------------------------------------------- /vector_tile_base/vector_tile_pb2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/vector-tile-base/HEAD/vector_tile_base/vector_tile_pb2.py --------------------------------------------------------------------------------