geotrellis-pointcloud icon indicating copy to clipboard operation
geotrellis-pointcloud copied to clipboard

Vary relationship between requested raster CellSize and PDAL pipeline resolution

Open echeipesh opened this issue 5 years ago • 0 comments

Currently the DEMRasterSource translated the requested cell size is translated directly to PDAL pipeline resolution:

https://github.com/geotrellis/geotrellis-pointcloud/blob/ae576f88d63b4a028e881931ef305ed7f56b682d/pointcloud/src/main/scala/geotrellis/pointcloud/raster/ept/DEMRasterSource.scala#L67-L72

We have observed that response latency is very sensitive to the query resolution: https://github.com/geotrellis/geotrellis-pointcloud/tree/master/benchmark

Because DEMRasterSource performs a Delaunay it can be expected to produce a sufficiently good result with sparser input and consequently in less time.

This issue is to take first steps:

  • [ ] provide a fixed ratio between request and query resolution
  • [ ] test and record the resulting performance and behavior

Note: This parameter should probably be parsed from the URI used to construct the DEMRasterSource so it can be easily threaded through.

Future work can incorporate more sophisticated logic for pipeline resolution selection based on the EPT metadata as mentioned in https://github.com/geotrellis/geotrellis-pointcloud/issues/62

echeipesh avatar Mar 31 '20 19:03 echeipesh