Writer class for osm files. More...
#include <OsmHandler.h>

Public Member Functions | |
| std::unique_ptr< osm::File > | toOsmFile (const LaneletMap &laneletMap, ErrorMessages &errors, const io::Configuration ¶ms=io::Configuration()) const |
| void | write (const std::string &filename, const LaneletMap &laneletMap, ErrorMessages &errors, const io::Configuration ¶ms=io::Configuration()) const override |
| Write the provided map to a file according to the provided parameters: More... | |
Public Member Functions inherited from lanelet::io_handlers::Writer | |
| Writer ()=default | |
Public Member Functions inherited from lanelet::io_handlers::IOHandler | |
| io::Configuration | config () |
| IOHandler (const Projector &projector, const io::Configuration &config=io::Configuration()) | |
| const Projector & | projector () const |
| virtual | ~IOHandler ()=default |
Static Public Member Functions | |
| static constexpr const char * | extension () |
| static constexpr const char * | name () |
Static Public Member Functions inherited from lanelet::io_handlers::IOHandler | |
| static constexpr const char * | extension () |
| returns the extension supported by this parser More... | |
| static constexpr const char * | name () |
| returns the name of this handler. Must not be empty for child classes More... | |
Additional Inherited Members | |
Public Types inherited from lanelet::io_handlers::Writer | |
| using | Ptr = std::shared_ptr< Writer > |
Public Types inherited from lanelet::io_handlers::IOHandler | |
| using | Ptr = std::shared_ptr< IOHandler > |
Protected Member Functions inherited from lanelet::io_handlers::IOHandler | |
| IOHandler ()=default | |
Writer class for osm files.
Definition at line 11 of file OsmHandler.h.
|
inlinestatic |
Definition at line 26 of file OsmHandler.h.
|
inlinestatic |
Definition at line 28 of file OsmHandler.h.
| std::unique_ptr< osm::File > lanelet::io_handlers::OsmWriter::toOsmFile | ( | const LaneletMap & | laneletMap, |
| ErrorMessages & | errors, | ||
| const io::Configuration & | params = io::Configuration() |
||
| ) | const |
Definition at line 309 of file OsmHandlerWrite.cpp.
|
overridevirtual |
Write the provided map to a file according to the provided parameters:
"josm_upload": the value of the "upload" attribute, "false" by default "josm_format_elevation": whether to format elevation to 2 decimal places as required by JSOM, "false" by default
Implements lanelet::io_handlers::Writer.
Definition at line 299 of file OsmHandlerWrite.cpp.