Skip to content

Commit

Permalink
Small updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed Jun 28, 2024
1 parent 7f0bd57 commit c191e9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions epf/Epf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,6 @@ void Epf::fillMetadata(const pdal::PointLayout& layout)
m_b.offset[1] = calcOffset(m_b.trueBounds.miny, m_b.trueBounds.maxy, m_b.scale[1]);
m_b.offset[2] = calcOffset(m_b.trueBounds.minz, m_b.trueBounds.maxz, m_b.scale[2]);
}

exit(0);
}

void Epf::createFileInfos(const StringList& input, std::vector<FileInfo>& fileInfos)
Expand Down
3 changes: 2 additions & 1 deletion epf/FileProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,12 @@ void FileProcessor::run()
opts.add("filename", m_fi.filename);
opts.add("count", m_fi.numPoints);
if (m_fi.driver == "readers.las")
{
opts.add("nosrs", m_fi.no_srs);
#ifdef PDAL_LAS_START
if (m_fi.driver == "readers.las")
opts.add("start", m_fi.start);
#endif
}

pdal::StageFactory factory;
pdal::Stage *s = factory.createStage(m_fi.driver);
Expand Down

0 comments on commit c191e9b

Please sign in to comment.