21 #ifndef otbCoordinateToName_h
22 #define otbCoordinateToName_h
25 #include "itkMultiThreader.h"
27 #include "OTBCartoExport.h"
60 itkGetMacro(Lon,
double);
61 itkGetMacro(Lat,
double);
63 itkSetMacro(Lon,
double);
64 itkSetMacro(Lat,
double);
72 if ((std::abs(point[0] - m_Lon) > m_UpdateDistance) || (std::abs(point[1] - m_Lat) > m_UpdateDistance))
105 return m_CountryName;
113 itkGetMacro(Multithread,
bool);
114 itkSetMacro(Multithread,
bool);
115 itkBooleanMacro(Multithread);
119 virtual bool Evaluate();
126 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
127 void ParseXMLGeonames(std::string& placeName, std::string& countryName)
const;
129 virtual void DoEvaluate();
131 static ITK_THREAD_RETURN_TYPE ThreadFunction(
void*);
135 void operator=(
const Self&) =
delete;