22 #ifndef otbOSMDataToVectorDataGenerator_h
23 #define otbOSMDataToVectorDataGenerator_h
29 #include "OTBCartoExport.h"
116 itkSetStringMacro(FileName);
117 itkGetStringMacro(FileName);
121 itkSetMacro(North,
double);
122 itkSetMacro(South,
double);
123 itkSetMacro(East,
double);
124 itkSetMacro(West,
double);
127 itkGetMacro(North,
double);
128 itkGetMacro(South,
double);
129 itkGetMacro(East,
double);
130 itkGetMacro(West,
double);
133 itkGetConstMacro(ClassKey, std::string);
134 itkSetMacro(ClassKey, std::string);
138 itkGetConstMacro(ClassKeyValue,
int);
139 itkSetMacro(ClassKeyValue,
int);
144 itkSetMacro(UseUrl,
bool);
149 if (!this->IsKeyPresent(key))
150 m_KeyList.push_back(key);
itk::SmartPointer< Self > Pointer
This class represents a node of data in a vector data hierarchy.
Request OSM Server using the OSM API 0.6 to get the xml file storing the vector elements available.
std::vector< std::string > StringVectorType
bool IsKeyPresent(const std::string &key)
ContainerType m_GeoPointContainer
CurlHelper::Pointer m_Curl
void operator=(const Self &)=delete
Superclass::OutputVectorDataType VectorDataType
itk::SmartPointer< Self > Pointer
OSMDataToVectorDataGenerator(const Self &)=delete
VectorDataType::Pointer m_OutputVectorData
const VectorDataType * GetVectorDataByName(const std::string &key, const std::string &value)
std::map< std::string, StringVectorType > KeyMapType
~OSMDataToVectorDataGenerator() override
std::map< int, VertexType > ContainerType
const VectorDataType * GetVectorDataByName(const std::string &key)
itk::SmartPointer< const Self > ConstPointer
LineType::VertexType VertexType
VectorDataElementListType m_VectorDataElementList
std::vector< std::string > m_KeyList
std::vector< VectorDataElementType > VectorDataElementListType
DataNodeType::PolygonType PolygonType
OSMDataToVectorDataGenerator Self
const KeyMapType GetKeysMap() const
VectorDataSource< otb::VectorData<> > Superclass
std::vector< VertexType > PointTypeList
void AddKey(const std::string &key)
void AddKeyTypeToMap(const std::string &key, const std::string &value)
void ProcessVectorData(const std::string &key, const std::string &value)
VectorDataType::DataNodeType DataNodeType
OSMDataToVectorDataGenerator()
void GenerateData() override
DataNodeType::LineType LineType
std::pair< ElementPairType, PointTypeList > VectorDataElementType
std::pair< std::string, std::string > ElementPairType
This class implement a PolyLineParametricPath for which a value can be set. The value is stored in th...
Superclass::VertexType VertexType
This class represent a 2D polygon.
Filter hierarchy for generating VectorData.
This class represents a hierarchy of vector data.
itk::SmartPointer< Self > Pointer
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.