isce3 0.25.0
Loading...
Searching...
No Matches
SpatialReference.h
1#pragma once
2
3#include <ogr_spatialref.h>
4#include <string>
5
6namespace isce3 { namespace io { namespace gdal {
7
10public:
11
13 explicit SpatialReference(int epsg);
14
16 explicit SpatialReference(const std::string & wkt);
17
18 SpatialReference(const OGRSpatialReference &);
19
21 int toEPSG() const;
22
24 std::string toWKT() const;
25
27 const OGRSpatialReference & get() const { return _srs; }
28
29private:
30 OGRSpatialReference _srs;
31};
32
34bool operator==(const SpatialReference &, const SpatialReference &);
35
37bool operator!=(const SpatialReference &, const SpatialReference &);
38
39}}}
std::string toWKT() const
Export to WKT-formatted string.
Definition SpatialReference.cpp:79
const OGRSpatialReference & get() const
Get the underlying OGRSpatialReference object.
Definition SpatialReference.h:27
SpatialReference(int epsg)
Construct from EPSG code.
Definition SpatialReference.cpp:28
int toEPSG() const
Get EPSG code.
Definition SpatialReference.cpp:67
The isce3::io namespace.
Definition Constants.h:14
base interpolator is an abstract base class
Definition BinarySearchFunc.cpp:5

Generated for ISCE3.0 by doxygen 1.13.2.