[
https://issues.apache.org/jira/browse/TINKERPOP-2558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18145797#comment-18145797
]
ASF GitHub Bot commented on TINKERPOP-2558:
-------------------------------------------
GumpacG opened a new pull request, #3812:
URL: https://github.com/apache/tinkerpop/pull/3812
Second implementation pull request for the geospatial proposal
(`proposal-geospatial-10.asciidoc`). Adds
serialization in GraphBinary, GraphSON and Gryo, and geometry types with a
GraphBinary codec in each GLV.
## Changes
- **GraphBinary:** type code `0x31`, value `{srid}{wkb}`, an `Int` SRID
followed by ISO WKB with no length prefix.
`GeometrySerializer` reads through `Geometry.fromWkb(InputStream, int)`, a
new public method that reads one
geometry from a stream.
- **GraphSON 4:** `{"wkt": ..., "model": ...}`, registered in the core
module. Writing an `OTHER` model fails, and
reading a missing, unknown or `OTHER` model fails.
- **Gryo 1 and 3:** one registration per kind, ids 205 to 211, with the body
`{srid}{length}{wkb}`.
- **GLVs:** Python, JavaScript, .NET and Go each gain the seven kinds, the
abstract `Curve`, `Surface`, `MultiCurve`
and `MultiSurface`, `Model`, and a GraphBinary codec. Values validate on
construction, compare exactly, and write
WKT, EWKT and big-endian ISO WKB.
- **Fixtures:** 10 `.gbin` and 9 `.json` geometry files in gremlin-test,
with their `Model` entries.
- **Docs:** the formats in the GraphBinary and GraphSON IO docs, and a
geometry section for each GLV in the
reference docs.
## Testing
- New unit tests: `GeometrySerializerTest`, `GeometryGraphSONTest`, and new
tests in `WkbTest`, `GryoMapperTest`,
the IO compatibility tests, `AbstractRoundTripTest` and
`TinkerGraphIoStepTest`. In each GLV, geometry and codec
tests plus the shared fixtures.
Assisted-by: Kiro:claude-opus-5.5
> GEO Spatial APIs
> ----------------
>
> Key: TINKERPOP-2558
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2558
> Project: TinkerPop
> Issue Type: Improvement
> Components: process
> Affects Versions: 3.5.0
> Reporter: Jitesh
> Priority: Major
>
> Provide support for Geo based APIs (predicates, objects, etc)
>
>
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)