3 #include <ogr_spatialref.h>
6 namespace isce3 {
namespace io {
namespace gdal {
24 std::string
toWKT()
const;
27 const OGRSpatialReference &
get()
const {
return _srs; }
30 OGRSpatialReference _srs;
34 bool operator==(
const SpatialReference &,
const SpatialReference &);
37 bool operator!=(
const SpatialReference &,
const SpatialReference &);
int toEPSG() const
Get EPSG code.
Definition: SpatialReference.cpp:67
std::string toWKT() const
Export to WKT-formatted string.
Definition: SpatialReference.cpp:79
SpatialReference(int epsg)
Construct from EPSG code.
Definition: SpatialReference.cpp:28
Spatial reference system / coordinate reference system.
Definition: SpatialReference.h:9