MCPcopy Create free account
hub / github.com/PDAL/PDAL / TEST

Function TEST

test/unit/io/LasWriterTest.cpp:130–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130TEST(LasWriterTest, srs)
131{
132 Options readerOps;
133 readerOps.add("filename", Support::datapath("las/utm15.las"));
134
135 LasReader reader;
136 reader.setOptions(readerOps);
137
138 Options writerOps;
139 writerOps.add("filename", Support::temppath("out.las"));
140 LasWriter writer;
141 writer.setInput(reader);
142 writer.setOptions(writerOps);
143
144 PointTable table;
145 writer.prepare(table);
146 writer.execute(table);
147
148 LasTester tester;
149 SpatialReference srs = tester.srs(writer);
150 EXPECT_EQ(srs, "EPSG:26915");
151}
152
153
154TEST(LasWriterTest, srs2)

Callers

nothing calls this directly

Calls 15

datapathFunction · 0.85
temppathFunction · 0.85
deleteFileFunction · 0.85
UuidFunction · 0.85
startsWithFunction · 0.85
binpathFunction · 0.85
base64_encodeFunction · 0.85
configuredpathFunction · 0.85
setOptionsMethod · 0.80
registerDimsMethod · 0.80
createStageMethod · 0.80
privateMetadataMethod · 0.80

Tested by

no test coverage detected