🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@smithdc1
Copy link
Member

@smithdc1 smithdc1 commented Dec 8, 2025

Speculative patch to address #20338 (comment)

When dropping support for GEOS 3.13 the `GEOSCoordSeq_hasZ()` function will be available on all supported GEOS versions. Instead of the parent geometry providing the z dimension we can reply on GEOSCoordSeq functions directly. This will follow a similar implementation to what was done for the M dimension.

While it could be adopted earlier we would need to guess that geometries with 3 dimensions on GEOS < 3.14 are Z geometries.
@github-actions github-actions bot added the no ticket Based on PR title, no linked Trac ticket label Dec 8, 2025
@github-actions
Copy link

github-actions bot commented Dec 8, 2025

📊 Coverage Report for Changed Files

-------------
Diff Coverage
Diff: origin/main...HEAD, staged and unstaged changes
-------------
django/contrib/gis/geos/coordseq.py (0.0%): Missing lines 12,63-68,85,88-89,91-92,94-95,99-100,102-103,105-106,110-116,119,122,124-125,127-128,132,136,138-141,143-146,185,187,189,191,212-213,217-218,220,233,235,237-238
django/contrib/gis/geos/point.py (0.0%): Missing lines 73,75
django/contrib/gis/geos/prototypes/coordseq.py (0.0%): Missing lines 2,4,9,25,29-31,48,51,59,61,81-84,99-101,104-106,113
-------------
Total:   80 lines
Missing: 80 lines
Coverage: 0%
-------------


Note: Missing lines are warnings only. Some lines may not be covered by SQLite tests as they are database-specific.

For more information about code coverage on pull requests, see the contributing documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no ticket Based on PR title, no linked Trac ticket

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant