Skip to content

Commit b103f40

Browse files
author
Wout Gevaert
committed
Remove srid from w84 point literals
When using both srid and crs, the error 'Cannot specify both CRS and SRID' is thrown by Neo4j
1 parent d2e695e commit b103f40

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Literals/Literal.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,7 +1244,6 @@ public static function point2dWGS84($longitude, $latitude): PointType
12441244
];
12451245

12461246
$map["crs"] = self::string("WGS-84");
1247-
$map["srid"] = self::decimal(4326);
12481247

12491248
return FunctionCall::point(Query::map($map));
12501249
}
@@ -1280,7 +1279,6 @@ public static function point3dWGS84($longitude, $latitude, $height): PointType
12801279
];
12811280

12821281
$map["crs"] = self::string("WGS-84-3D");
1283-
$map["srid"] = self::decimal(4979);
12841282

12851283
return FunctionCall::point(Query::map($map));
12861284
}

0 commit comments

Comments
 (0)