20#ifndef OPENSWMMVIS_IO_RASTERGEOREF_H
21#define OPENSWMMVIS_IO_RASTERGEOREF_H
98 const QString &crsWkt, QString *
err);
QString err
Definition inpmeshwriter.cpp:575
Definition rastergeoref.h:26
bool applyPamGeoref(const QString &imagePath, const double *gt6, const QString &crsWkt, QString *err)
Persists georeferencing on imagePath so every later plain GDAL open sees it.
Definition rastergeoref.cpp:263
QString authCodeToWkt(const QString &authCode, QString *err)
Resolves a CRS identifier ("EPSG:26985" or anything else OGRSpatialReference::SetFromUserInput accept...
Definition rastergeoref.cpp:355
GeorefProbe probeGeoref(const QString &imagePath)
Probes imagePath read-only; never fails (an unopenable file simply yields a default-constructed probe...
Definition rastergeoref.cpp:326
bool parseWorldFile(const QString &path, WorldFileParams *out, QString *err)
Parses a world file: six whitespace/newline-separated doubles.
Definition rastergeoref.cpp:180
void worldFileToGeoTransform(const WorldFileParams &wf, double gt[6])
Converts world-file parameters to a GDAL GeoTransform.
Definition rastergeoref.cpp:253
QStringList worldFileCandidates(const QString &imagePath)
Conventional world-file sidecar paths for imagePath, in priority order.
Definition rastergeoref.cpp:219
int path
Definition pslgminsize.cpp:234
What a cheap read-only open reveals about a raster's georeferencing — for dialog prefill/validation.
Definition rastergeoref.h:103
bool hasGeoTransform
GetGeoTransform() returned CE_None.
Definition rastergeoref.h:104
QString crsAuthCode
"EPSG:26985"-style code when the CRS carries one; else empty.
Definition rastergeoref.h:106
QString crsDescription
Human name of the CRS ("NAD83 / Maryland"); empty if none.
Definition rastergeoref.h:105
The six lines of an ESRI world file, in file order.
Definition rastergeoref.h:33
double c
Line 5 — x of the CENTER of the top-left pixel.
Definition rastergeoref.h:38
double d
Line 2 — y-axis rotation.
Definition rastergeoref.h:35
double e
Line 4 — y pixel size (usually negative).
Definition rastergeoref.h:37
double b
Line 3 — x-axis rotation.
Definition rastergeoref.h:36
double a
Line 1 — x pixel size.
Definition rastergeoref.h:34
double f
Line 6 — y of the CENTER of the top-left pixel.
Definition rastergeoref.h:39