|
FERS 1.0.0
The Flexible Extensible Radar Simulator
|
Generates KML files from FERS simulation scenarios for geographical visualization. More...
#include "kml_generator.h"
Static Public Member Functions | |
| static bool | generateKml (const core::World &world, const std::string &outputKmlPath) |
| Generates a KML file from a pre-built simulation world. | |
Generates KML files from FERS simulation scenarios for geographical visualization.
This class generates KML files for geographical visualization of FERS scenarios. It interprets the simulation coordinates based on the user-specified coordinate system in the XML file, which can be one of:
<origin>.All input coordinates are converted to WGS84 geodetic coordinates (latitude, longitude, altitude) for the final KML output. The KML is written with <altitudeMode>absolute</altitudeMode>, where altitude is relative to Mean Sea Level (MSL).
Definition at line 46 of file kml_generator.h.
|
static |
Generates a KML file from a pre-built simulation world.
| world | The simulation world containing all objects and paths. |
| outputKmlPath | The path for the output KML file. |
Definition at line 26 of file kml_generator.cpp.
References serial::kml_generator_utils::KmlContext::converter, params::Parameters::coordinate_frame, params::ECEF, params::ENU, logging::ERROR, serial::kml_generator_utils::generateKmlToStream(), LOG, params::Parameters::origin_altitude, params::Parameters::origin_latitude, params::Parameters::origin_longitude, serial::kml_generator_utils::KmlContext::parameters, params::params, params::UTM, params::Parameters::utm_north_hemisphere, params::Parameters::utm_zone, math::Vec3::x, math::Vec3::y, and math::Vec3::z.
Referenced by fers_generate_kml().
Here is the call graph for this function:
Here is the caller graph for this function: