marble
OsmTagTagHandler.cpp
Go to the documentation of this file.
93 if ( key == "building" && value == "yes" && placemark->visualCategory() == GeoDataFeature::Default )
101 GeoDataFeature::GeoDataVisualCategory poiCategory = GeoDataFeature::OsmVisualCategory( key + '=' + value );
159 GeoDataPlacemark* OsmTagTagHandler::createPOI( GeoDataDocument* doc, GeoDataGeometry* geometry )
static GeoTagHandlerRegistrar osmTagTagHandler(GeoParser::QualifiedName(osmTag_tag,""), new OsmTagTagHandler())
static GeoDataVisualCategory OsmVisualCategory(const QString &keyValue)
Convenience categorization of placemarks for Osm key=value pairs.
Definition: GeoDataFeature.cpp:875
A container for Features, Styles and in the future Schemas.
Definition: GeoDataDocument.h:65
bool tagNeedArea(const QString &keyValue) const
Definition: src/plugins/runner/osm/OsmParser.cpp:96
void setVisualCategory(GeoDataVisualCategory category)
Sets the symbol index of the placemark.
Definition: GeoDataFeature.cpp:770
A shared base class for all classes that are mapped to a specific tag (ie.
Definition: GeoDocument.h:60
GeoStackItem parentElement(unsigned int depth=0) const
Definition: GeoParser.cpp:122
bool contains(const QString &str, Qt::CaseSensitivity cs) const
virtual GeoDataObject * parent() const
Provides the parent of the object in GeoDataContainers.
Definition: GeoDataObject.cpp:65
void addDummyPlacemark(GeoDataPlacemark *placemark)
Definition: src/plugins/runner/osm/OsmParser.cpp:101
Definition: GeoParser.h:40
virtual void setParent(GeoDataObject *parent)
Sets the parent of the object.
Definition: GeoDataObject.cpp:70
virtual GeoNode * parse(GeoParser &) const
Definition: OsmTagTagHandler.cpp:34
void setName(const QString &value)
Set a new name for this feature.
Definition: GeoDataFeature.cpp:549
QString attribute(const char *attributeName) const
Definition: GeoParser.cpp:200
Definition: GeoParser.h:97
A LineString that allows to store a contiguous set of line segments.
Definition: GeoDataLineString.h:75
int childPosition(const GeoDataFeature *child) const
returns the position of an item in the list
Definition: GeoDataContainer.cpp:252
bool isStartElement() const
GeoDataVisualCategory visualCategory() const
Return the symbol index of the placemark.
Definition: GeoDataFeature.cpp:765
void setZoomLevel(int index)
Sets the popularity index of the placemark.
Definition: GeoDataFeature.cpp:802
void setStyle(GeoDataStyle *style)
Sets the style of the placemark.
Definition: GeoDataFeature.cpp:735
GeoDataVisualCategory
A categorization of a placemark as defined by ...FIXME.
Definition: GeoDataFeature.h:77
a class representing a point of interest on the map
Definition: GeoDataPlacemark.h:54
void setOuterBoundary(const GeoDataLinearRing &boundary)
Sets the given LinearRing as an outer boundary of the Polygon.
Definition: GeoDataPolygon.cpp:133
void setGeometry(GeoDataGeometry *entry)
Sets the current Geometry of this Placemark.
Definition: GeoDataPlacemark.cpp:230
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 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:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.