PostGIS  2.1.10dev-r@@SVN_REVISION@@
def raster2pgsql.dump_block_numpy (   pixels)

Definition at line 631 of file raster2pgsql.py.

631 def dump_block_numpy(pixels):
632  assert pixels.ndim == 2
633  print 'BEGIN BLOCK SCANLINES (numpy): (%d, %d)' %(len(pixels[0]), len(pixels))
634 
635  i = 0
636  for row in range (0, len(pixels)):
637  s = binascii.hexlify(pixels[row])
638  print '%d (%d)\t%s' % (i, (len(s) / 2), s)
639  i = i + 1
640 
641  print 'END BLOCK SCANLINES'
642 
def dump_block_numpy(pixels)