The attribute table from geoparquet files is missing and it's failing to read them directly in leafmap.
leafmap.read_parquet() fails because it expects some sort of detailed attribute table. leafmap.add.vector() fails too, same reason.
The workaround has been to use gdf = gpd.read_parquet() and then leafmap.add_gdf(),
To fix this and potential future problems, we should experiment with different compressions and write_table arguments, as noted in:
https://geopandas.org/en/stable/docs/reference/api/geopandas.GeoDataFrame.to_parquet.html
The attribute table from geoparquet files is missing and it's failing to read them directly in leafmap.
leafmap.read_parquet()fails because it expects some sort of detailed attribute table.leafmap.add.vector()fails too, same reason.The workaround has been to use
gdf = gpd.read_parquet()and thenleafmap.add_gdf(),To fix this and potential future problems, we should experiment with different compressions and
write_tablearguments, as noted in:https://geopandas.org/en/stable/docs/reference/api/geopandas.GeoDataFrame.to_parquet.html