MCPcopy Create free account
hub / github.com/comaps/comaps / LatLonFromXML

Function LatLonFromXML

tools/openlr/decoded_path.cpp:41–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void LatLonFromXML(pugi::xml_node const & node, ms::LatLon & latLon)
42{
43 THROW_IF_NODE_IS_EMPTY(node, openlr::DecodedPathLoadError, ("Can't parse latLon"));
44 latLon.m_lat = node.child("lat").text().as_double();
45 latLon.m_lon = node.child("lon").text().as_double();
46}
47
48void FeatureIdFromXML(pugi::xml_node const & node, DataSource const & dataSource, FeatureID & fid)
49{

Callers 1

PathFromXMLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected