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

Add an option to including bounding box information with elements. #851

Merged
merged 1 commit into from
May 3, 2022

Conversation

manthey
Copy link
Member

@manthey manthey commented May 3, 2022

This adds an option to the GET annotation/{id} endpoint and to the annotationelement.yieldElements method. The annotationelement.getElements and annotation.load methods support passing the additional bbox=True argument as part of the region request.

The result that includes the _elementQuery record also has the bounding box for the specific query (it is of just the elements that are returned if they are paged or limited).

Closes #850.

This adds an option to the GET annotation/{id} endpoint and to the
annotationelement.yieldElements method.  The
annotationelement.getElements and annotation.load methods support
passing the additional bbox=True argument as part of the region request.

The result that includes the _elementQuery record also has the bounding
box for the specific query (it is of just the elements that are returned
if they are paged or limited).

Closes #850.
@manthey manthey merged commit 32dbb06 into master May 3, 2022
@manthey manthey deleted the annotation-bbox branch May 3, 2022 20:45
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.

Allow returning bounding box information with annotations
1 participant