Skip to content

Commit

Permalink
added comment to bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
elidwa committed Nov 14, 2024
1 parent 3a46c5e commit 03941f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/geo/GeoRaster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ uint32_t GeoRaster::getSamples(const MathLib::point_3d_t& point, int64_t gps, Li
getInnerBands(&raster, bands);
for(const int bandNum : bands)
{
/* Must create OGRPoint for each bandNum, samplePOI projects it to raster CRS */
OGRPoint ogr_point(point.x, point.y, point.z);

RasterSample* sample = raster.samplePOI(&ogr_point, bandNum);
if(sample) slist.add(sample);
}
Expand Down

0 comments on commit 03941f8

Please sign in to comment.