Skip to content

Missing attribute table from geoparquet files and failing to read them directly in leafmap #13

Description

@sahandv

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions