34 lines
740 B
Plaintext
34 lines
740 B
Plaintext
1.- Convertir gpkg a geojson (lo hice con geopandas)
|
|
2.- Convertir geojson a mbtiles (linux tippercanoe):
|
|
|
|
tippecanoe \
|
|
-o cobertura.mbtiles \
|
|
-l municipios \
|
|
-Z5 \
|
|
-z18 \
|
|
--extend-zooms-if-still-dropping \
|
|
--drop-densest-as-needed \
|
|
--simplification=2 \
|
|
--simplification-at-maximum-zoom=1 \
|
|
--no-tiny-polygon-reduction \
|
|
geo_pandas_limpio.geojson
|
|
|
|
3.- Renderizar datos con maplibre
|
|
|
|
|
|
|
|
|
|
tippecanoe \
|
|
-o cobertura.mbtiles \
|
|
-l municipios \
|
|
-Z5 \
|
|
-z18 \
|
|
--base-zoom=8 \
|
|
--simplification=0.5 \
|
|
--simplification-at-maximum-zoom=1 \
|
|
--no-tiny-polygon-reduction \
|
|
--no-feature-limit \
|
|
--no-tile-size-limit \
|
|
--extend-zooms-if-still-dropping \
|
|
geo_pandas_limpio.geojson
|