RasterExamples.h
Go to the documentation of this file.
1 /* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2 
3  This file is part of the TerraLib - a Framework for building GIS enabled applications.
4 
5  TerraLib is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published by
7  the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  TerraLib is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with TerraLib. See COPYING. If not, write to
17  TerraLib Team at <terralib-team@terralib.org>.
18  */
19 
20 /*!
21  \file RasterExamples.h
22 
23  \brief These routines show how to use the raster module and the GDAL data source module.
24  */
25 
26 #ifndef __TERRALIB_EXAMPLES_INTERNAL_RASTEREXAMPLES_H
27 #define __TERRALIB_EXAMPLES_INTERNAL_RASTEREXAMPLES_H
28 
29 #include "Config.h"
30 
31 /*! \brief It loads the data source drivers. */
32 void LoadModules();
33 
34 /*! \brief A set of examples using GDAL/raster/dataaccess support. */
35 void ExemplifyDataAccess();
36 
37 /*! \brief Test to open a shapefile and save some polygons in a raster file. */
38 void RasterizePolygonSet();
39 
40 /*! \brief Test to open a complex image and split into real/imaginary rasters. */
41 void SplitComplexImage();
42 
43 /*! \brief Creates an image crop with a providen envelope. */
44 void MakeRasterCrop();
45 
46 /*! \brief Creates a new raster file with a new projection. */
47 void ReprojectRaster();
48 
49 /*! \brief Creates a new raster based on raster arithmetic operations. */
51 
52 /*! \brief Resample one Raster based on user defined parameters. */
53 void ResampleRaster();
54 
55 /*! \brief An example to use the Grib driver. */
56 void GribExample();
57 
58 /*! \brief Reproject one raster using TerraLib implementation. */
60 
61 /*! \brief Reproject one raster using GDAL implementation. */
63 
64 /*! \brief An example to use the memory driver. */
65 void RasterInMemory();
66 
67 /*! \brief An example to test iterators over Bands, Windows, and Rasters. */
68 void ExemplifyIterators();
69 
70 /*! \brief An example to use Grib and Geometry. */
71 void GribPolygonExample();
72 
73 /*! \brief This example shows how to create an 1bit Raster in memory, and how to save an 1bit Raster in Tiff format. */
74 void Raster1Bit();
75 
76 /*! \brief This example shows how to use the vectorization method. */
77 void VectorizeRaster();
78 
79 /*! \brief This example shows how to use the GDAL PostGIS Raster support. */
80 void PostGISRaster();
81 
82 #endif
void ReprojectRasterUsingFunction()
Reproject one raster using GDAL implementation.
void VectorizeRaster()
This example shows how to use the vectorization method.
void LoadModules()
It loads the data source drivers.
void ReprojectRaster()
Creates a new raster file with a new projection.
void SplitComplexImage()
Test to open a complex image and split into real/imaginary rasters.
void Raster1Bit()
This example shows how to create an 1bit Raster in memory, and how to save an 1bit Raster in Tiff for...
Definition: Raster1Bit.cpp:12
void ExemplifyDataAccess()
A set of examples using GDAL/raster/dataaccess support.
void RasterizePolygonSet()
Test to open a shapefile and save some polygons in a raster file.
void PostGISRaster()
This example shows how to use the GDAL PostGIS Raster support.
void GribExample()
An example to use the Grib driver.
void ResampleRaster()
Resample one Raster based on user defined parameters.
void MakeRasterCrop()
Creates an image crop with a providen envelope.
void ExemplifyIterators()
An example to test iterators over Bands, Windows, and Rasters.
void RasterInMemory()
An example to use the memory driver.
void GribPolygonExample()
An example to use Grib and Geometry.
void ArithmeticWithRaster()
Creates a new raster based on raster arithmetic operations.
void ReprojectRasterUsingDriver()
Reproject one raster using TerraLib implementation.