Skip to content

Commit

Permalink
GDAL: Fix version comparison (#2679)
Browse files Browse the repository at this point in the history
  • Loading branch information
emminizer authored Jan 6, 2025
1 parent 4d70d01 commit 35615df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osgEarth/GDAL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ GDAL::Driver::getInterpolatedDEMValue(GDALRasterBand* band, double x, double y,
double r, c;
geoToPixel(x, y, c, r);

#if GDAL_VERSION_NUM >= 3010000 // 3.10+
#if GDAL_VERSION_NUM >= 3100000 // 3.10+
GDALRIOResampleAlg alg = GRIORA_NearestNeighbour;

switch (gdalOptions().interpolation().value())
Expand Down

0 comments on commit 35615df

Please sign in to comment.