-
Notifications
You must be signed in to change notification settings - Fork 14k
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(ocient): convert pyocient GIS data types to geoJSON #23814
fix(ocient): convert pyocient GIS data types to geoJSON #23814
Conversation
Codecov Report
@@ Coverage Diff @@
## master #23814 +/- ##
==========================================
- Coverage 68.31% 68.29% -0.02%
==========================================
Files 1951 1951
Lines 75385 75401 +16
Branches 8185 8185
==========================================
+ Hits 51496 51498 +2
- Misses 21786 21800 +14
Partials 2103 2103
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
The previous implementation did not emit a Deck.gl-compatible GIS types correctly in all cases. Now, the Ocient engine will always return geoJSON for geospatial types, including types that are upcasted and placed into type-safe GIS containers (i.e. a Polygon[] geo collection that contains point and linestring objects).
736b627
to
287bba1
Compare
Closing and reopening to kick off new CI run |
There's a CSV test broken on the master branch. Once the fix has been merged I will close/reopen |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but would love to get some additional eyes on this, so pinging @villebro @john-bodley @michael-s-molina for extra 👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks for the added tests!
…ms/ocient-geospatial-cleanup
Thank YOU! |
SUMMARY
This PR addresses a bug that sometimes causes the Ocient engine to emit invalid polygon and linestring objects. See commit messages for more info.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION