#include "RasterExamples.h"#include <terralib/gdal/Utils.h>#include <terralib/dataaccess.h>#include <terralib/dataaccess/datasource/DataSourceFactory.h>#include <terralib/geometry.h>#include <terralib/raster.h>#include <iostream>#include <string>Go to the source code of this file.
Functions | |
| void | RasterizePolygonSet () |
| Test to open a shapefile and save some polygons in a raster file. More... | |
| void RasterizePolygonSet | ( | ) |
Test to open a shapefile and save some polygons in a raster file.
Definition at line 14 of file RasterizePolygonSet.cpp.
References te::dt::GEOMETRY_TYPE, te::da::GetFirstPropertyPos(), te::gm::Envelope::getHeight(), te::gm::Envelope::getLowerLeftX(), te::gm::Envelope::getWidth(), te::sa::Grid, te::rst::RasterFactory::make(), te::da::DataSourceFactory::make(), te::rst::Raster::rasterize(), te::rst::Grid::setGeoreference(), te::dt::UCHAR_TYPE, te::gm::Coord2D::x, and te::gm::Coord2D::y.
Referenced by main().