magellan
magellan copied to clipboard
Point having a third coordinate for altitude
Magellan does not seem to handle 3 points for a point. (Z point being altitude) am I doing something wrong? Super simple demo:
val points = sc.parallelize(Seq((-1.0, -1.0, 0.0), (-1.0, 1.0, 0.0), (1.0, -1.0, 0.0))).toDF("x", "y", "z").select(point($"x", $"y", $"z").as("point"))
Also dies when I try to load a geojson file with the same information.
{
"type": "FeatureCollection",
"features": [
{
"geometry": {
"type": "Point",
"coordinates": [
10.3437356,
10.3715233,
0
]
},
yes, we don't have support for 3D geometry yet
It would be great to support 3D points at least because we could load LiDAR data sets (PointClouds) which are composed of billion of 2,5D points. It would be a great show case for Magellan. We have data sets with 640 billion points and soon larger than that.