pktools
2.6.7
Processing Kernel for geospatial data
src
imageclasses
ImgUpdaterGdal.h
1
/**********************************************************************
2
ImgUpdaterGdal.h: class to read raster files using GDAL API library
3
Copyright (C) 2008-2012 Pieter Kempeneers
4
5
This file is part of pktools
6
7
pktools is free software: you can redistribute it and/or modify
8
it under the terms of the GNU General Public License as published by
9
the Free Software Foundation, either version 3 of the License, or
10
(at your option) any later version.
11
12
pktools is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with pktools. If not, see <http://www.gnu.org/licenses/>.
19
***********************************************************************/
20
#ifndef _IMGUPDATERGDAL_H_
21
#define _IMGUPDATERGDAL_H_
22
23
#include "ImgReaderGdal.h"
24
#include "ImgWriterGdal.h"
25
26
//--------------------------------------------------------------------------
27
class
ImgUpdaterGdal
:
public
ImgReaderGdal
,
public
ImgWriterGdal
28
{
29
public
:
31
ImgUpdaterGdal
(
void
);
33
ImgUpdaterGdal
(
const
std::string& filename,
const
GDALAccess& readMode=GA_Update);
35
~
ImgUpdaterGdal
(
void
);
37
void
open(
const
std::string& filename,
const
GDALAccess& readMode=GA_Update);
39
void
close
(
void
);
40
41
protected
:
42
};
43
44
#endif // _IMGUPDATERGDAL_H_
ImgReaderGdal
Definition:
ImgReaderGdal.h:36
ImgWriterGdal
Definition:
ImgWriterGdal.h:37
ImgUpdaterGdal::close
void close(void)
Close the image.
Definition:
ImgUpdaterGdal.cc:51
ImgUpdaterGdal
Definition:
ImgGdal.h:27
Generated on Tue Feb 23 2021 08:50:21 for pktools by
1.8.13