| 30 | } |
| 31 | |
| 32 | bool GetLatLon(pugi::xml_node const & node, int32_t & lat, int32_t & lon) |
| 33 | { |
| 34 | if (!IntegerFromXML(node.child("olr:latitude"), lat) || !IntegerFromXML(node.child("olr:longitude"), lon)) |
| 35 | return false; |
| 36 | |
| 37 | return true; |
| 38 | } |
| 39 | |
| 40 | // This helper is used to parse records like this: |
| 41 | // <olr:lfrcnp olr:table="olr001_FunctionalRoadClass" olr:code="4"/> |
no test coverage detected