Skip to content

62 spatial data update#73

Open
karinpatenge wants to merge 8 commits into
oracle:mainfrom
karinpatenge:62-spatial-data-update
Open

62 spatial data update#73
karinpatenge wants to merge 8 commits into
oracle:mainfrom
karinpatenge:62-spatial-data-update

Conversation

@karinpatenge

Copy link
Copy Markdown

spatial-data.md reviewed and updated by Spatial PM

karinpatenge and others added 8 commits June 19, 2026 18:43
First review and update y Spatial and Graph PM team finished
Findings:
1. The SDO_GTYPE table is materially wrong and will teach the wrong encodings. In /tmp/spatial-data-pr73.md:44, 2004/3004 are labeled as polygons instead of collections, 2005/3005 are labeled as multipoints but mapped to point constants, and the 2006/3002 rows are duplicated/mislabeled. This is core reference material, so a reader copying it will build bad geometries.
List of findings corrected:
1. Several SQL examples are not runnable as written. In /tmp/spatial-data-pr73.md:489, the 3D USER_SDO_GEOM_METADATA example is missing commas between SDO_DIM_ELEMENT calls.
2. In /tmp/spatial-data-pr73.md:657, ALTER INDEX sp_idx refers to an index name that was never created in the snippet.
3. In /tmp/spatial-data-pr73.md:1444, 53,653 is not a valid numeric literal, and /tmp/spatial-data-pr73.md:1480 has a corrupted AND´s.is_open predicate.
4. In /tmp/spatial-data-pr73.md:1774, the SDO_DIFFERENCE example repeats m1 and references undefined aliases. These are copy/paste blockers.
Corrected finding:
The tolerance guidance is internally inconsistent and the units explanation is wrong or at least misleading. /tmp/spatial-data-pr73.md:464 says geographic tolerance is in "unit-spheres" and recommends 0.005, but later examples use 1 with comments claiming "1 meter tolerance." A user following this section will not get a coherent setup for metadata and validation.
Rewrite of the opening support/licensing statement.
@karinpatenge

Copy link
Copy Markdown
Author

Please review the PR

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant