6 releases (2 stable)

1.1.0 Jul 17, 2023
1.0.0 Jun 29, 2022
0.4.0 Dec 10, 2021
0.3.0 Feb 18, 2021
0.1.0 Feb 19, 2020

#5 in #tiles

40 downloads per month

BSD-3-Clause

14KB
209 lines

Tile Sorcerer

Tools for modeling and querying vector tile sources.

Features

Given a PostGIS database and a TileMill source (such as OpenMapTiles data), this crate will help you leverage PostGIS to render Mapbox Vector Tiles.

Known Limitations

The current focus is on high-performance rendering from a single PostGIS database. Other formats are not presently supported, but can be added in the future. As such, the database connection info present in layers is presently ignored, and it is up to the calling application to set up a connection pool pointed at the right database. Projection info is also currently ignored, and your database is assumed to be in EPSG:3857 web mercator already.

The trait-based design allows for further extensibility, so additional operations, tile source formats, etc. will likely be added in the future.

Dependencies

~35–50MB
~836K SLoC