OTB
9.0.0
Orfeo Toolbox
|
#include <otbMapFileProductWriter.h>
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
virtual void | SetInput (const InputImageType *image) |
virtual void | SetInput (unsigned int, const TInputImage *image) |
const InputImageType * | GetInput (void) |
const InputImageType * | GetInput (unsigned int idx) |
Static Public Member Functions | |
static Pointer | New () |
This class produces Map file product ie a file .map, the tiles to draw in a mapserver, and finally a shapefile which describe the tiles and where to find them on the disk.
This filter begins by tiling the input image. An accessor SetTileSize allows setting the size of each tile. For each tile generated, an entry is added to the shapefile to store the location where the file is saved on the disk. The product generated are a mapfile which is the configuration file for mapservers, a tile index and finally the tiles. This class allow the user to specify the cgi-bin used (SetCGIPath) and the directory where to store the index shapefile and the tiles via SetShapeIndexPath method
Note that this class reproject the input image in the projection defined by the SRID (via SetSRID() method) set by the user.
Definition at line 70 of file otbMapFileProductWriter.h.
typedef itk::SmartPointer<const Self> otb::MapFileProductWriter< TInputImage >::ConstPointer |
Definition at line 77 of file otbMapFileProductWriter.h.
typedef VectorDataType::DataNodeType otb::MapFileProductWriter< TInputImage >::DataNodeType |
Definition at line 98 of file otbMapFileProductWriter.h.
typedef GenericRSResamplerType::Pointer otb::MapFileProductWriter< TInputImage >::GenericRSResamplerPointerType |
Definition at line 119 of file otbMapFileProductWriter.h.
typedef GenericRSResampleImageFilter<InputImageType, InputImageType> otb::MapFileProductWriter< TInputImage >::GenericRSResamplerType |
Definition at line 118 of file otbMapFileProductWriter.h.
typedef InputImageType::IndexType otb::MapFileProductWriter< TInputImage >::IndexType |
Definition at line 89 of file otbMapFileProductWriter.h.
typedef InputImageType::PixelType otb::MapFileProductWriter< TInputImage >::InputImagePixelType |
Definition at line 92 of file otbMapFileProductWriter.h.
typedef InputImageType::Pointer otb::MapFileProductWriter< TInputImage >::InputImagePointer |
Definition at line 90 of file otbMapFileProductWriter.h.
typedef InputImageType::RegionType otb::MapFileProductWriter< TInputImage >::InputImageRegionType |
Definition at line 91 of file otbMapFileProductWriter.h.
typedef TInputImage otb::MapFileProductWriter< TInputImage >::InputImageType |
Some convenient typedefs.
Definition at line 83 of file otbMapFileProductWriter.h.
typedef TransformType::InputPointType otb::MapFileProductWriter< TInputImage >::InputPointType |
Definition at line 123 of file otbMapFileProductWriter.h.
typedef InputImageType::InternalPixelType otb::MapFileProductWriter< TInputImage >::InternalPixelType |
Definition at line 87 of file otbMapFileProductWriter.h.
typedef VectorImage<OutputPixelType> otb::MapFileProductWriter< TInputImage >::OutputImageType |
Definition at line 95 of file otbMapFileProductWriter.h.
typedef unsigned char otb::MapFileProductWriter< TInputImage >::OutputPixelType |
Definition at line 94 of file otbMapFileProductWriter.h.
typedef TransformType::OutputPointType otb::MapFileProductWriter< TInputImage >::OutputPointType |
Definition at line 124 of file otbMapFileProductWriter.h.
typedef itk::SmartPointer<Self> otb::MapFileProductWriter< TInputImage >::Pointer |
Definition at line 76 of file otbMapFileProductWriter.h.
typedef DataNodeType::PolygonType otb::MapFileProductWriter< TInputImage >::PolygonType |
Definition at line 99 of file otbMapFileProductWriter.h.
typedef MapFileProductWriter otb::MapFileProductWriter< TInputImage >::Self |
Standard class typedefs.
Definition at line 74 of file otbMapFileProductWriter.h.
typedef InputImageType::SizeType otb::MapFileProductWriter< TInputImage >::SizeType |
Definition at line 88 of file otbMapFileProductWriter.h.
typedef StreamingShrinkImageFilter<InputImageType, InputImageType> otb::MapFileProductWriter< TInputImage >::StreamingShrinkImageFilterType |
Definition at line 112 of file otbMapFileProductWriter.h.
typedef itk::ProcessObject otb::MapFileProductWriter< TInputImage >::Superclass |
Definition at line 75 of file otbMapFileProductWriter.h.
typedef GenericRSTransform otb::MapFileProductWriter< TInputImage >::TransformType |
Definition at line 122 of file otbMapFileProductWriter.h.
typedef VectorDataFileWriter<VectorDataType> otb::MapFileProductWriter< TInputImage >::VectorDataFileWriterType |
Definition at line 102 of file otbMapFileProductWriter.h.
typedef VectorData<double, 2> otb::MapFileProductWriter< TInputImage >::VectorDataType |
Definition at line 97 of file otbMapFileProductWriter.h.
typedef MultiChannelExtractROI<InternalPixelType, OutputPixelType> otb::MapFileProductWriter< TInputImage >::VectorImageExtractROIFilterType |
Multi channels Extract ROI filter.
Definition at line 106 of file otbMapFileProductWriter.h.
typedef VectorRescaleIntensityImageFilter<InputImageType, InputImageType> otb::MapFileProductWriter< TInputImage >::VectorRescaleIntensityImageFilterType |
Definition at line 115 of file otbMapFileProductWriter.h.
typedef ImageFileWriter<OutputImageType> otb::MapFileProductWriter< TInputImage >::VectorWriterType |
Definition at line 109 of file otbMapFileProductWriter.h.
typedef PolygonType::VertexType otb::MapFileProductWriter< TInputImage >::VertexType |
Definition at line 100 of file otbMapFileProductWriter.h.
|
protected |
Constructor
Definition at line 35 of file otbMapFileProductWriter.hxx.
|
overrideprotected |
Destructor
Definition at line 52 of file otbMapFileProductWriter.hxx.
|
privatedelete |
Method to set the filename of the mapfile generated
|
privatevirtual |
MapFile IndexTule build
Add the bounding box and the location of the generated tile as field of the vectordata
Definition at line 417 of file otbMapFileProductWriter.hxx.
References otb::FEATURE_POLYGON.
|
private |
Add a layer to the mapfile
Definition at line 536 of file otbMapFileProductWriter.hxx.
virtual::itk::LightObject::Pointer otb::MapFileProductWriter< TInputImage >::CreateAnother | ( | void | ) | const |
|
privatevirtual |
Method To Generate the mapFile
Write the mapFile on the disk
Definition at line 464 of file otbMapFileProductWriter.hxx.
|
virtual |
Method to set the filename of the mapfile generated
|
virtual |
Method to set the filename of the mapfile generated
const MapFileProductWriter< TInputImage >::InputImageType * otb::MapFileProductWriter< TInputImage >::GetInput | ( | unsigned int | idx | ) |
Get the idx input
Definition at line 92 of file otbMapFileProductWriter.hxx.
const MapFileProductWriter< TInputImage >::InputImageType * otb::MapFileProductWriter< TInputImage >::GetInput | ( | void | ) |
Get the idx input
Definition at line 78 of file otbMapFileProductWriter.hxx.
|
virtual |
Run-time type information (and related methods).
|
virtual |
Method to set the filename of the mapfile generated
|
virtual |
Method to set the filename of the mapfile generated
|
privatevirtual |
Method to initialize the variables
Initialize the path, the filename, the vectordata used to store each bounding box of a tile as a feature
Definition at line 135 of file otbMapFileProductWriter.hxx.
|
private |
Initialize vd
Initialize the vectordata to write
Definition at line 152 of file otbMapFileProductWriter.hxx.
References otb::DOCUMENT, otb::FOLDER, and otb::SpatialReference::FromEPSG().
|
static |
Method for creation through the object factory.
|
privatedelete |
Method to set the filename of the mapfile generated
|
overrideprotected |
Method to set the filename of the mapfile generated
Definition at line 561 of file otbMapFileProductWriter.hxx.
|
virtual |
Set CGI filename path
|
virtual |
Method to set the filename of the mapfile generated
|
virtual |
Get the idx input
Definition at line 60 of file otbMapFileProductWriter.hxx.
|
virtual |
Get the idx input
Definition at line 68 of file otbMapFileProductWriter.hxx.
|
virtual |
Set SahpePATH: the directory where to store the shapefile
|
virtual |
Macro to set the SRID we want to project Data in
|
virtual |
Set/Get the size of each tile
|
protectedvirtual |
Method for Tiling the input image
Do the tiling
Image statistics
TODO : Generate KML for this tile
GX LAT LON
END GX LAT LON
Definition at line 176 of file otbMapFileProductWriter.hxx.
References otb::SpatialReference::FromEPSG().
|
inlineoverride |
Update Method : Call a porotected Write method
Definition at line 156 of file otbMapFileProductWriter.h.
References otb::Wrapper::XML::Write().
|
protectedvirtual |
Method for writing
Write launch the tiling and the mapFile generation and write on the disk the indexfile as a shapefile
Definition at line 103 of file otbMapFileProductWriter.hxx.
References otb::SpatialReference::FromEPSG(), and otbMsgDevMacro.
|
static |
Dimension of input image.
Definition at line 127 of file otbMapFileProductWriter.h.
|
private |
Method to set the filename of the mapfile generated
Definition at line 228 of file otbMapFileProductWriter.h.
|
private |
Method to set the filename of the mapfile generated
Definition at line 223 of file otbMapFileProductWriter.h.
|
private |
Method to set the filename of the mapfile generated
Definition at line 231 of file otbMapFileProductWriter.h.
|
private |
Method to set the filename of the mapfile generated
Definition at line 226 of file otbMapFileProductWriter.h.
|
private |
Method to set the filename of the mapfile generated
Definition at line 216 of file otbMapFileProductWriter.h.
|
private |
Method to set the filename of the mapfile generated
Definition at line 219 of file otbMapFileProductWriter.h.
|
private |
Method to set the filename of the mapfile generated
Definition at line 227 of file otbMapFileProductWriter.h.
|
private |
Method to set the filename of the mapfile generated
Definition at line 215 of file otbMapFileProductWriter.h.
|
private |
Method to set the filename of the mapfile generated
Definition at line 196 of file otbMapFileProductWriter.h.
|
private |
Method to set the filename of the mapfile generated
Definition at line 229 of file otbMapFileProductWriter.h.
|
private |
Method to set the filename of the mapfile generated
Definition at line 232 of file otbMapFileProductWriter.h.
|
private |
Method to set the filename of the mapfile generated
Definition at line 205 of file otbMapFileProductWriter.h.
|
private |
Method to set the filename of the mapfile generated
Definition at line 222 of file otbMapFileProductWriter.h.
|
private |
Method to set the filename of the mapfile generated
Definition at line 211 of file otbMapFileProductWriter.h.
|
private |
Method to set the filename of the mapfile generated
Definition at line 214 of file otbMapFileProductWriter.h.
|
private |
Method to set the filename of the mapfile generated
Definition at line 195 of file otbMapFileProductWriter.h.
|
private |
Method to set the filename of the mapfile generated
Definition at line 199 of file otbMapFileProductWriter.h.
|
private |
Method to set the filename of the mapfile generated
Definition at line 208 of file otbMapFileProductWriter.h.
|
private |
Method to set the filename of the mapfile generated
Definition at line 202 of file otbMapFileProductWriter.h.