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 geobuf sketch parameter to geoprocessing function #294

Merged
merged 5 commits into from
May 21, 2024
Merged

Conversation

twelch
Copy link
Contributor

@twelch twelch commented May 21, 2024

GeoprocessingHandler has always supported sending a sketch as GeoJSON string, directly in event payload, within the 6MB lambda limit. This PR adds support for geometry to be sent in compact geobuf format, using an additional geometryGeobuf parameter, that expects a geobuf encoded as a base64 text string. fetchGeoJSON now looks for and uses this parameter first, before geometry or geometryUri. The geoprocessing function continues to just receives it's sketch input in the end, doesn't care or need to know how it was received behind the scenes.

@twelch twelch merged commit 780c687 into dev May 21, 2024
2 checks passed
@twelch twelch deleted the worker-perf branch May 21, 2024 19:39
twelch added a commit that referenced this pull request Jun 25, 2024
* add geobuf geometry to support request param

* clean up GeoprocessingRequest types

* add geobuf decoding from GeoprocessingRequest
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

Successfully merging this pull request may close these issues.

None yet

1 participant