From 447771f0b244d193decba45c90693bc78e3d1e0c Mon Sep 17 00:00:00 2001 From: Mark Keller <7525285+keller-mark@users.noreply.github.com> Date: Fri, 18 Jul 2025 14:51:31 -0400 Subject: [PATCH 1/2] Add note about on-disk locations of point attributes --- docs/design_doc.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/design_doc.md b/docs/design_doc.md index a46d41f81..ad2883281 100644 --- a/docs/design_doc.md +++ b/docs/design_doc.md @@ -234,9 +234,9 @@ The requirements are the following: - The table MUST contains axis name to represent the axes. - If it's 2D, the axes should be `["x","y"]`. - If it's 3D, the axes should be `["x","y","z"]`. -- It MUST also contains coordinates transformations in `dask.dataframe.DataFrame().attrs["transform"]`. +- It MUST also contain coordinates transformations in `dask.dataframe.DataFrame().attrs["transform"]` (or on-disk in `.attrs["coordinateTransformations"]` for the Zarr Group containing the Element). -Additional information is stored in `dask.dataframe.DataFrame().attrs["spatialdata_attrs"]` +Additional information is stored in `dask.dataframe.DataFrame().attrs["spatialdata_attrs"]` (or on-disk in `.attrs["spatialdata_attrs"]` for the Zarr Group containing the Element). - It MAY also contains `"feature_key"`, that is, the column name of the table that refers to the features. This `Series` MAY be of type `pandas.Categorical`. - It MAY contains additional information in `dask.dataframe.DataFrame().attrs["spatialdata_attrs"]`, specifically: From 0c9c95cb897892c074e03e58a13eae98b76cc6bc Mon Sep 17 00:00:00 2001 From: Mark Keller <7525285+keller-mark@users.noreply.github.com> Date: Fri, 18 Jul 2025 15:29:04 -0400 Subject: [PATCH 2/2] Update design_doc.md --- docs/design_doc.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/design_doc.md b/docs/design_doc.md index ad2883281..da2492cf1 100644 --- a/docs/design_doc.md +++ b/docs/design_doc.md @@ -234,7 +234,7 @@ The requirements are the following: - The table MUST contains axis name to represent the axes. - If it's 2D, the axes should be `["x","y"]`. - If it's 3D, the axes should be `["x","y","z"]`. -- It MUST also contain coordinates transformations in `dask.dataframe.DataFrame().attrs["transform"]` (or on-disk in `.attrs["coordinateTransformations"]` for the Zarr Group containing the Element). +- It MUST also contain coordinate transformations in `dask.dataframe.DataFrame().attrs["transform"]` (or on-disk in `.attrs["coordinateTransformations"]` for the Zarr Group containing the Element). Additional information is stored in `dask.dataframe.DataFrame().attrs["spatialdata_attrs"]` (or on-disk in `.attrs["spatialdata_attrs"]` for the Zarr Group containing the Element).