|
| FileGeoTIFF (const std::string &path, const std::string &mode="w") |
|
virtual void | open (const std::string &path, const std::string &mode="w") |
| Opens a GeoTIFF file.
|
|
template<typename T > |
void | setGeoTiffField (geokey_t tag, T value) |
|
void | writeMetadata () |
| Completes GeoTIFF structure. More...
|
|
virtual void | close () |
|
virtual bool | isOpen () const |
| Todo: subclass.
|
|
void | setGdalScale (double scale=1.0, double offset=0.0) |
|
void | setGdalNoData (const std::string &nodata) |
| This is between Tiff and GeoTiff? More...
|
|
template<class T > |
void | setGdal (const std::string &key, const T &value, int sample=-1, const std::string &role="") |
|
void | setGeoMetaData (const drain::image::GeoFrame &frame) |
| Sets projection and bounding box. Adjusts spatial resolution accordingly.
|
|
void | setProjectionEPSG (short epsg) |
| Set projection using EPSG code. This is the recommended way. More...
|
|
void | setProjection (const std::string &proj) |
| Sets projection given in Proj.4 string format. More...
|
|
void | setProjection (const drain::Proj6 &proj) |
| Sets projection, primarily using EPSG if found, else Proj.4 string format.
|
|
void | setProjectionLongLat () |
| Sets projection to plain longitude-latitude mapping.
|
|
template<> |
void | setGeoTiffField (geokey_t tag, const char *value) |
|
template<> |
void | setGeoTiffField (geokey_t tag, const std::string &value) |
|
| FileTIFF (const std::string &path="", const std::string &mode="w") |
|
int | setField (int tag, const std::string &value) |
|
template<class T > |
int | setField (int tag, const std::vector< T > &value) |
|
template<class T > |
int | setField (int tag, T value) |
|
void | useDefaultTileSize () |
|
void | setTileSize (int tileWidth, int tileHeight=0) |
|
void | setTime (const drain::Time &time) |
|
void | setDefaults () |
|
void | writeImageData (const drain::image::Image &src) |
|
Extends TIFF by adding geo information in the metadata
https://gdal.org/drivers/raster/gtiff.html