PostGIS
2.4.9dev-r@@SVN_REVISION@@
◆
dump_block_numpy()
def raster2pgsql.dump_block_numpy
(
pixels
)
Definition at line
629
of file
raster2pgsql.py
.
629
def
dump_block_numpy
(pixels):
630
assert
pixels.ndim == 2
631
print
'BEGIN BLOCK SCANLINES (numpy): (%d, %d)'
%(len(pixels[0]), len(pixels))
632
633
i = 0
634
for
row
in
range (0, len(pixels)):
635
s = binascii.hexlify(pixels[row])
636
print
'%d (%d)\t%s'
% (i, (len(s) / 2), s)
637
i = i + 1
638
639
print
'END BLOCK SCANLINES'
640
raster2pgsql.dump_block_numpy
def dump_block_numpy(pixels)
Definition:
raster2pgsql.py:629
raster2pgsql
Generated by
1.8.13