-
Notifications
You must be signed in to change notification settings - Fork 126
Query features with pbf-as-geojson and pbf-as-arcgis format parameters #1283
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
base: main
Are you sure you want to change the base?
Conversation
packages/arcgis-rest-feature-service/src/pbf-parser/arcGISPbfParser.ts
Outdated
Show resolved
Hide resolved
patrickarlt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dixonyant overall this looks good I have a few small tweaks in the comments. I would really like to see 3 tests that are specific to making sure the geometry parsing is working properly for points, lines and polygons. There is some testing of this in the live tests but I think a dedicated test for these with a single feature would be good.
packages/arcgis-rest-feature-service/src/pbf-parser/arcGISPbfParser.ts
Outdated
Show resolved
Hide resolved
packages/arcgis-rest-feature-service/test/pbf-parser/arcGISPbfParser.test.ts
Show resolved
Hide resolved
packages/arcgis-rest-feature-service/test/pbf-parser/arcGISPbfParser.test.ts
Show resolved
Hide resolved
gowin20
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My only comment is about the valid f values for queryAllFeatures. Everything else looks really good!
…oduce sqlType parser field decoding
Minimum allowed line rate is |
Description:
We need a way to query pbf as geojson or arcgis json objects to speed up load times for larger data sets, such as on-demand feature loading in MapLibre.
Adding support for f=pbf-as-geojson and f=pbf-as-arcgis to queryFeatures() and queryAllFeatures() for issue #1271.
This PR adds two format query params to queryFeatures and queryAllFeatures:
Additions:
Known/future Issues: (pbf-as-arcgis)
Testing distribution:
LIVE Tests: test parser and query features against live endpoints
Local Tests: