Skip to content

Commit

Permalink
Use the LAS reader for input COPC files.
Browse files Browse the repository at this point in the history
Close #168
  • Loading branch information
abellgithub committed Jul 1, 2024
1 parent cba9355 commit ba2859a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions epf/Epf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,9 @@ void Epf::createFileInfos(const StringList& input, std::vector<FileInfo>& fileIn
std::string driver = factory.inferReaderDriver(filename);
if (driver.empty())
throw FatalError("Can't infer reader for '" + filename + "'.");
// Use LAS reader for COPC files.
if (driver == "readers.copc")
driver = "readers.las";
Stage *s = factory.createStage(driver);

pdal::Options opts;
Expand Down

0 comments on commit ba2859a

Please sign in to comment.