Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geometalab/Vector-Tiles-Reader-QGIS-Plugin
Vector Tiles Reader QGIS-Plugin - QGIS Python plugin which reads Mapbox Vector Tiles from a server, a local MBTiles file or a directory
https://github.com/geometalab/Vector-Tiles-Reader-QGIS-Plugin
Last synced: 3 months ago
JSON representation
Vector Tiles Reader QGIS-Plugin - QGIS Python plugin which reads Mapbox Vector Tiles from a server, a local MBTiles file or a directory
- Host: GitHub
- URL: https://github.com/geometalab/Vector-Tiles-Reader-QGIS-Plugin
- Owner: geometalab
- License: gpl-2.0
- Created: 2017-02-28T22:52:14.000Z (almost 8 years ago)
- Default Branch: dev-qgis3
- Last Pushed: 2024-06-20T13:26:50.000Z (8 months ago)
- Last Synced: 2024-08-03T19:08:49.950Z (6 months ago)
- Language: Python
- Homepage: http://plugins.qgis.org/plugins/vector_tiles_reader/
- Size: 37.8 MB
- Stars: 147
- Watchers: 15
- Forks: 29
- Open Issues: 44
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-vector-tiles - QGIS Vector Tiles Reader - QGIS Python plugin which reads Mapbox Vector Tiles from local MBTiles file or remote (Applications / Command line tools)
README
[![Build Status](https://travis-ci.org/geometalab/Vector-Tiles-Reader-QGIS-Plugin.svg?branch=dev-qgis3)](https://travis-ci.org/geometalab/Vector-Tiles-Reader-QGIS-Plugin)
[![codecov](https://codecov.io/gh/geometalab/Vector-Tiles-Reader-QGIS-Plugin/branch/dev-qgis3/graph/badge.svg)](https://codecov.io/gh/geometalab/Vector-Tiles-Reader-QGIS-Plugin)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)# Vector Tiles Reader QGIS-Plugin
This Python plugin reads Mapbox Vector Tiles (MVT) from vector tile servers, local MBTiles files or from a directory in zxy structure.
![](sample_data/ui.png)
## Help
A help can be found here: https://github.com/geometalab/Vector-Tiles-Reader-QGIS-Plugin/wiki/Help## Styling
The plugin can create a QGIS styling from a Mapbox GL JSON style on the fly.![](sample_data/osm_bright.png)
![](sample_data/klokantech_basic.png)
## License
The Vector Tile Reader plugin is released under the GNU license (see LICENSE)
## Contributors
Vector Tile Reader has been developed by
* Martin Boos
Acknowledgments:
* Stefan Keller
* Dijan Helbling
* Nicola Jordan
* Raphael Das Gupta
* Carmelo Schumacher## Docker Tests
```
docker-compose build qgis2
docker-compose run -d --name qgis2 qgis2
docker exec -it qgis2 sh -c "qgis_testrunner.sh vector_tiles_reader"
```## Technical documentation
Name conventions for Vector Tiles Reader QGIS Plugin:
* Official full name : "Vector Tiles Reader" or "Vector Tiles Reader QGIS-Plugin"
* Camel Case no space: "VectorTilesReader"
* Lower Case no space: "vector_tiles_reader"
* Abbreviated names : "VT Reader" or "vtr"## Requirements
* QGIS 3
* This Plugin was tested on Ubuntu 17.10, Windows 10 and OSX## Installation
### QGIS Plugins
Download the latest published release inside QGIS:
1. _Plugins_ -> _Manage and Install Plugins..._
2. Search for 'Vector Tiles Reader'
3. Install### Windows (QGIS 3)
```
:: Set the path on the next line to the directory where the plugin is locatedset PATH_TO_VTR="C:\DEV\Vector-Tiles-Reader-QGIS-Plugin"
mklink /D "%appdata%\QGIS\QGIS3\profiles\default\python\plugins\vector_tiles_reader" %PATH_TO_VTR%:: Make sure the IDE knows about the qgis package (run in admin console)
mklink /D "%programfiles%\QGIS 3.6\apps\Python37\Lib\site-packages\qgis" "%programfiles%\QGIS 3.6\apps\qgis\python\qgis"
```### Ubuntu (QGIS 3)
```
ln -sr ./ ~/.local/share/QGIS/QGIS3/profiles/default/python/plugins/Vector-Tile-Reader
```### OSX
Location of QGIS plugins directory:QGIS|Path
---|---
2 | ~/.qgis2/python/plugins
3 | ~/Library/Application\ Support/QGIS/QGIS3/profiles/default/python/plugins```
ls -s ./
```## FAQ
#### How can I use the server connection feature?
Any vector tile service, implementing the [TileJSON specification](https://github.com/mapbox/tilejson-spec/tree/master/2.2.0) with the [vector_layers extension](https://github.com/mapbox/tilejson-spec/issues/14) should work.
For the feature to work, you have to create a connection using a URL pointing to the TileJSON of the tile service.
For example you can use `https://api.maptiler.com/tiles/v3/tiles.json?key={API-KEY}` and get your own API-Key from [MapTiler Cloud](https://cloud.maptiler.com/)