digiKam
DigikamGenericGeolocationEditPlugin::KMLGeoDataParser Class Reference

a class derivated from GeoDataParser mainly to transform GPS data to KML More...

+ Inheritance diagram for DigikamGenericGeolocationEditPlugin::KMLGeoDataParser:

Public Member Functions

void clear ()
 
void CreateTrackLine (QDomElement &parent, QDomDocument &root, int altitudeMode)
 Create a KML Element that will contain the linetrace of the GPS. More...
 
void CreateTrackPoints (QDomElement &parent, QDomDocument &root, int timeZone, int altitudeMode)
 Create a KML Element that will contain the points and of the GPS. More...
 
 KMLGeoDataParser ()
 
QString lineString ()
 KMLGeoDataParser::KMLGeoDataParser::lineString() More...
 
bool loadGPXFile (const QUrl &url)
 
bool matchDate (const QDateTime &photoDateTime, int maxGapTime, int secondsOffset, bool photoHasSystemTimeZone, bool interpolate, int interpolationDstTime, GeoDataContainer *const gpsData)
 
int numPoints () const
 
 ~KMLGeoDataParser ()
 

Protected Types

typedef QMap< QDateTime, GeoDataContainerGeoDataMap
 

Protected Attributes

GeoDataMap m_GeoDataMap
 

Detailed Description

a class derivated from GeoDataParser mainly to transform GPS data to KML

Author
Stéphane Pontier shado.nosp@m.w.wa.nosp@m.lker@.nosp@m.free.nosp@m..fr

Member Typedef Documentation

◆ GeoDataMap

Constructor & Destructor Documentation

◆ KMLGeoDataParser()

DigikamGenericGeolocationEditPlugin::KMLGeoDataParser::KMLGeoDataParser ( )
explicit

◆ ~KMLGeoDataParser()

DigikamGenericGeolocationEditPlugin::KMLGeoDataParser::~KMLGeoDataParser ( )

Member Function Documentation

◆ clear()

◆ CreateTrackLine()

void DigikamGenericGeolocationEditPlugin::KMLGeoDataParser::CreateTrackLine ( QDomElement &  parent,
QDomDocument &  root,
int  altitudeMode 
)

Create a KML Element that will contain the linetrace of the GPS.

Parameters
parentthe QDomElement to which the track will be added
rootthe QDomDocument used to create all elements
altitudeModealtitude mode of the line and points

References lineString().

Referenced by DigikamGenericGeolocationEditPlugin::KmlExport::addTrack().

◆ CreateTrackPoints()

void DigikamGenericGeolocationEditPlugin::KMLGeoDataParser::CreateTrackPoints ( QDomElement &  parent,
QDomDocument &  root,
int  timeZone,
int  altitudeMode 
)

Create a KML Element that will contain the points and of the GPS.

Parameters
parentthe QDomElement to which the track will be added
rootthe QDomDocument used to create all elements
timeZonethe Timezone of the pictures
altitudeModealtitude mode of the line and points

References DigikamGenericGeolocationEditPlugin::GeoDataParser::m_GeoDataMap.

Referenced by DigikamGenericGeolocationEditPlugin::KmlExport::addTrack().

◆ lineString()

QString DigikamGenericGeolocationEditPlugin::KMLGeoDataParser::lineString ( )

KMLGeoDataParser::KMLGeoDataParser::lineString()

Returns
the string containing the time ordered point (lon,lat,alt)

References DigikamGenericGeolocationEditPlugin::GeoDataParser::m_GeoDataMap.

Referenced by CreateTrackLine().

◆ loadGPXFile()

bool DigikamGenericGeolocationEditPlugin::GeoDataParser::loadGPXFile ( const QUrl &  url)
inherited

◆ matchDate()

◆ numPoints()

int DigikamGenericGeolocationEditPlugin::GeoDataParser::numPoints ( ) const
inherited

Member Data Documentation

◆ m_GeoDataMap


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