Skip to content

[WIP] PointCloud Support (HDFS and S3 InputFormats, general PDAL support)#1849

Closed
pomadchin wants to merge 19 commits into
locationtech:masterfrom
pomadchin:feature/pointcloud-support
Closed

[WIP] PointCloud Support (HDFS and S3 InputFormats, general PDAL support)#1849
pomadchin wants to merge 19 commits into
locationtech:masterfrom
pomadchin:feature/pointcloud-support

Conversation

@pomadchin

@pomadchin pomadchin commented Nov 28, 2016

Copy link
Copy Markdown
Member

Fixes #1816 after locationtech move

Be sure, that you have installed PDAL JNI bindings, and correctly installed LD_LIBRARY_PATH.

If you use MAC OS, please install LD_LIBRARY_PATH as well (it is related to GeoTrellis projects only),

Signed-off-by: Grigory Pomadchin <gr.pomadchin@gmail.com>
Signed-off-by: Grigory Pomadchin <gr.pomadchin@gmail.com>
Signed-off-by: Grigory Pomadchin <gr.pomadchin@gmail.com>
Signed-off-by: Grigory Pomadchin <gr.pomadchin@gmail.com>
Signed-off-by: Grigory Pomadchin <gr.pomadchin@gmail.com>
Signed-off-by: Grigory Pomadchin <gr.pomadchin@gmail.com>
Signed-off-by: Grigory Pomadchin <gr.pomadchin@gmail.com>
Signed-off-by: Grigory Pomadchin <gr.pomadchin@gmail.com>
Signed-off-by: Grigory Pomadchin <gr.pomadchin@gmail.com>
@pomadchin pomadchin self-assigned this Nov 28, 2016
@pomadchin pomadchin added this to the 1.1 milestone Nov 28, 2016
@pomadchin pomadchin force-pushed the feature/pointcloud-support branch from ce43670 to bad3cbd Compare November 28, 2016 12:07
Signed-off-by: Grigory Pomadchin <gr.pomadchin@gmail.com>
@pomadchin pomadchin force-pushed the feature/pointcloud-support branch from bad3cbd to 71dfe82 Compare November 28, 2016 12:19
@pomadchin pomadchin changed the title [WIP] PDAL Support (HDFS and S3 InputFormats) [WIP] PointCloud Support (HDFS and S3 InputFormats, general PDAL support) Nov 28, 2016
@pomadchin pomadchin force-pushed the feature/pointcloud-support branch from 27bab06 to ca949d9 Compare November 28, 2016 14:27
Signed-off-by: Grigory Pomadchin <gr.pomadchin@gmail.com>
@pomadchin pomadchin force-pushed the feature/pointcloud-support branch from ca949d9 to 5cba8f9 Compare November 28, 2016 14:46
Signed-off-by: Grigory Pomadchin <gr.pomadchin@gmail.com>
@pomadchin pomadchin force-pushed the feature/pointcloud-support branch 3 times, most recently from ffd0d88 to a5c5c44 Compare November 28, 2016 17:20
val outExtent = mapTransform(outKey)
val newBytes = mutable.ArrayBuffer[Array[Byte]]()

cfor(0)(_ < pointCloud.length, _ + 1) { i =>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is iterating over the points for each extent. We should be able to do this by iterating over the points once.

Sketch: have a Map[SpatialKey, Array[Byte]] that will hold the result.
Iterate over the points
use mapTransform(x, y) to get the spatial Key.
if the key exists in the map, add it to the array, or else initialize that key

@jamesmcclain jamesmcclain mentioned this pull request Nov 30, 2016
7 tasks
@pomadchin pomadchin force-pushed the feature/pointcloud-support branch 2 times, most recently from 5796d7e to 07afadb Compare December 1, 2016 11:19
Signed-off-by: Grigory Pomadchin <gr.pomadchin@gmail.com>
@pomadchin pomadchin force-pushed the feature/pointcloud-support branch from 07afadb to 248c3f9 Compare December 1, 2016 11:21
@lossyrob

lossyrob commented Dec 6, 2016

Copy link
Copy Markdown
Member

Closing, this is merged into the feature branch

@lossyrob lossyrob closed this Dec 6, 2016
@lossyrob lossyrob removed this from the 1.1 milestone Mar 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants