-
Notifications
You must be signed in to change notification settings - Fork 25
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
Simplify Wkt data structure #110
Conversation
efaf61c
to
e08daf4
Compare
e08daf4
to
d0201d9
Compare
@@ -142,7 +141,7 @@ impl<T> WktFloat for T where T: WktNum + Float {} | |||
|
|||
#[derive(Clone, Debug, PartialEq)] | |||
/// All supported WKT geometry [`types`] | |||
pub enum Geometry<T> |
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.
The crux of the change is this and deleting the old Wkt
struct
This is a large breaking change to simplify the Wkt data structure. Wkt had a single field - `item` of type `Geometry`. So everything about a Wkt was determined by its item. In effect, Wkt was serving no purpose. So I replaced Wkt with it's inner Geometry.
d0201d9
to
87e501d
Compare
This sat here a long time and I forgot about it. I've rebased! Can I get another review? |
Well, I got an approval a long time ago and it really seems like no one cares much, so I'm going to merge this before it goes stale again. |
Ah the luck of you merging this right when I was working on ZM support 🥲 |
CHANGES.md
if knowledge of this change could be valuable to users.This is based on #109, so review that first.Merged!It's a large breaking change, so I'd appreciate getting at least a couple opinions.