Skip to content

Geopandas: Refactor GeoDataframe logic to properly manage the active geometry column #2006

Open
@petern48

Description

@petern48

Currently, the GeoDatafram simply selected the first geometry column it finds.

first_col = self.get_first_geometry_column()

However Geopandas actually allows multiple geometry columns and the developer can select which one by changing the active geometry column, such as using the .set_geometry() method

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions