Skip to content

Commit

Permalink
Merge pull request #898 from koopjs/pbf-output
Browse files Browse the repository at this point in the history
Support PBF output format for feature service query
  • Loading branch information
rgwozdz authored Jan 25, 2024
2 parents ecd591e + 0c32a35 commit 8a4d5ff
Show file tree
Hide file tree
Showing 58 changed files with 9,066 additions and 953 deletions.
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

0 comments on commit 8a4d5ff

Please sign in to comment.