| 176 | } |
| 177 | |
| 178 | point_count_t GDALReader::read(PointViewPtr view, point_count_t numPts) |
| 179 | { |
| 180 | point_count_t cnt = 0; |
| 181 | while (cnt < numPts) |
| 182 | { |
| 183 | point_count_t processed = m_blockReader.processBlock(view); |
| 184 | if (processed == 0) |
| 185 | break; |
| 186 | cnt += processed; |
| 187 | } |
| 188 | return cnt; |
| 189 | } |
| 190 | |
| 191 | bool GDALReader::processOne(PointRef& point) |
| 192 | { |