| 77 | |
| 78 | |
| 79 | void DensityKernel::outputDensity(pdal::SpatialReference const& reference) |
| 80 | { |
| 81 | HexBin* hexbin = dynamic_cast<HexBin*>(m_hexbinStage); |
| 82 | if (!hexbin) |
| 83 | throw pdal::pdal_error("unable to fetch filters.hexbin stage!"); |
| 84 | |
| 85 | hexer::BaseGrid* grid = hexbin->grid(); |
| 86 | |
| 87 | OGR writer(m_outputFile, reference.getWKT(), m_driverName, m_layerName); |
| 88 | writer.writeDensity(*grid); |
| 89 | } |
| 90 | |
| 91 | |
| 92 | int DensityKernel::execute() |
nothing calls this directly
no test coverage detected