| 281 | |
| 282 | |
| 283 | bool GDALWriter::processOne(PointRef& point) |
| 284 | { |
| 285 | double x = point.getFieldAs<double>(Dimension::Id::X); |
| 286 | double y = point.getFieldAs<double>(Dimension::Id::Y); |
| 287 | double z = point.getFieldAs<double>(m_interpDim); |
| 288 | |
| 289 | if (m_expandByPoint) |
| 290 | { |
| 291 | if (!m_grid) |
| 292 | createGrid(BOX2D(x, y, x, y)); |
| 293 | else |
| 294 | m_grid->expandToInclude(x, y); |
| 295 | } |
| 296 | |
| 297 | m_grid->addPoint(x, y, z); |
| 298 | return true; |
| 299 | } |
| 300 | |
| 301 | |
| 302 | void GDALWriter::doneFile() |
nothing calls this directly
no test coverage detected