# mvt-cpp **Repository Path**: lengjianjun/mvt-cpp ## Basic Information - **Project Name**: mvt-cpp - **Description**: 从 https://github.com/maplibre/mvt-cpp 克隆,由MapLibre维护,用于读写Mapbox Vector Tiles(MVT)格式。它基于protozero实现零拷贝Protobuf解析,支持矢量瓦片的编码、解码及几何操作,专为高性能地图渲染和瓦片服务设计。它是仅头文件库,兼容C++14标准,广泛应用于服务端瓦片生成与客户端渲染引擎,采用MIT许可证开源。 - **Primary Language**: Unknown - **License**: ISC - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-08-05 - **Last Updated**: 2026-08-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![MapLibre Logo](https://maplibre.org/img/maplibre-logo-big.svg)](https://maplibre.org/) ## mvt-cpp [![](https://img.shields.io/badge/Slack-%23maplibre--native-2EB67D?logo=slack)](https://slack.openstreetmap.us/) C++14 library for decoding [Mapbox Vector Tiles](https://www.mapbox.com/vector-tiles/). This is a dependency of [MapLibre Native](https://github.com/maplibre/maplibre-native). Forked from [`mapbox/vector-tile`](https://github.com/mapbox/vector-tile). ## Depends - C++14 compiler - [protozero](https://github.com/mapbox/protozero) - [variant](https://github.com/mapbox/variant) - [geometry](https://github.com/mapbox/geometry.hpp) ## Building Call ```sh git submodule init git submodule update ``` to install test fixtures from an external git repository. To install all dependencies and build the tests in this repo do: ```sh make test ``` ## To bundle the `demo` program do: ```sh make demo ``` This copies all the includes into the `demo/include` folder such that the demo can be build like: ```sh make -C demo/ ``` Or also like: ```sh cd demo make ```