PostGIS
3.0.6dev-r@@SVN_REVISION@@
◆
pt2fmt()
def pixval.pt2fmt
(
pt
)
Definition at line
31
of file
pixval.py
.
31
def
pt2fmt
(pt):
32
fmttypes = {
33
gdalc.GDT_Byte:
'B'
,
34
gdalc.GDT_Int16:
'h'
,
35
gdalc.GDT_UInt16:
'H'
,
36
gdalc.GDT_Int32:
'i'
,
37
gdalc.GDT_UInt32:
'I'
,
38
gdalc.GDT_Float32:
'f'
,
39
gdalc.GDT_Float64:
'f'
40
}
41
return
fmttypes.get(pt,
'x'
)
42
pixval.pt2fmt
def pt2fmt(pt)
Definition:
pixval.py:31
pixval
Generated by
1.9.1