Query features with pbf-as-geojson and pbf-as-arcgis format parameters#1283
Merged
Query features with pbf-as-geojson and pbf-as-arcgis format parameters#1283
Conversation
patrickarlt
requested changes
Feb 7, 2026
Contributor
patrickarlt
left a comment
There was a problem hiding this comment.
@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.
gowin20
reviewed
Feb 9, 2026
Contributor
gowin20
left a comment
There was a problem hiding this comment.
My only comment is about the valid f values for queryAllFeatures. Everything else looks really good!
…oduce sqlType parser field decoding
gowin20
approved these changes
Feb 11, 2026
patrickarlt
requested changes
Feb 13, 2026
Contributor
patrickarlt
left a comment
There was a problem hiding this comment.
@dixonyant This looks great! Last step would be to npx changeset and document everything for the changelog.
Contributor
Minimum allowed line rate is |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: