Aggiorna README.md

This commit is contained in:
Fabio 2026-02-19 15:26:54 +08:00
parent a41e2f6a27
commit 99eabfb15f

View file

@ -3,7 +3,7 @@
mappa con terrain 3D, hillshade e curve di livello mappa con terrain 3D, hillshade e curve di livello
## Come è composto ## Come è composto
```
pmtiles pmtiles
├── backup ├── backup
│   ├── default.conf │   ├── default.conf
@ -35,7 +35,7 @@ pmtiles
│   └── tiles │   └── tiles
├── README.md ├── README.md
└── readme.txt └── readme.txt
```
## Download i file pmtiles (non inclusi nel git) ## Download i file pmtiles (non inclusi nel git)
inserire i files pmtlies in data inserire i files pmtlies in data
@ -56,12 +56,12 @@ per esempio
pmtiles extract https://build.protomaps.com/20260217.pmtiles my_area.pmtiles --bbox=4.742883,51.830755,5.552837,52.256198 pmtiles extract https://build.protomaps.com/20260217.pmtiles my_area.pmtiles --bbox=4.742883,51.830755,5.552837,52.256198
per scaricare 3d solo alpi per scaricare 3d solo alpi
```
pmtiles extract \ pmtiles extract \
--bbox=7.51,45.90,7.80,46.05 \ --bbox=7.51,45.90,7.80,46.05 \
https://download.mapterhorn.com/planet.pmtiles \ https://download.mapterhorn.com/planet.pmtiles \
public/assets/terrain/w_alps.pmtiles public/assets/terrain/w_alps.pmtiles
```
### altri files che sono già inclusi nel git ### altri files che sono già inclusi nel git
dentro project/public/assets dentro project/public/assets
@ -85,6 +85,7 @@ Glyphs + sprites dal repo ufficiale (ZIP)
wget https://github.com/protomaps/basemaps-assets/archive/refs/heads/main.zip wget https://github.com/protomaps/basemaps-assets/archive/refs/heads/main.zip
unzip main.zip unzip main.zip
poi estrai in public/assets/fonts e public/assets/sprites/v4 poi estrai in public/assets/fonts e public/assets/sprites/v4
- fonts/{fontstack}/{range}.pbf - fonts/{fontstack}/{range}.pbf
- sprites/v4/light.png, light.json, light@2x.png, light@2x.json - sprites/v4/light.png, light.json, light@2x.png, light@2x.json
@ -100,3 +101,13 @@ poi andare in
https://maplibre.org/font-maker/ https://maplibre.org/font-maker/
convertire solo il font Noto Sans Bold che manca e metterlo in public/assets/fonts convertire solo il font Noto Sans Bold che manca e metterlo in public/assets/fonts
## Avviare
nella dir principale
sudo docker compose up --build -d
se si modifica
sudo docker compose down