Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions packages/cli-vector/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
},
"devDependencies": {
"@types/geojson": "^7946.0.7",
"@types/mustache": "^4.2.6",
"@types/polylabel": "^1.1.3",
"@types/tar-stream": "^2.2.2"
},
Expand All @@ -56,6 +57,7 @@
"@linzjs/docker-command": "^7.5.0",
"@linzjs/geojson": "^8.0.0",
"cmd-ts": "^0.12.1",
"mustache": "^4.2.0",
"p-limit": "^6.2.0",
"polylabel": "^2.0.1",
"stac-ts": "^1.0.0",
Expand Down
5 changes: 3 additions & 2 deletions packages/cli-vector/schema/addresses.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": "addresses",
"metadata": { "attributes": ["housenumber", "name", "id"] },
"description": "This layer contains address features represented as `Point` geometries. Each feature includes a `housenumber` property.",
"metadata": { "attributes": ["housenumber"] },
"layers": [
{
"id": "105689",
"name": "105689-nz-addresses-pilot",
"source": "s3://linz-lds-cache/105689/",
"tags": {},
"attributes": { "address_id": "id", "full_address_number": "housenumber" },
"attributes": { "full_address_number": "housenumber" },
"style": { "minZoom": 15, "maxZoom": 15 }
}
]
Expand Down
3 changes: 2 additions & 1 deletion packages/cli-vector/schema/aerialways.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "aerialways",
"metadata": { "attributes": ["kind", "feature", "name"] },
"description": "This layer holds aerialways as `LineString` geometries.",
"metadata": { "attributes": ["kind", "feature"] },
"layers": [
{
"id": "50248",
Expand Down
1 change: 1 addition & 0 deletions packages/cli-vector/schema/boundaries.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "boundaries",
"description": "This layer contains coastline features represented as `Polygon` geometries, indicating land-sea boundaries. Most features include a `name` property.",
"metadata": { "attributes": ["name"] },
"simplify": [
{ "style": { "minZoom": 0, "maxZoom": 0 }, "tolerance": 0.1 },
Expand Down
2 changes: 2 additions & 0 deletions packages/cli-vector/schema/contours.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"name": "contours",
"description": "This layer contains contour line interval features represented as `LineString` geometries, and height peak features represents as `Point` geometries.",
"custom": true,
"metadata": { "attributes": ["designated", "type", "nat_form", "elevation", "kind", "name", "rank"] },
"layers": [
{
Expand Down
2 changes: 1 addition & 1 deletion packages/cli-vector/schema/ferries.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ferries",
"metadata": { "attributes": ["kind", "name"] },
"metadata": { "attributes": ["kind"] },
"layers": [
{
"id": "50269",
Expand Down
1 change: 1 addition & 0 deletions packages/cli-vector/schema/land.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "land",
"description": "This layer contains various land-related features represented as `LineString` and `Polygon` geometries. `Polygon` features represent areas, such as forests or mangroves, while `LineString` features delineate vectors such as cliffs or embankments.",
"metadata": {
"attributes": [
"kind",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli-vector/schema/place_labels.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "place_labels",
"metadata": { "attributes": ["water", "name", "natural", "place"] },
"metadata": { "attributes": ["kind", "water", "name", "natural", "place"] },
"layers": [
{
"id": "51154",
Expand Down
18 changes: 16 additions & 2 deletions packages/cli-vector/schema/pois.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "pois",
"description": "This layer contains features with `Point` geometries.",
"metadata": {
"attributes": [
"leisure",
Expand All @@ -18,7 +19,6 @@
"barrier",
"historic",
"ref",
"ladder",
"fortification_type",
"power",
"farmyard",
Expand Down Expand Up @@ -580,7 +580,7 @@
"id": "50291",
"name": "50291-nz-ladder-points-topo-150k",
"source": "s3://linz-lds-cache/50291/",
"tags": { "ladder": "yes" },
"tags": { "man_made": "ladder" },
"style": { "minZoom": 12, "maxZoom": 15 }
},
{
Expand Down Expand Up @@ -792,6 +792,20 @@
"source": "s3://linz-lds-cache/103476/",
"tags": { "man_made": "trig_point" },
"style": { "minZoom": 12, "maxZoom": 15 }
},
{
"id": "50275",
"name": "50275-nz-ford-points-topo-150k",
"source": "s3://linz-lds-cache/50275/",
"tags": { "waterway": "ford" },
"style": { "minZoom": 12, "maxZoom": 15 }
},
{
"id": "50080",
"name": "50080-nz-chatham-island-ford-points-topo-150k",
"source": "s3://linz-lds-cache/50080/",
"tags": { "waterway": "ford" },
"style": { "minZoom": 12, "maxZoom": 15 }
}
]
}
91 changes: 0 additions & 91 deletions packages/cli-vector/schema/streets.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,83 +176,6 @@
{ "style": { "minZoom": 11, "maxZoom": 15 } }
]
},
{
"id": "50237",
"name": "50237-nz-airport-polygons-topo-150k",
"source": "s3://linz-lds-cache/50237/",
"tags": { "kind": "aerodrome" },
"style": { "minZoom": 10, "maxZoom": 15 }
},
{
"id": "50063",
"name": "50063-nz-chatham-island-airport-polygons-topo-150k",
"source": "s3://linz-lds-cache/50063/",
"tags": { "kind": "aerodrome" },
"style": { "minZoom": 10, "maxZoom": 15 }
},
{
"id": "52231",
"name": "52231-cook-islands-airport-polygons-topo-125k-zone4",
"source": "s3://linz-lds-cache/52231/",
"tags": { "kind": "aerodrome" },
"style": { "minZoom": 0, "maxZoom": 15 }
},
{
"id": "52168",
"name": "52168-niue-airport-polygons-topo-150k",
"source": "s3://linz-lds-cache/52168/",
"tags": { "kind": "aerodrome" },
"style": { "minZoom": 0, "maxZoom": 15 }
},
{
"id": "50333",
"name": "50333-nz-runway-polygons-topo-150k",
"source": "s3://linz-lds-cache/50333/",
"tags": { "kind": "runway" },
"style": { "minZoom": 10, "maxZoom": 15 }
},
{
"id": "50914",
"name": "50914-nz-kermadec-is-runway-polygons-topo-125k",
"source": "s3://linz-lds-cache/50914/",
"tags": { "kind": "runway" },
"style": { "minZoom": 12, "maxZoom": 15 }
},
{
"id": "52302",
"name": "52302-cook-islands-runway-polygons-topo-125k-zone3",
"source": "s3://linz-lds-cache/52302/",
"tags": { "kind": "runway" },
"style": { "minZoom": 13, "maxZoom": 15 }
},
{
"id": "52268",
"name": "52268-cook-islands-runway-polygons-topo-125k-zone4",
"source": "s3://linz-lds-cache/52268/",
"tags": { "kind": "runway" },
"style": { "minZoom": 13, "maxZoom": 15 }
},
{
"id": "52211",
"name": "52211-cook-islands-runway-polygons-topo-150k-zone4",
"source": "s3://linz-lds-cache/52211/",
"tags": { "kind": "runway" },
"style": { "minZoom": 13, "maxZoom": 15 }
},
{
"id": "52190",
"name": "52190-niue-runway-polygons-topo-150k",
"source": "s3://linz-lds-cache/52190/",
"tags": { "kind": "runway" },
"style": { "minZoom": 13, "maxZoom": 15 }
},
{
"id": "50103",
"name": "50103-nz-chatham-island-runway-polygons-topo-150k",
"source": "s3://linz-lds-cache/50103/",
"tags": { "kind": "runway" },
"style": { "minZoom": 10, "maxZoom": 15 }
},
{
"id": "50244",
"name": "50244-nz-bridge-centrelines-topo-150k",
Expand Down Expand Up @@ -281,20 +204,6 @@
"tags": { "kind": "secondary", "bridge": "true" },
"style": { "minZoom": 10, "maxZoom": 15 }
},
{
"id": "50275",
"name": "50275-nz-ford-points-topo-150k",
"source": "s3://linz-lds-cache/50275/",
"tags": { "kind": "secondary", "ford": "true" },
"style": { "minZoom": 12, "maxZoom": 15 }
},
{
"id": "50080",
"name": "50080-nz-chatham-island-ford-points-topo-150k",
"source": "s3://linz-lds-cache/50080/",
"tags": { "kind": "secondary", "ford": "true" },
"style": { "minZoom": 12, "maxZoom": 15 }
},
{
"id": "50366",
"name": "50366-nz-tunnel-centrelines-topo-150k",
Expand Down
Loading