Skip to content

Commit

Permalink
GDALCreateGeoLocTransformer(): fix inverted logic to decide for a deb…
Browse files Browse the repository at this point in the history
…ug message

Refs OSGeo#10809
  • Loading branch information
rouault committed Sep 16, 2024
1 parent 99a17e5 commit b8e608f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alg/gdalgeoloc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2007,7 +2007,7 @@ void *GDALCreateGeoLocTransformerEx(GDALDatasetH hBaseDS,
else
{
psTransform->bUseArray = nXSize < 16 * 1000 * 1000 / nYSize;
if (psTransform->bUseArray)
if (!psTransform->bUseArray)
{
CPLDebug("GEOLOC",
"Using temporary GTiff backing to store backmap, because "
Expand Down

0 comments on commit b8e608f

Please sign in to comment.