OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
otb::PlaceNameToLonLat Class Reference

#include <otbPlaceNameToLonLat.h>

+ Inheritance diagram for otb::PlaceNameToLonLat:
+ Collaboration diagram for otb::PlaceNameToLonLat:

Public Types

typedef itk::SmartPointer
< const Self
typedef itk::SmartPointer< SelfPointer
typedef PlaceNameToLonLat Self
typedef itk::Object Superclass
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
typedef SmartPointer< SelfPointer
typedef Object Self
typedef LightObject Superclass
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
typedef SmartPointer< SelfPointer
typedef LightObject Self

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual bool Evaluate ()
virtual double GetLat ()
virtual double GetLon ()
virtual const char * GetNameOfClass () const
virtual std::string GetPlaceName ()
virtual void SetPlaceName (std::string _arg)
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
unsigned long AddObserver (const EventObject &event, Command *) const
virtual void DebugOff () const
virtual void DebugOn () const
CommandGetCommand (unsigned long tag)
bool GetDebug () const
const MetaDataDictionaryGetMetaDataDictionary () const
MetaDataDictionaryGetMetaDataDictionary ()
virtual ModifiedTimeType GetMTime () const
virtual const std::string & GetObjectName () const
virtual const TimeStampGetTimeStamp () const
bool HasObserver (const EventObject &event) const
void InvokeEvent (const EventObject &)
void InvokeEvent (const EventObject &) const
virtual void Modified () const
virtual void Register () const override
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
void SetDebug (bool debugFlag) const
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetObjectName (std::string _arg)
virtual void SetReferenceCount (int) override
virtual void UnRegister () const noexceptoverride
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
virtual int GetReferenceCount () const
 itkCloneMacro (Self)
void Print (std::ostream &os, Indent indent=0) const

Static Public Member Functions

static Pointer New ()
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
static void GlobalWarningDisplayOff ()
static void GlobalWarningDisplayOn ()
static Pointer New ()
static void SetGlobalWarningDisplay (bool flag)
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
static Pointer New ()

Protected Member Functions

void ParseXMLGeonames ()
void ParseXMLGoogle ()
void ParseXMLYahoo ()
 PlaceNameToLonLat ()
void PrintSelf (std::ostream &os, itk::Indent indent) const override
void RetrieveXML (const std::ostringstream &urlStream)
 ~PlaceNameToLonLat () override
- Protected Member Functions inherited from itk::Object
 Object ()
bool PrintObservers (std::ostream &os, Indent indent) const
virtual void SetTimeStamp (const TimeStamp &time)
virtual ~Object ()
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 LightObject ()
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const
virtual ~LightObject ()

Private Member Functions

void operator= (const Self &)=delete
 PlaceNameToLonLat (const Self &)=delete

Private Attributes

CurlHelperInterface::Pointer m_Curl
std::string m_CurlOutput
double m_Lat
double m_Lon
std::string m_PlaceName
bool m_RequestSucceed

Additional Inherited Members

- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount

Detailed Description

Retrieve Longitude and Latitude coordinates from a place name.

Definition at line 38 of file otbPlaceNameToLonLat.h.

Member Typedef Documentation

Definition at line 44 of file otbPlaceNameToLonLat.h.

Definition at line 43 of file otbPlaceNameToLonLat.h.

Standard class typedefs.

Definition at line 42 of file otbPlaceNameToLonLat.h.

Definition at line 46 of file otbPlaceNameToLonLat.h.

Constructor & Destructor Documentation

otb::PlaceNameToLonLat::PlaceNameToLonLat ( )
otb::PlaceNameToLonLat::~PlaceNameToLonLat ( )

Definition at line 62 of file otbPlaceNameToLonLat.h.

otb::PlaceNameToLonLat::PlaceNameToLonLat ( const Self )

Member Function Documentation

virtual::itk::LightObject::Pointer otb::PlaceNameToLonLat::CreateAnother ( void  ) const

Reimplemented from itk::Object.

virtual bool otb::PlaceNameToLonLat::Evaluate ( )
virtual double otb::PlaceNameToLonLat::GetLat ( )
virtual double otb::PlaceNameToLonLat::GetLon ( )
virtual const char* otb::PlaceNameToLonLat::GetNameOfClass ( ) const

Reimplemented from itk::Object.

virtual std::string otb::PlaceNameToLonLat::GetPlaceName ( )
static Pointer otb::PlaceNameToLonLat::New ( )

Method for creation through the object factory.

void otb::PlaceNameToLonLat::operator= ( const Self )
void otb::PlaceNameToLonLat::ParseXMLGeonames ( )
void otb::PlaceNameToLonLat::ParseXMLGoogle ( )
void otb::PlaceNameToLonLat::ParseXMLYahoo ( )
void otb::PlaceNameToLonLat::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const

Reimplemented from itk::Object.

void otb::PlaceNameToLonLat::RetrieveXML ( const std::ostringstream &  urlStream)
virtual void otb::PlaceNameToLonLat::SetPlaceName ( std::string  _arg)

Member Data Documentation

CurlHelperInterface::Pointer otb::PlaceNameToLonLat::m_Curl

Definition at line 77 of file otbPlaceNameToLonLat.h.

std::string otb::PlaceNameToLonLat::m_CurlOutput

Definition at line 78 of file otbPlaceNameToLonLat.h.

double otb::PlaceNameToLonLat::m_Lat

Definition at line 74 of file otbPlaceNameToLonLat.h.

double otb::PlaceNameToLonLat::m_Lon

Definition at line 73 of file otbPlaceNameToLonLat.h.

std::string otb::PlaceNameToLonLat::m_PlaceName

Definition at line 75 of file otbPlaceNameToLonLat.h.

bool otb::PlaceNameToLonLat::m_RequestSucceed

Definition at line 79 of file otbPlaceNameToLonLat.h.

The documentation for this class was generated from the following file: