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

Function TEST

test/unit/io/GDALWriterTest.cpp:192–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192TEST(GDALWriterTest, min)
193{
194 std::string infile = Support::datapath("gdal/grid.txt");
195 std::string outfile = Support::temppath("tmp.tif");
196
197 Options wo;
198 wo.add("gdaldriver", "GTiff");
199 wo.add("output_type", "min");
200 wo.add("resolution", 1);
201 wo.add("radius", .7071);
202 wo.add("filename", outfile);
203
204 const std::string output =
205 "5.000 -9999.000 7.000 8.000 8.900 "
206 "4.000 -9999.000 6.000 7.000 8.000 "
207 "3.000 4.000 5.000 5.400 6.400 "
208 "2.000 3.000 4.000 4.400 5.400 "
209 "1.000 2.000 3.000 4.000 5.000 ";
210
211 runGdalWriter(wo, infile, outfile, output);
212}
213
214TEST(GDALWriterTest, min2)
215{

Callers

nothing calls this directly

Calls 15

datapathFunction · 0.85
temppathFunction · 0.85
runGdalWriterFunction · 0.85
runGdalWriter2Function · 0.85
deleteFileFunction · 0.85
indexFunction · 0.85
testFunction · 0.85
setOptionsMethod · 0.80
registerDimMethod · 0.80
getSpatialRefMethod · 0.80
addMethod · 0.45
replaceMethod · 0.45

Tested by

no test coverage detected