Skip to content
Permalink
Browse files

PG raster fix #39142 nodata float

  • Loading branch information
elpaso committed Oct 2, 2020
1 parent ad6254a commit 65e8776a9f50c75c57637c74cc47cc613e5a94df
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/providers/postgres/raster/qgspostgresrasterprovider.cpp
@@ -1081,7 +1081,7 @@ bool QgsPostgresRasterProvider::init()
mSrcHasNoDataValue.append( true );
mUseSrcNoDataValue.append( true );
}
mSrcNoDataValue.append( nodataValue );
mSrcNoDataValue.append( QgsRaster::representableValue( nodataValue, type ) );
++i;
}

@@ -1356,7 +1356,7 @@ bool QgsPostgresRasterProvider::init()
nodataValue = std::numeric_limits<double>::min();
}

mSrcNoDataValue.append( nodataValue );
mSrcNoDataValue.append( QgsRaster::representableValue( nodataValue, type ) );
mSrcHasNoDataValue.append( true );
mUseSrcNoDataValue.append( true );
}

0 comments on commit 65e8776

Please sign in to comment.
You can’t perform that action at this time.