Skip to content

Commit

Permalink
Format fixes. Remove dead code.
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed Mar 12, 2019
1 parent 3110c00 commit 4dc47f7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions kernels/DensityKernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ std::string DensityKernel::getName() const { return s_info.name; }

void DensityKernel::addSwitches(ProgramArgs& args)
{
args.add("input,i", "input point cloud file name", m_inputFile).setPositional();
args.add("output,o", "output vector data source", m_outputFile).setPositional();
args.add("input,i", "input point cloud file name", m_inputFile).
setPositional();
args.add("output,o", "output vector data source", m_outputFile).
setPositional();
args.add("ogrdriver,f", "OGR driver name to use ", m_driverName,
"ESRI Shapefile");
args.add("lyr_name", "OGR layer name to use", m_layerName, "");
Expand All @@ -80,7 +82,6 @@ void DensityKernel::outputDensity(pdal::SpatialReference const& reference)

OGR writer(m_outputFile, reference.getWKT(), m_driverName, m_layerName);
writer.writeDensity(grid);
// writer.writeBoundary(grid);
}


Expand Down

0 comments on commit 4dc47f7

Please sign in to comment.