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

Fix crashing during diff with 3d geometries #484

Merged
merged 1 commit into from
Oct 1, 2021
Merged

Conversation

craigds
Copy link
Member

@craigds craigds commented Oct 1, 2021

Description

diff was crashing when run against a working copy when the diffed geometries contained Z or M components. This fixes the issue and includes a test which runs against a tiny XYZ point dataset.

Related links:

Fixes #483

Checklist:

  • Have you reviewed your own change?
  • Have you included test(s)?
  • Have you updated the changelog?

@craigds craigds requested a review from rcoup October 1, 2021 02:58
Copy link
Member

@rcoup rcoup left a comment

Choose a reason for hiding this comment

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

Great!

Wider question: I wonder if it's worth having Z,M,ZM test datasets just to flush out some of this stuff? Though would need to be an E2E test we can parameterise that works through the core operations (diff/restore/commit/checkout/merge/conflicts/resolve/etc) with different datasets.

@rcoup rcoup merged commit 8e928ff into master Oct 1, 2021
@rcoup rcoup deleted the fix-3d-geometry-diff branch October 1, 2021 08:47
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.

Kart throws "ValueError: 1006 is not a valid GeometryType"
2 participants