Skip to content

Fix bug when calling aggregateByGeometry after a mapper is set#473

Merged
rtroilo merged 5 commits into
masterfrom
bug_autoaggregation
Nov 10, 2022
Merged

Fix bug when calling aggregateByGeometry after a mapper is set#473
rtroilo merged 5 commits into
masterfrom
bug_autoaggregation

Conversation

@tyrasd
Copy link
Copy Markdown
Member

@tyrasd tyrasd commented Nov 3, 2022

Fixes a crash caused by the autoaggregation code which is triggered when aggregateByGeometry is called after specifying a map function in a query. It's solved by just re-applying the mappers (or flatMappers) after the geometry splitting phase.

See also #451

Checklist

@tyrasd tyrasd added the bug Something isn't working as expected label Nov 3, 2022
@joker234 joker234 force-pushed the bug_autoaggregation branch from 022be16 to 47699eb Compare November 10, 2022 18:05
Copy link
Copy Markdown
Member

@rtroilo rtroilo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@rtroilo rtroilo merged commit 485a33e into master Nov 10, 2022
@rtroilo rtroilo deleted the bug_autoaggregation branch November 10, 2022 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working as expected

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants