marble
GosmoreRoutingRunner.cpp
Go to the documentation of this file.
40 static GeoDataDocument* createDocument( GeoDataLineString* routeWaypoints, const QVector<GeoDataPlacemark*> instructions );
82 mDebug() << "Couldn't start gosmore from the current PATH. Install it to retrieve routing results from gosmore.";
114 QVector<GeoDataPlacemark*> GosmoreRunnerPrivate::parseGosmoreInstructions( const QByteArray &content )
133 RoutingInstructions directions = InstructionTransformation::process( m_parser.parse( stream ) );
161 GeoDataDocument* GosmoreRunnerPrivate::createDocument( GeoDataLineString* routeWaypoints, const QVector<GeoDataPlacemark*> instructions )
QString & append(QChar ch)
A container for Features, Styles and in the future Schemas.
Definition: GeoDataDocument.h:65
void append(const T &value)
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
const_iterator constEnd() const
const T & at(int i) const
void insert(const QString &name, const QString &value)
QVector< RoutingInstruction > RoutingInstructions
Definition: RoutingInstruction.h:157
qreal latitude(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
retrieves the latitude of the GeoDataCoordinates object use the unit parameter to switch between Radi...
Definition: GeoDataCoordinates.cpp:751
int size() const
QString fromLocal8Bit(const char *str, int size)
QString fromUtf8(const char *str, int size)
static RoutingInstructions process(const RoutingWaypoints &waypoints)
Transforms waypoints and metadata into driving directions.
Definition: InstructionTransformation.cpp:18
~GosmoreRunner()
Definition: GosmoreReverseGeocodingRunner.cpp:81
virtual void retrieveRoute(const RouteRequest *request)
Start a route download orw calculation.
Definition: GosmoreRoutingRunner.cpp:204
GosmoreRunner(QObject *parent=0)
Definition: GosmoreReverseGeocodingRunner.cpp:72
A LineString that allows to store a contiguous set of line segments.
Definition: GeoDataLineString.h:75
QByteArray & append(char ch)
qreal longitude(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
retrieves the longitude of the GeoDataCoordinates object use the unit parameter to switch between Rad...
Definition: GeoDataCoordinates.cpp:739
bool waitForStarted(int msecs)
void routeCalculated(GeoDataDocument *route)
Route download/calculation is finished, result in the given route object.
void setProcessEnvironment(const QProcessEnvironment &environment)
const_iterator constBegin() const
void push_back(const T &value)
QProcessEnvironment systemEnvironment()
int size() const
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
QByteArray readAllStandardOutput()
void start(const QString &program, const QStringList &arguments, QFlags< QIODevice::OpenModeFlag > mode)
bool waitForFinished(int msecs)
GeoDataCoordinates at(int index) const
Accessor for the n-th position.
Definition: RouteRequest.cpp:149
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.