PostGIS
3.0.6dev-r@@SVN_REVISION@@
◆
fetch_band_nodata()
def raster2pgsql.fetch_band_nodata
(
band
,
default
=
0
)
Definition at line
642
of file
raster2pgsql.py
.
642
def
fetch_band_nodata
(band, default = 0):
643
assert
band
is
not
None
644
645
nodata = default
646
if
band.GetNoDataValue()
is
not
None
:
647
nodata = band.GetNoDataValue()
648
else
:
649
logit
(
"WARNING: No nodata flagged in raster_columns metadata. "
650
"In serialized raster, nodata bytes will have value of 0.\n"
)
651
return
nodata
652
raster2pgsql.logit
def logit(msg)
Definition:
raster2pgsql.py:207
raster2pgsql.fetch_band_nodata
def fetch_band_nodata(band, default=0)
Definition:
raster2pgsql.py:642
References
logit()
.
Referenced by
wkblify_band()
.
Here is the call graph for this function:
Here is the caller graph for this function:
raster2pgsql
Generated by
1.9.1