magellan icon indicating copy to clipboard operation
magellan copied to clipboard

Point having a third coordinate for altitude

Open codejoy opened this issue 7 years ago • 2 comments

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
                ]
            }, 

codejoy avatar Nov 16 '17 17:11 codejoy

yes, we don't have support for 3D geometry yet

harsha2010 avatar Nov 16 '17 17:11 harsha2010

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.

romulogoncalves avatar Jan 10 '18 14:01 romulogoncalves