Skip to content

Conversation

asinghvi17
Copy link
Contributor

@asinghvi17 asinghvi17 commented Jul 26, 2025

LinearRingTrait -> LineString in convert, so at least converting any polygon will work
Line convert method added as well

@asinghvi17
Copy link
Contributor Author

We need to add GI.testgeometry on sample geoms of all dimensions. That should also bump up coverage generally.

geointerface_geomtype(::GeoInterface.MultiPointTrait) = MultiPoint
geointerface_geomtype(::GeoInterface.LineTrait) = Line
geointerface_geomtype(::GeoInterface.LineStringTrait) = LineString
geointerface_geomtype(::GeoInterface.LinearRingTrait) = LineString
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Lol I just ran into this again, we should get this in!

Copy link
Contributor

Choose a reason for hiding this comment

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

I feel like I have also fixed this multiple times locally 😭

Copy link
Contributor

Choose a reason for hiding this comment

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

Get the codecov bot onto it? I'm not a member here

@asinghvi17 asinghvi17 changed the title [WIP] GeoInterface improvements GeoInterface improvements Oct 3, 2025
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.

2 participants