PointStorageReaderInterface overrides:
| 116 | |
| 117 | // PointStorageReaderInterface overrides: |
| 118 | bool GetPoint(uint64_t id, double & lat, double & lon) const override |
| 119 | { |
| 120 | LatLon const & ll = m_data[id]; |
| 121 | bool const ret = FromLatLon(ll, lat, lon); |
| 122 | if (!ret) |
| 123 | LOG(LERROR, ("Node with id =", id, "not found!")); |
| 124 | return ret; |
| 125 | } |
| 126 | |
| 127 | private: |
| 128 | FileReader m_fileReader; |