Skip to content

flesh out GI for tables and rows#136

Open
asinghvi17 wants to merge 3 commits into
mainfrom
as/fixfc
Open

flesh out GI for tables and rows#136
asinghvi17 wants to merge 3 commits into
mainfrom
as/fixfc

Conversation

@asinghvi17

Copy link
Copy Markdown
Member

cc @tiemvanderdeure

This still needs more fixes for GeometryOps compat which I will add as time permits. But in general at least it helps.

Comment thread src/table.jl
GeoInterface.crs(::GeoInterface.FeatureCollectionTrait, t::Table) = GeoInterface.crs(getshp(t))

GeoInterface.trait(::Table) = GeoInterface.FeatureCollectionTrait()
GeoInterface.getfeature(t::Table) = t No newline at end of file

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I added a line for this to the tests. Of course it's a trivial implementation but don't we still need it?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I would rather leave that to the default iterator, because you call GI.getfeature on this and it returns exactly the same thing, which is pretty confusing IMO

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lets not delete it its mildly breaking

@rafaqz

rafaqz commented Oct 18, 2025

Copy link
Copy Markdown
Member

Can we test and merge this I just hit it again...

@rafaqz

rafaqz commented Oct 18, 2025

Copy link
Copy Markdown
Member

Ok I (e.g. gemini) added tests. And reverted the deletion of getfeature we dont want a breaking release

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.

3 participants