Skip to content

Lack of symmetry between shapes and points in on-disk format #1134

Description

@Bisaloo

(Feel free to transfer this issue if it'd be more appropriate in https://github.com/scverse/spatialdata-io.)

While working on HelenaLC/spatialdataR#198, I noticed that shapes and points are not treated the same in the on-disk representation of SpatialData:

  • shapes are in shapes/layer_name/shapes.parquet
  • points are points/layer_name/points.parquet/part.0.parquet

Is this intended & desirable that the actual parquet file is stored one level deeper for points than for shapes? Conceptually, I don't see any reasons why they shouldn't be stored based exactly on the same path constructor. The current situation seems like a technical constraint has driven the file tree structure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions