Skip to content

Commit e7f55a2

Browse files
committed
Also specify nosrs to the FileProcessor
1 parent a612e17 commit e7f55a2

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

epf/Epf.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ void Epf::createFileInfos(const StringList& input, std::vector<FileInfo>& fileIn
292292
FileInfo fi;
293293
fi.filename = filename;
294294
fi.driver = driver;
295+
fi.no_srs = m_b.opts.no_srs;
295296
if (driver == "readers.las")
296297
{
297298
const std::vector<FileInfo>& infos = processLas(*dynamic_cast<LasReader *>(s), fi);

epf/EpfTypes.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ struct FileInfo
4848

4949
std::string filename;
5050
std::string driver;
51+
bool no_srs = false;
5152
DimInfoList dimInfo;
5253
uint64_t numPoints;
5354
uint64_t start;

epf/FileProcessor.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ void FileProcessor::run()
133133
pdal::Options opts;
134134
opts.add("filename", m_fi.filename);
135135
opts.add("count", m_fi.numPoints);
136+
opts.add("nosrs", m_fi.no_srs);
136137
#ifdef PDAL_LAS_START
137138
if (m_fi.driver == "readers.las")
138139
opts.add("start", m_fi.start);

0 commit comments

Comments
 (0)