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

Geometry formatters should be applied to the full array (#75177) #75341

Merged
merged 1 commit into from
Jul 14, 2021

Conversation

iverase
Copy link
Contributor

@iverase iverase commented Jul 14, 2021

Currently when formatting a geometry object, we applyy formatting to each element of an array individually. For many cases that is enough but we oversee that some formatters (eg. vector tiles) needs to be applied to the whole array at once. At the end of the day an array of geometries is equivalent to a Geometry collection.

Therefore this PR changes the way we process formatters so they are apply to a List of Geometries.

backport #75177

Changes the way we fetch values from source in geo fields so we can format all data in one go.
@iverase iverase merged commit b2b80f7 into elastic:7.x Jul 14, 2021
@iverase iverase deleted the backport75177 branch July 14, 2021 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant