| 68 | std::string NitfWriter::getName() const { return s_info.name; } |
| 69 | |
| 70 | BOX3D 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 | |
| 84 | NitfWriter::NitfWriter() |
nothing calls this directly
no test coverage detected