Class AutowareOsmParser
Defined in File autoware_osm_parser.hpp
Inheritance Relationships
Base Type
public OsmParser
Class Documentation
-
class AutowareOsmParser : public OsmParser
Public Functions
-
std::unique_ptr<LaneletMap> parse(const std::string &filename, ErrorMessages &errors) const override
[parse parse osm file to laneletMap. It is generally same as default OsmParser, but it will overwrite x and y value with local_x and local_y tags if present]
- Parameters:
filename – [path to osm file]
errors – [any errors caught during parsing]
- Returns:
[returns LaneletMap]
Public Static Functions
-
static void parseVersions(const std::string &filename, std::string *format_version, std::string *map_version)
[parseVersions parses MetaInfo tags from osm file]
- Parameters:
filename – [path to osm file]
format_version – [parsed information about map format version]
map_version – [parsed information about map version]
-
static inline constexpr const char *extension()
-
static inline constexpr const char *name()
-
std::unique_ptr<LaneletMap> parse(const std::string &filename, ErrorMessages &errors) const override