memgraph icon indicating copy to clipboard operation
memgraph copied to clipboard

Implement point() as an awesome_memgraph_function

Open gvolfing opened this issue 2 years ago • 1 comments

point({longitude | x, latitude | y [, crs][, srid]}) should return a 2D point, point({longitude | x, latitude | y, height | z, [, crs][, srid]}) should return a 3D point, in the WGS 84 CRS corresponding to the given coordinate values.

point({x, y [, crs][, srid]}) should return a 2D point, point({x, y, z, [, crs][, srid]}) should return a 3D point, in the Cartesian CRS corresponding to the given coordinate values.

Neo's specification: https://neo4j.com/docs/cypher-manual/current/functions/spatial/#functions-point-wgs84-2d

gvolfing avatar Jun 14 '23 09:06 gvolfing

Just a small comment, we had a user asking for this feature, so I think it's a good one 😄

katarinasupe avatar Jul 06 '23 08:07 katarinasupe

@imilinovic very similar (https://github.com/memgraph/memgraph/issues/985#issuecomment-2298994468) here (point is done 💪) 😄

gitbuda avatar Aug 20 '24 14:08 gitbuda

Done under PR

imilinovic avatar Aug 20 '24 17:08 imilinovic