Metadata-Version: 2.4
Name: vectortileserver
Version: 0.1.0
Summary: Dynamic vector tile server for visualizing vectors in Jupyter notebooks
Project-URL: Homepage, https://github.com/dfguerrerom/vectortileserver
Project-URL: Repository, https://github.com/dfguerrerom/vectortileserver
Project-URL: Changelog, https://github.com/dfguerrerom/vectortileserver/blob/main/CHANGELOG.md
Author-email: Daniel Guerrero <dfgm2006@gmail.com>
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.10
Requires-Dist: colorlog
Requires-Dist: geopandas
Requires-Dist: httpx
Requires-Dist: ipyleaflet
Requires-Dist: mapbox-vector-tile
Requires-Dist: pmtiles
Requires-Dist: shapely
Requires-Dist: starlette
Requires-Dist: uvicorn
Provides-Extra: dev
Requires-Dist: black>=24; extra == 'dev'
Requires-Dist: commitizen>=3.29; extra == 'dev'
Requires-Dist: nox>=2024.4.15; extra == 'dev'
Requires-Dist: pre-commit>=3.7; extra == 'dev'
Requires-Dist: pytest>=8; extra == 'dev'
Requires-Dist: ruff>=0.5; extra == 'dev'
Description-Content-Type: text/markdown

# 🌐 vectortileserver

A local vector tile server for visualizing PMTiles in Jupyter — `localtileserver`, but for vectors. Inspired by `localtileserver`, `leafmap`, `protomaps-leaflet` and `maplibre-gl`.

With `TileClient`, you can easily create a local vector tile server to visualize PMTiles in `ipyleaflet`.

If you have a vector file (`.shp`, `.geojson`, `.gpkg`, etc.), `TileClient` will convert it to PMTiles format using `tippecanoe`. If `tippecanoe` is not installed, an error will be raised. However, you can directly visualize local PMTiles as a data source.

## Installing Tippecanoe

[Tippecanoe](https://github.com/felt/tippecanoe) is a tool for generating vector tile sets from large collections of GeoJSON features. It is designed to make mapping large datasets easy and efficient.

```bash
git clone https://github.com/felt/tippecanoe.git
cd tippecanoe
make -j
make install
```
