Tools for aerial and satellite imagery acquisition, processing, annotation, and analysis using artificial intelligence
5
stars
1
forks
source link
Missing attribute table from geoparquet files and failing to read them directly in leafmap #13
Open
sahandv opened 6 months ago
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_table
arguments, as noted in: https://geopandas.org/en/stable/docs/reference/api/geopandas.GeoDataFrame.to_parquet.html