Name: mvt-encoding-test
Owner: Mapzen
Description: Test mvt encoding
Created: 2016-02-07 16:22:47.0
Updated: 2016-02-07 16:23:58.0
Pushed: 2016-02-07 16:23:47.0
Size: 1
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This repo is meant to contain test cases to verify our expectations about how mvt tiles should get encoded.
There is a make file with targets for each installation step.
make virtualenv
This will create a new virtualenv in the current directory called “env”, and will activate it.
make pythondependencies
Installs the Mapzen mapbox-vector-tile
repo from the github master branch. Will also install its dependencies, one of which is shapely, which will depend on libgeos-dev being available.
make nodejsdependencies
Pulls in pbf
and vector-tile
node packages via npm.
make encode
This will use the mapbox-vector-tile
python library to encode an example tile written to tile.mvt
.
make decode
This will decode the example tile from tile.mvt
, and print out the geometries. It prints out the raw geometry, and the geometry again with the y axis flipped.