Skip to content

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

Merged
iverase merged 1 commit intoelastic:7.xfrom
iverase:backport75177
Jul 14, 2021
Merged

Geometry formatters should be applied to the full array (#75177)#75341
iverase merged 1 commit intoelastic:7.xfrom
iverase:backport75177

Conversation

@iverase
Copy link
Copy Markdown
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