Skip to content

Commit d5d0b89

Browse files
committed
hide tiles for now
1 parent b0dd191 commit d5d0b89

2 files changed

Lines changed: 33 additions & 31 deletions

File tree

data/hazard/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ The raw GeoJSON source `data/hazard/global-hazard-points.geojson` is quite large
77
should ideally be kept out of version control.
88

99
## Generate the FlatGeobuf
10+
1011
Convert the GeoJSON to FlatGeobuf for efficient serving:
1112

1213
```bash
@@ -16,12 +17,13 @@ ogr2ogr -f FlatGeobuf \
1617
```
1718

1819
## Generate Vector Tiles
20+
1921
Create Mapbox Vector Tiles with [tippecanoe](https://github.com/mapbox/tippecanoe):
2022

2123
```bash
2224
tippecanoe \
2325
-r1 -pk -pf \
24-
--output-to-directory=data/tiles/hazard_points/ \
26+
--output-to-directory=data/tiles/global-hazard/ \
2527
--force \
2628
--maximum-zoom=15 \
2729
--extend-zooms-if-still-dropping \

pygeoapi/pygeoapi-config.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,16 @@ resources:
6666
id_field: id
6767
options:
6868
limit: 2000 # Add specific limit for this collection
69-
- type: tile
70-
name: MVT-tippecanoe
71-
data: /data/tiles/norway-hazard-points/
72-
options:
73-
zoom:
74-
min: 0
75-
max: 15
76-
format:
77-
name: pbf
78-
mimetype: application/vnd.mapbox-vector-tile
69+
# - type: tile
70+
# name: MVT-tippecanoe
71+
# data: /data/tiles/norway-hazard-points/
72+
# options:
73+
# zoom:
74+
# min: 0
75+
# max: 15
76+
# format:
77+
# name: pbf
78+
# mimetype: application/vnd.mapbox-vector-tile
7979

8080
hazardglobal:
8181
type: collection
@@ -106,16 +106,16 @@ resources:
106106
id_field: id
107107
options:
108108
use_bbox: true # Enable bbox filtering
109-
- type: tile
110-
name: MVT-tippecanoe
111-
data: /data/tiles/global-hazard/
112-
options:
113-
zoom:
114-
min: 0
115-
max: 15
116-
format:
117-
name: pbf
118-
mimetype: application/vnd.mapbox-vector-tile
109+
# - type: tile
110+
# name: MVT-tippecanoe
111+
# data: /data/tiles/global-hazard/
112+
# options:
113+
# zoom:
114+
# min: 0
115+
# max: 15
116+
# format:
117+
# name: pbf
118+
# mimetype: application/vnd.mapbox-vector-tile
119119

120120
hyderabad:
121121
type: collection
@@ -149,13 +149,13 @@ resources:
149149
name: GeoJSON
150150
data: /data/hyderabad/greater_hyderabad_municipal_corporation_ward_Boundaries.geojson
151151
id_field: objectid
152-
- type: tile
153-
name: MVT-tippecanoe
154-
data: /data/tiles/hyderabad/
155-
options:
156-
zoom:
157-
min: 0
158-
max: 16
159-
format:
160-
name: pbf
161-
mimetype: application/vnd.mapbox-vector-tile
152+
# - type: tile
153+
# name: MVT-tippecanoe
154+
# data: /data/tiles/hyderabad/
155+
# options:
156+
# zoom:
157+
# min: 0
158+
# max: 16
159+
# format:
160+
# name: pbf
161+
# mimetype: application/vnd.mapbox-vector-tile

0 commit comments

Comments
 (0)