Skip to content
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

Support PBF output format for feature service query #898

Merged
merged 9 commits into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions .changeset/rare-singers-matter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@koopjs/featureserver': minor
---

- add support for PBF output on query endpoint
5 changes: 5 additions & 0 deletions .changeset/weak-spies-rescue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@koopjs/koop-core': minor
---

- add support for PBF format on GeoService output plugin query enpoint
23 changes: 23 additions & 0 deletions demo/provider-data/square.geojson
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"type" : "FeatureCollection",
"features" : [
{
"type" : "Feature",
"geometry" :
{
"type" : "Polygon",
"coordinates" :
[
[
[-121, 48],
[-121, 47],
[-122, 47],
[-122, 48],
[-121, 48]
]
]
},
"properties" : null
}
]
}
168 changes: 164 additions & 4 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 packages/featureserver/.nycrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"include": [
"src/**/*.js"
],
"exclude": ["**/*.spec.js"],
"exclude": ["**/*.spec.js", "**/FeatureCollection.proto.js"],
"includeAllSources": true
}
8 changes: 4 additions & 4 deletions packages/featureserver/coverage-unit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions packages/featureserver/coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/featureserver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"joi": "^17.12.0",
"lodash": "^4.17.21",
"postgres-date": "^2.1.0",
"protobufjs": "^7.2.5",
"wkt-parser": "^1.3.3"
},
"devDependencies": {
Expand Down
13 changes: 0 additions & 13 deletions packages/featureserver/src/geoservice-error.js

This file was deleted.

18 changes: 0 additions & 18 deletions packages/featureserver/src/helpers/calculate-extent.js

This file was deleted.

Loading
Loading