Skip to content

[TINKERPOP-2558] - Proposal for First-Class Geospatial Types - #3743

Merged
kenhuuu merged 1 commit into
apache:masterfrom
GumpacG:geospatial-proposal
Nov 9, 2026
Merged

kenhuuu merged 1 commit into
apache:masterfrom
GumpacG:geospatial-proposal

Conversation

@GumpacG

@GumpacG GumpacG commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

As discussed previously (see the devlist thread and the Jira), this proposal aims to add a first-class Geometry value type to Gremlin, following SQL/MM and PostGIS.

Each value carries a model, CARTESIAN or GEOGRAPHIC, backed by an SRID, which decides how it is measured. The proposal defines spatial predicates (geoWithin, geoContains, geoIntersects, geoDisjoint, geoWithinDistance, geoIntersectsBox, geoEquals) and steps (distance, buffer, envelope, asGeometry, asGeography), a Geometry(...) literal in the grammar, GType entries for the shapes and models, a total ordering, and a GraphBinary and GraphSON format.

JTS would become a new gremlin-core dependency.

Assisted-by: Kiro:claude-opus-5.5
@codecov-commenter

codecov-commenter commented Oct 27, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.38%. Comparing base (a28cd1f) to head (3bfd3b3).
⚠️ Report is 973 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3743      +/-   ##
============================================
+ Coverage     76.35%   77.38%   +1.02%     
- Complexity    13424    14971    +1547     
============================================
  Files          1012     1050      +38     
  Lines         60341    66663    +6322     
  Branches       7075     7991     +916     
============================================
+ Hits          46076    51588    +5512     
- Misses        11548    11871     +323     
- Partials       2717     3204     +487     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@kenhuuu

kenhuuu commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Reached lazy consensus.

@kenhuuu
kenhuuu merged commit 767fcad into apache:master Nov 9, 2026
49 of 50 checks passed
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.

3 participants