PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ is_nan()

def raster2pgsql.is_nan (   x)

Definition at line 73 of file raster2pgsql.py.

73 def is_nan(x):
74  if sys.hexversion < 0x02060000:
75  return str(float(x)).lower() == 'nan'
76  else:
77  return math.isnan(x)
78 
#define str(s)
def is_nan(x)
Definition: raster2pgsql.py:73

References str.

Referenced by collect_nodata_values().

Here is the caller graph for this function: