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

Method reprojectBoxToDD

plugins/nitf/io/NitfWriter.cpp:70–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68std::string NitfWriter::getName() const { return s_info.name; }
69
70BOX3D NitfWriter::reprojectBoxToDD(const SpatialReference& reference,
71 const BOX3D& box)
72{
73 if (reference.empty())
74 return BOX3D();
75
76 BOX3D output(box);
77 if (!gdal::reprojectBounds(output, reference.getWKT(), "EPSG:4326"))
78 throwError("Couldn't reproject corner points to geographic: " +
79 gdal::lastError());
80 return output;
81}
82
83
84NitfWriter::NitfWriter()

Callers

nothing calls this directly

Calls 5

reprojectBoundsFunction · 0.85
lastErrorFunction · 0.85
getWKTMethod · 0.80
BOX3DClass · 0.50
emptyMethod · 0.45

Tested by

no test coverage detected