Open martinfleis opened 1 month ago
I was having a quick look into this, it doesn't seem too hard to support. One question though, if this works and you do
gdf_read = gpd.read_parquet("temp.pq")
would you expect gdf_read.active_geometry_name
to be "geometry"
or ("geometry", "")
? There's some discussion related to this over at #2088. I think it would be nice if this round tripped faithfully, but might be a bit harder to do
Whatever it was in the original gdf used to save the Parquet. But we may be limited here by the GeoParquet specification that may understand only a simple column name...
While pandas has no issue with MultiIndex being used for columns when saving to Parquet, GeoPandas complains.
We explicitly disallow that. It would be good to get rid of this limitation.