Skip to content

feat(cli-vector): New cli to create and join mbtiles for vector map. BM-1268 #3435

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 31 commits into from
Jun 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
d87e120
Update the extrac cli to create stac files for cache mbtiles
Wentao-Kuang Apr 24, 2025
d80535c
prepare the toProcess as stac item urls
Wentao-Kuang Apr 24, 2025
8169c0e
Create mbtiles cli
Wentao-Kuang Apr 28, 2025
ea735d0
Add generalization.
Wentao-Kuang Apr 28, 2025
ea0f0c4
Add missing dependencies
Wentao-Kuang Apr 28, 2025
e67db2e
Add some to tasks
Wentao-Kuang Apr 28, 2025
a7a9473
feat(cli-vector): introduce logic for overriding feature metadata and…
tawera-manaena May 25, 2025
7478b60
Merge branch 'master' into feat/etl-create
Wentao-Kuang May 25, 2025
cc56dc7
Remove chunkd package from cli-vector
Wentao-Kuang May 25, 2025
992729d
Minor tiddy up.
Wentao-Kuang May 25, 2025
3c368bb
Fix lint
Wentao-Kuang May 25, 2025
e32ceb8
Fix dockerfile
Wentao-Kuang May 25, 2025
76518b6
Revert the container workflow changes
Wentao-Kuang May 25, 2025
510a155
refactor(cli-vector): refine logic for capturing and writing gen-ndjs…
tawera-manaena May 26, 2025
99285bb
Enable to use group in the argo workflow
Wentao-Kuang May 26, 2025
9ca3876
Copy the Schema json into container
Wentao-Kuang May 26, 2025
4deb3c8
Fix the tmp path
Wentao-Kuang May 26, 2025
a674534
Head the lds-cache file before readStream to register the role.
Wentao-Kuang May 26, 2025
78bc326
Remove zod checking in generazation
Wentao-Kuang May 26, 2025
e74687d
feat(cli-vector): new cli to join mbtiles BM-1269 (#3437)
ccbblin May 26, 2025
04931ea
Add TileJoin into the cli-vector
Wentao-Kuang Jun 2, 2025
ce09a1d
Tidy up the packages installed.
Wentao-Kuang Jun 3, 2025
44d344c
Add missing linzjs/geojson
Wentao-Kuang Jun 3, 2025
d5df28f
Remove @types/mapbox__geojson-area
Wentao-Kuang Jun 3, 2025
94480e8
fix(cli-vector): correct VectorGeoFeature type
tawera-manaena Jun 3, 2025
51adb81
fix(cli-vector): restore p-limit dependency
tawera-manaena Jun 3, 2025
a3f572e
fix(cli-vector): restore VectorGeoFeature type
tawera-manaena Jun 3, 2025
58cb822
Add missing cotar dependencies
Wentao-Kuang Jun 3, 2025
1c59152
Fix the stac links in joint mbtiles
Wentao-Kuang Jun 3, 2025
9e2085e
Update packages/cli-vector/src/cli/cli.create.ts
Wentao-Kuang Jun 4, 2025
a1026a8
Fix lint
Wentao-Kuang Jun 4, 2025
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
1 change: 1 addition & 0 deletions .github/workflows/containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ jobs:
cp *.tgz packages/cli/
cp -r packages/lambda-tiler/static/ packages/server/
cp -r packages/lambda-tiler/static/ packages/cli/
cp -r packages/cli-vector/schema/ packages/cli/

- name: Create docker metadata
id: meta
Expand Down
150 changes: 108 additions & 42 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@linzjs/style": "^5.4.0",
"@types/aws-lambda": "^8.10.75",
"@types/geojson": "^7946.0.7",
"@types/node": "^20.14.8",
"@types/node": "^22.15.24",
"@types/sinon": "^17.0.2",
"conventional-github-releaser": "^3.1.5",
"cross-env": "^7.0.3",
Expand Down
26 changes: 19 additions & 7 deletions packages/cli-vector/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,30 @@
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"devDependencies": {
"@basemaps/config": "^8.1.0",
"@basemaps/shared": "^8.1.0",
"@types/node-fetch": "^2.6.12",
"cmd-ts": "^0.12.1",
"p-limit": "^4.0.0",
"stac-ts": "^1.0.0"
"@types/geojson": "^7946.0.7",
"@types/polylabel": "^1.1.3",
"@types/tar-stream": "^2.2.2"
},
"publishConfig": {
"access": "public"
},
"files": [
"build/",
"dist/"
]
],
"dependencies": {
"@basemaps/config": "^8.1.0",
"@basemaps/geo": "^8.0.0",
"@basemaps/shared": "^8.1.0",
"@cotar/builder": "^6.0.1",
"@cotar/core": "^6.0.1",
"@linzjs/docker-command": "^7.5.0",
"@linzjs/geojson": "^8.0.0",
"cmd-ts": "^0.12.1",
"p-limit": "^6.2.0",
"polylabel": "^2.0.1",
"stac-ts": "^1.0.0",
"tar-stream": "^2.2.0",
"zod": "^3.24.4"
}
}
2 changes: 1 addition & 1 deletion packages/cli-vector/schema/contours.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "contours",
"metadata": { "attributes": ["designated", "type", "nat_form", "elevation", "kind", "name"] },
"metadata": { "attributes": ["designated", "type", "nat_form", "elevation", "kind", "name", "rank"] },
"layers": [
{
"id": "50768",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli-vector/schema/street_labels.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "street_labels",
"metadata": { "attributes": ["name"] },
"metadata": { "attributes": ["kind", "ref", "name"] },
"layers": [
{
"id": "50329",
Expand Down
Loading