| 122 | { |
| 123 | protected: |
| 124 | GDALReaderTypeTest() |
| 125 | { |
| 126 | std::string xyzFilename = Support::datapath("gdal/data.xyz"); |
| 127 | |
| 128 | std::ifstream in(xyzFilename); |
| 129 | |
| 130 | while (true) |
| 131 | { |
| 132 | Point p; |
| 133 | in >> p.m_x >> p.m_y >> p.m_z; |
| 134 | if (in.eof()) |
| 135 | break; |
| 136 | m_xyzPoints.push_back(p); |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | void compare(const std::string& path) |
| 141 | { |