#include <lanelet2_core/Forward.h>
#include <lanelet2_core/primitives/GPSPoint.h>
#include <deque>
#include <map>
#include <pugixml.hpp>
#include <string>
#include <utility>
#include "lanelet2_io/Configuration.h"
Go to the source code of this file.
Classes | |
struct | lanelet::osm::File |
Intermediate representation of an osm file. More... | |
struct | lanelet::osm::Node |
Osm node object. More... | |
struct | lanelet::osm::Primitive |
Common abstract base class for all osm primitives. Provides id and attributes. More... | |
struct | lanelet::osm::Relation |
Osm relation object. More... | |
struct | lanelet::osm::Way |
Osm way object. More... | |
Namespaces | |
lanelet | |
lanelet::osm | |
Typedefs | |
using | lanelet::osm::Attributes = std::map< std::string, std::string > |
using | lanelet::osm::Errors = std::vector< std::string > |
using | lanelet::osm::Nodes = std::map< Id, Node > |
using | lanelet::osm::Relations = std::map< Id, Relation > |
using | lanelet::osm::Role = std::pair< std::string, Primitive * > |
using | lanelet::osm::Roles = std::deque< Role > |
using | lanelet::osm::Ways = std::map< Id, Way > |
Functions | |
auto | lanelet::osm::findRole (const Roles &roles, const std::string &roleName) |
template<typename Func > | |
auto | lanelet::osm::forEachMember (const Roles &roles, const std::string &roleName, Func &&f) |
bool | lanelet::osm::operator== (const File &lhs, const File &rhs) |
bool | lanelet::osm::operator== (const Node &lhs, const Node &rhs) |
bool | lanelet::osm::operator== (const Relation &lhs, const Relation &rhs) |
bool | lanelet::osm::operator== (const Way &lhs, const Way &rhs) |
File | lanelet::osm::read (pugi::xml_document &node, lanelet::osm::Errors *errors=nullptr) |
std::unique_ptr< pugi::xml_document > | lanelet::osm::write (const File &file, const io::Configuration ¶ms=io::Configuration()) |