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 protobufs (pbf) #3

Open
allthesignals opened this issue Jun 7, 2022 · 1 comment
Open

Support protobufs (pbf) #3

allthesignals opened this issue Jun 7, 2022 · 1 comment

Comments

@allthesignals
Copy link

IQueryFeaturesOptions allows for pbf file format but query-all-features only supports JSON. We should support this for easier data transfer.

@allthesignals allthesignals changed the title Support protobuffers (pbf) Support protobufs (pbf) Jun 7, 2022
@gavinr
Copy link
Owner

gavinr commented Jun 9, 2022

Thanks for logging the issue. As far as I'm aware, to merge PBF files it is not as simple as joining the binary files together; I think the file contents would need to be parsed and then joined, which is outside the scope of ArcGIS REST JS:

NOTE: for "pbf" you must also supply rawResponse: trueand parse the response yourself using response.arrayBuffer()

(from the link you provided)

If parsing is required, I think that's outside the scope of this repository. I do think there's probably a need for someone to create a library that helps with this though, probably using arcgis-pbf and/or arcgis-pbf-parser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants