scverse / scverse/spatialdata

Parse and validate against `POLYGON Z` (same for points and multipolygons) in the `ShapesModel`

Open
#505 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

element: shapes ▲
Dominant language
Python
Stars
394
Forks
95
Avg merge
4d 3h
Merged PRs (30d)
7

Description

The z dimension in shapely objects can create problems downstream, as for example here: https://github.com/scverse/spatialdata-plot/issues/230. We should validate this at the level of the data model.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the ShapesModel and reading how it parses and validates shapely objects for points and polygons. Check the existing validation behavior for POLYGON Z and related multipolygon shapes, then confirm that the model consistently handles the z dimension before downstream use.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.