mapnik-vector-tile
Advanced tools
Comparing version 1.4.0 to 1.5.0
# Changelog | ||
## 1.5.0 | ||
- Added back ability to build against external mapnik (see docs for instructions) | ||
- Added support for variables @rafatower: https://github.com/mapbox/mapnik-vector-tile/pull/248 | ||
## 1.4.0 | ||
@@ -4,0 +9,0 @@ |
{ | ||
"name": "mapnik-vector-tile", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"description": "Mapnik Vector Tile API", | ||
@@ -5,0 +5,0 @@ "main": "include_dirs.js", |
@@ -14,11 +14,2 @@ ## mapnik-vector-tile | ||
Mapnik Vector Tile does not currently support Mapnik 3.1.x. | ||
- mapnik-vector-tile >=1.4.x depends on Mapnik >=v3.0.14 | ||
- mapnik-vector-tile >=1.0.x depends on Mapnik >=v3.0.11 | ||
- mapnik-vector-tile 1.0.0 to 0.7.x depends on Mapnik v3.0.x (until 3.0.0 is released this means latest mapnik HEAD) | ||
- mapnik-vector-tile 0.6.x and previous work with Mapnik v2.2.x or v2.3.x | ||
- You will need `libmapnik` and `mapnik-config` available | ||
- Protobuf: `libprotobuf` and `protoc` | ||
## Implementation details | ||
@@ -30,24 +21,28 @@ | ||
### Ubuntu Dependencies Installation | ||
## Building from source | ||
sudo apt-get install -y libprotobuf7 libprotobuf-dev protobuf-compiler | ||
sudo apt-add-repository --yes ppa:mapnik/nightly-2.3 | ||
sudo apt-get update -y | ||
sudo apt-get -y install libmapnik=2.3.0* mapnik-utils=2.3.0* libmapnik-dev=2.3.0* mapnik-input-plugin*=2.3.0* | ||
If you do not need to build against an external mapnik, just type: | ||
### OS X Dependencies Installation | ||
make | ||
brew install protobuf | ||
brew install mapnik | ||
This will download all deps (including Mapnik) and compile against them. | ||
## Building | ||
To build and test in debug mode do: | ||
Just type: | ||
make debug test-debug | ||
make | ||
If you have Mapnik, libprotobuf, and all the Mapnik deps already installed on your system then you can build against them with: | ||
This builds the protobuf C++ wrappers: `vector_tile.pb.cc` and `vector_tile.pb.h` | ||
make release_base | ||
Then include `vector_tile.pb.cc` in your code. The rest is header only. | ||
If building against an external Mapnik please know that Mapnik Vector Tile does not currently support Mapnik 3.1.x. | ||
- mapnik-vector-tile >=1.4.x depends on Mapnik >=v3.0.14 | ||
- mapnik-vector-tile >=1.0.x depends on Mapnik >=v3.0.11 | ||
- mapnik-vector-tile 1.0.0 to 0.7.x depends on Mapnik v3.0.x (until 3.0.0 is released this means latest mapnik HEAD) | ||
- mapnik-vector-tile 0.6.x and previous work with Mapnik v2.2.x or v2.3.x | ||
- You will need `libmapnik` and `mapnik-config` available | ||
- Protobuf: `libprotobuf` and `protoc` | ||
## Tests | ||
@@ -54,0 +49,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
248176
69