spatialdata
spatialdata copied to clipboard
`ShapesModel.parse()`, for `.geojson` files, ignores non-geometry colums.
The spatialdata_io.visium_hd() SpaceRanger 4.0 reader needs to read non-geometry columns from a .geojson file and store them to a GeoDataFrame. Since ShapesModel.parse() ignores such non-geometry columns, @stephenwilliams22 has to write a custom function spatialdata_io.readers.visium_hd._extract_geometries_from_geojson().
It would be convenient to extend ShapesModel.parse() to make it read non-geometry columns, so that visium_hd() can be simplified.