PostGIS
2.5.7dev-r@@SVN_REVISION@@
◆
fetch_band_nodata()
def raster2pgsql.fetch_band_nodata
(
band
,
default
=
0
)
Definition at line
641
of file
raster2pgsql.py
.
641
def
fetch_band_nodata
(band, default = 0):
642
assert
band
is
not
None
643
644
nodata = default
645
if
band.GetNoDataValue()
is
not
None
:
646
nodata = band.GetNoDataValue()
647
else
:
648
logit
(
"WARNING: No nodata flagged in raster_columns metadata. "
649
"In serialized raster, nodata bytes will have value of 0.\n"
)
650
return
nodata
651
raster2pgsql.logit
def logit(msg)
Definition:
raster2pgsql.py:206
raster2pgsql.fetch_band_nodata
def fetch_band_nodata(band, default=0)
Definition:
raster2pgsql.py:641
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