geopandas / pyogrio

Vectorized vector I/O using OGR
https://pyogrio.readthedocs.io
MIT License
258 stars 22 forks source link

Handle native geometry field name when reading from data sources that support alternative names #372

Open brendan-ward opened 4 months ago

brendan-ward commented 4 months ago

We always use geometry as the geometry field name when reading from a data source, even if the data source uses a different name for geometry, which could be confusing when displaying the native geometry name in read_info as per #365.

This likely has implications for data sources with multiple geometries.

Users likely rely on the geometry column of a GeoDataFrame being named geometry, so we need to define desirable behavior in this case.

Reading additional geometry columns would likely use their native names, correct?