spatial.asMap Function Returns a Map object representing the Geometry, to be passed to other procedures or returned to a client Signature spatial.asMap(object :: ANY) :: ANY Input parameters Name Type Default Description object ANY null The geometry to convert Examples Creates a point geometry as map WITH point({latitude: 5.0, longitude: 4.0}) as geom RETURN spatial.asMap(geom) AS geometry Table 1. Result geometry { "type" : "Point", "coordinate" : [ 4.0, 5.0 ] }