| 194 | } |
| 195 | |
| 196 | bool LocationReferencePointFromXML(pugi::xml_node const & locPointNode, openlr::LocationReferencePoint & locPoint) |
| 197 | { |
| 198 | if (!FirstCoordinateFromXML(locPointNode, locPoint.m_latLon)) |
| 199 | { |
| 200 | LOG(LERROR, ("Can't get first coordinate")); |
| 201 | return false; |
| 202 | } |
| 203 | |
| 204 | return LinePropertiesFromXML(locPointNode.child("olr:lineProperties"), locPoint) && |
| 205 | PathPropertiesFromXML(locPointNode, locPoint); |
| 206 | } |
| 207 | |
| 208 | bool LocationReferencePointFromXML(pugi::xml_node const & locPointNode, ms::LatLon const & firstPoint, |
| 209 | openlr::LocationReferencePoint & locPoint) |
no test coverage detected