Skip to content

Commit a612e17

Browse files
committed
Added options passthrough for readers.las.nosrs
1 parent 0cee044 commit a612e17

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

epf/Epf.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ void Epf::createFileInfos(const StringList& input, std::vector<FileInfo>& fileIn
286286

287287
pdal::Options opts;
288288
opts.add("filename", filename);
289+
opts.add("nosrs", m_b.opts.no_srs);
289290
s->setOptions(opts);
290291

291292
FileInfo fi;

untwine/Common.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ struct Options
4949
StringList dimNames;
5050
bool stats;
5151
std::string a_srs;
52+
bool no_srs;
5253
bool metadata;
5354
bool dummy;
5455
};

untwine/Untwine.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ void addArgs(pdal::ProgramArgs& programArgs, Options& options, pdal::Arg * &temp
4949
options.a_srs, "");
5050
programArgs.add("metadata", "Write PDAL metadata to VLR output",
5151
options.metadata, false);
52+
programArgs.add("no_srs", "PDAL readers.las.nosrs passthrough.",
53+
options.no_srs, false);
5254
}
5355

5456
bool handleOptions(pdal::StringList& arglist, Options& options)

0 commit comments

Comments
 (0)