{"repo":"submarcos/django-vectortiles","free":true,"listed":false,"github":"https://github.com/submarcos/django-vectortiles","clone":"git clone https://github.com/submarcos/django-vectortiles.git","description":"Mapbox VectorTiles for django, with PostGIS or Python","language":"Python","stars":57,"topics":["vectortiles","mapbox-vectortiles","django-vectortiles","postgis","mapbox-vector-tile","python","django","maplibre"],"license":"MIT","category":"databases-storage","readme_excerpt":"Generate MapBox VectorTiles from GeoDjango models Directly with PostgreSQL/PostGIS 2.4+ or python native mapbox vector tile Read full documentation Installation Basic By default, postgis database backend is required. Ensure you have psycopg installed If you don't want to use Postgis and / or PostgreSQL This will include mapbox vector tiles package and its dependencies Set in your project settings. Examples Let's create vector tiles with your city geometries. assuming you have in your and a gis compatible database backend Simple Example: Example with multiple layers Suppose you want to make a map with your city borders, and a point in each city center that shows a popup with city name, population an area. Now, any tile requested at http://you url/tiles/{z}/{x}/{y} that intersects a city will return a vector tile with two layers, cities with border geometries and city code property, and city centroïds with center geometry and city name property. Read full documentation for examples, as multiple layers, cache policy, mapblibre integration, etc.","default_branch":null,"files":null,"tree":[],"storefront":"/r/submarcos","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/submarcos/django-vectortiles/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}