Skip to content

Commit e98313b

Browse files
committed
Release 2025.10.0
1 parent 3eaf013 commit e98313b

File tree

6 files changed

+46
-55
lines changed

6 files changed

+46
-55
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ mvn jetty:run
262262
<dependency>
263263
<groupId>org.neo4j</groupId>
264264
<artifactId>neo4j-spatial</artifactId>
265-
<version>2025.07</version>
265+
<version>2025.10.0</version>
266266
</dependency>
267267
</dependencies>
268268
</profile>

docs/docs/antora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ nav:
66

77
asciidoc:
88
attributes:
9-
docs-version: 2025.07
9+
docs-version: 2025.10.0
1010
copyright: Neo4j Inc.
1111
page-product: Neo4j Spatial
1212
page-type: Neo4j Spatial Manual
Lines changed: 18 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,32 @@
1-
=== Decode a geometry from a node property
1+
=== Using both functions together
22

3-
.Create a WKT layer
43
[source,cypher]
54
----
6-
CALL spatial.addWKTLayer('geom','geom')
5+
CALL spatial.addPointLayer('combined_layer') YIELD node
6+
WITH node
7+
CREATE (n:Point {longitude: 5.5, latitude: 45.5, city: 'TestCity', population: 50000})
8+
WITH n
9+
CALL spatial.addNode('combined_layer', n) YIELD node as added_node
10+
WITH n
11+
RETURN
12+
spatial.decodeGeometry('combined_layer', n) as geometry,
13+
spatial.extractAttributes('combined_layer', n) as attributes
14+
715
----
816

917
.Result
1018

11-
[opts="header",cols="1"]
19+
[opts="header",cols="2"]
1220
|===
13-
|node
21+
|attributes|geometry
1422
a|
1523
[source]
1624
----
17-
(:SpatialLayer {
18-
geomencoder: "org.neo4j.gis.spatial.WKTGeometryEncoder",
19-
geomencoder_config: "geom",
20-
index_class: "org.neo4j.gis.spatial.index.LayerRTreeIndex",
21-
layer: "geom",
22-
layer_class: "org.neo4j.gis.spatial.EditableLayerImpl"
23-
})
24-
----
25-
26-
|===
27-
28-
.Decode a geometry
29-
[source,cypher]
25+
{
26+
"city" : "TestCity",
27+
"population" : 50000
28+
}
3029
----
31-
CREATE (n:Node {geom:'POINT(4.0 5.0)'}) RETURN spatial.decodeGeometry('geom',n) AS geometry
32-
----
33-
34-
.Result
35-
36-
[opts="header",cols="1"]
37-
|===
38-
|geometry
39-
|point({x: 4.0, y: 5.0, crs: 'cartesian'})
30+
|point({x: 5.5, y: 45.5, crs: 'cartesian'})
4031
|===
4132

docs/docs/modules/ROOT/partials/generated/api/spatial/spatial.wktToGeoJson-examples.adoc

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ a|
1414
[source]
1515
----
1616
{
17-
"type" : "Point",
18-
"coordinates" : [ 30.0, 10.0 ]
17+
"coordinates" : [ 30.0, 10.0 ],
18+
"type" : "Point"
1919
}
2020
----
2121

@@ -37,8 +37,8 @@ a|
3737
[source]
3838
----
3939
{
40-
"type" : "LineString",
41-
"coordinates" : [ [ 30.0, 10.0 ], [ 10.0, 30.0 ], [ 40.0, 40.0 ] ]
40+
"coordinates" : [ [ 30.0, 10.0 ], [ 10.0, 30.0 ], [ 40.0, 40.0 ] ],
41+
"type" : "LineString"
4242
}
4343
----
4444

@@ -60,8 +60,8 @@ a|
6060
[source]
6161
----
6262
{
63-
"type" : "Polygon",
64-
"coordinates" : [ [ [ 30.0, 10.0 ], [ 40.0, 40.0 ], [ 20.0, 40.0 ], [ 10.0, 20.0 ], [ 30.0, 10.0 ] ] ]
63+
"coordinates" : [ [ [ 30.0, 10.0 ], [ 40.0, 40.0 ], [ 20.0, 40.0 ], [ 10.0, 20.0 ], [ 30.0, 10.0 ] ] ],
64+
"type" : "Polygon"
6565
}
6666
----
6767

@@ -83,8 +83,8 @@ a|
8383
[source]
8484
----
8585
{
86-
"type" : "Polygon",
87-
"coordinates" : [ [ [ 35.0, 10.0 ], [ 45.0, 45.0 ], [ 15.0, 40.0 ], [ 10.0, 20.0 ], [ 35.0, 10.0 ] ], [ [ 20.0, 30.0 ], [ 35.0, 35.0 ], [ 30.0, 20.0 ], [ 20.0, 30.0 ] ] ]
86+
"coordinates" : [ [ [ 35.0, 10.0 ], [ 45.0, 45.0 ], [ 15.0, 40.0 ], [ 10.0, 20.0 ], [ 35.0, 10.0 ] ], [ [ 20.0, 30.0 ], [ 35.0, 35.0 ], [ 30.0, 20.0 ], [ 20.0, 30.0 ] ] ],
87+
"type" : "Polygon"
8888
}
8989
----
9090

@@ -106,8 +106,8 @@ a|
106106
[source]
107107
----
108108
{
109-
"type" : "MultiPoint",
110-
"coordinates" : [ [ 10.0, 40.0 ], [ 40.0, 30.0 ], [ 20.0, 20.0 ], [ 30.0, 10.0 ] ]
109+
"coordinates" : [ [ 10.0, 40.0 ], [ 40.0, 30.0 ], [ 20.0, 20.0 ], [ 30.0, 10.0 ] ],
110+
"type" : "MultiPoint"
111111
}
112112
----
113113

@@ -129,8 +129,8 @@ a|
129129
[source]
130130
----
131131
{
132-
"type" : "MultiPoint",
133-
"coordinates" : [ [ 10.0, 40.0 ], [ 40.0, 30.0 ], [ 20.0, 20.0 ], [ 30.0, 10.0 ] ]
132+
"coordinates" : [ [ 10.0, 40.0 ], [ 40.0, 30.0 ], [ 20.0, 20.0 ], [ 30.0, 10.0 ] ],
133+
"type" : "MultiPoint"
134134
}
135135
----
136136

@@ -152,8 +152,8 @@ a|
152152
[source]
153153
----
154154
{
155-
"type" : "MultiLineString",
156-
"coordinates" : [ [ [ 10.0, 10.0 ], [ 20.0, 20.0 ], [ 10.0, 40.0 ] ], [ [ 40.0, 40.0 ], [ 30.0, 30.0 ], [ 40.0, 20.0 ], [ 30.0, 10.0 ] ] ]
155+
"coordinates" : [ [ [ 10.0, 10.0 ], [ 20.0, 20.0 ], [ 10.0, 40.0 ] ], [ [ 40.0, 40.0 ], [ 30.0, 30.0 ], [ 40.0, 20.0 ], [ 30.0, 10.0 ] ] ],
156+
"type" : "MultiLineString"
157157
}
158158
----
159159

@@ -175,8 +175,8 @@ a|
175175
[source]
176176
----
177177
{
178-
"type" : "MultiPolygon",
179-
"coordinates" : [ [ [ [ 30.0, 20.0 ], [ 45.0, 40.0 ], [ 10.0, 40.0 ], [ 30.0, 20.0 ] ] ], [ [ [ 15.0, 5.0 ], [ 40.0, 10.0 ], [ 10.0, 20.0 ], [ 5.0, 10.0 ], [ 15.0, 5.0 ] ] ] ]
178+
"coordinates" : [ [ [ [ 30.0, 20.0 ], [ 45.0, 40.0 ], [ 10.0, 40.0 ], [ 30.0, 20.0 ] ] ], [ [ [ 15.0, 5.0 ], [ 40.0, 10.0 ], [ 10.0, 20.0 ], [ 5.0, 10.0 ], [ 15.0, 5.0 ] ] ] ],
179+
"type" : "MultiPolygon"
180180
}
181181
----
182182

@@ -198,8 +198,8 @@ a|
198198
[source]
199199
----
200200
{
201-
"type" : "MultiPolygon",
202-
"coordinates" : [ [ [ [ 40.0, 40.0 ], [ 20.0, 45.0 ], [ 45.0, 30.0 ], [ 40.0, 40.0 ] ] ], [ [ [ 20.0, 35.0 ], [ 10.0, 30.0 ], [ 10.0, 10.0 ], [ 30.0, 5.0 ], [ 45.0, 20.0 ], [ 20.0, 35.0 ] ], [ [ 30.0, 20.0 ], [ 20.0, 15.0 ], [ 20.0, 25.0 ], [ 30.0, 20.0 ] ] ] ]
201+
"coordinates" : [ [ [ [ 40.0, 40.0 ], [ 20.0, 45.0 ], [ 45.0, 30.0 ], [ 40.0, 40.0 ] ] ], [ [ [ 20.0, 35.0 ], [ 10.0, 30.0 ], [ 10.0, 10.0 ], [ 30.0, 5.0 ], [ 45.0, 20.0 ], [ 20.0, 35.0 ] ], [ [ 30.0, 20.0 ], [ 20.0, 15.0 ], [ 20.0, 25.0 ], [ 30.0, 20.0 ] ] ] ],
202+
"type" : "MultiPolygon"
203203
}
204204
----
205205

@@ -223,14 +223,14 @@ a|
223223
{
224224
"type" : "GeometryCollection",
225225
"geometries" : [ {
226-
"type" : "Point",
227-
"coordinates" : [ 40.0, 10.0 ]
226+
"coordinates" : [ 40.0, 10.0 ],
227+
"type" : "Point"
228228
}, {
229-
"type" : "LineString",
230-
"coordinates" : [ [ 10.0, 10.0 ], [ 20.0, 20.0 ], [ 10.0, 40.0 ] ]
229+
"coordinates" : [ [ 10.0, 10.0 ], [ 20.0, 20.0 ], [ 10.0, 40.0 ] ],
230+
"type" : "LineString"
231231
}, {
232-
"type" : "Polygon",
233-
"coordinates" : [ [ [ 40.0, 40.0 ], [ 20.0, 45.0 ], [ 45.0, 30.0 ], [ 40.0, 40.0 ] ] ]
232+
"coordinates" : [ [ [ 40.0, 40.0 ], [ 20.0, 45.0 ], [ 45.0, 30.0 ], [ 40.0, 40.0 ] ] ],
233+
"type" : "Polygon"
234234
} ]
235235
}
236236
----

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<modelVersion>4.0.0</modelVersion>
1818
<artifactId>neo4j-spatial</artifactId>
1919
<groupId>org.neo4j</groupId>
20-
<version>2025.10.0-SNAPSHOT</version>
20+
<version>2025.10.0</version>
2121
<name>Neo4j - Spatial Components</name>
2222
<description>Spatial utilities and components for Neo4j</description>
2323
<url>https://neo4j.com/labs/neo4j-spatial/5/</url>

server-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<parent>
2727
<groupId>org.neo4j</groupId>
2828
<artifactId>neo4j-spatial</artifactId>
29-
<version>2025.10.0-SNAPSHOT</version>
29+
<version>2025.10.0</version>
3030
</parent>
3131

3232
<artifactId>neo4j-spatial-server-plugin</artifactId>

0 commit comments

Comments
 (0)