21 #ifndef otbMapFileProductWriter_h
22 #define otbMapFileProductWriter_h
25 #include "itkObjectFactory.h"
39 #include "OTBCartoExport.h"
70 template <
class TInputImage>
89 typedef typename InputImageType::SizeType
SizeType;
90 typedef typename InputImageType::IndexType
IndexType;
128 itkStaticConstMacro(InputImageDimension,
unsigned int, InputImageType::ImageDimension);
130 using Superclass::SetInput;
132 virtual void SetInput(
unsigned int,
const TInputImage* image);
137 itkSetStringMacro(FileName);
138 itkGetStringMacro(FileName);
142 itkSetMacro(TileSize,
unsigned int);
143 itkGetMacro(TileSize,
unsigned int);
147 itkSetStringMacro(CGIPath);
148 itkGetStringMacro(CGIPath);
152 itkSetStringMacro(ShapeIndexPath);
153 itkGetStringMacro(ShapeIndexPath);
163 itkSetMacro(SRID,
int);
168 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
171 virtual void Tiling();
174 virtual void Write();
181 virtual void Initialize();
188 virtual void GenerateMapFile();
194 void InitializeVectorData();
238 #ifndef OTB_MANUAL_INSTANTIATION
This class represents a node of data in a vector data hierarchy.
itk::SmartPointer< Self > Pointer
This class is a composite filter that allows you to project an input image from any coordinate system...
itk::SmartPointer< Self > Pointer
Writes image data to a single file with streaming process.
itk::SmartPointer< Self > Pointer
This class produces Map file product ie a file .map, the tiles to draw in a mapserver,...
InputImageType::IndexType IndexType
std::string m_ShapeIndexPath
InputImagePointer m_ResampleVectorImage
ImageFileWriter< OutputImageType > VectorWriterType
GenericRSTransform TransformType
InputImageType::PixelType InputImagePixelType
TransformType::InputPointType InputPointType
VectorData< double, 2 > VectorDataType
InputImagePointer m_VectorImage
VectorImageExtractROIFilterType::Pointer m_VectorImageExtractROIFilter
VectorImage< OutputPixelType > OutputImageType
StreamingShrinkImageFilter< InputImageType, InputImageType > StreamingShrinkImageFilterType
void operator=(const Self &)=delete
itk::ProcessObject Superclass
DataNodeType::Pointer m_Polygon
VectorRescaleIntensityImageFilter< InputImageType, InputImageType > VectorRescaleIntensityImageFilterType
VectorDataFileWriter< VectorDataType > VectorDataFileWriterType
GenericRSResamplerType::Pointer GenericRSResamplerPointerType
GenericRSResampleImageFilter< InputImageType, InputImageType > GenericRSResamplerType
itk::SmartPointer< const Self > ConstPointer
TransformType::Pointer m_Transform
VectorDataType::Pointer m_VectorDataIndexTile
unsigned char OutputPixelType
TInputImage InputImageType
StreamingShrinkImageFilterType::Pointer m_StreamingShrinkImageFilter
MapFileProductWriter(const Self &)=delete
PolygonType::VertexType VertexType
TransformType::OutputPointType OutputPointType
itk::SmartPointer< Self > Pointer
DataNodeType::PolygonType PolygonType
MapFileProductWriter Self
GenericRSResamplerPointerType m_GenericRSResampler
VectorRescaleIntensityImageFilterType::Pointer m_VectorRescaleIntensityImageFilter
InputImageType::SizeType SizeType
VectorWriterType::Pointer m_VectorWriter
VectorDataType::DataNodeType DataNodeType
InputImageType::RegionType InputImageRegionType
InputImageType::Pointer InputImagePointer
std::string m_IndexShapeFileName
DataNodeType::Pointer m_Folder
MultiChannelExtractROI< InternalPixelType, OutputPixelType > VectorImageExtractROIFilterType
Multi channels Extract ROI filter.
InputImageType::InternalPixelType InternalPixelType
unsigned int m_CurrentDepth
This class represent a 2D polygon.
Superclass::VertexType VertexType
Generates a quicklook of the input image.
itk::SmartPointer< Self > Pointer
This class writes vector data file format (shapefile and KML)
This class represents a hierarchy of vector data.
itk::SmartPointer< Self > Pointer
Creation of an "otb" vector image which contains metadata.
This filter performs a rescaling of a vector image on a per band basis.
itk::SmartPointer< Self > Pointer
OTBApplicationEngine_EXPORT void Write(const std::string &filename, Application::Pointer application)
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.