PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ parse_block_size()

def raster2pgsql.parse_block_size (   options)

Definition at line 271 of file raster2pgsql.py.

Referenced by wkblify_raster_level().

271 def parse_block_size(options):
272  assert options is not None
273  assert options.block_size is not None
274 
275  wh = options.block_size.split('x')
276  if len(wh) != 2:
277  wh = options.block_size.split('X')
278 
279  assert len(wh) == 2, "invalid format of specified block size"
280  return ( int(wh[0]), int(wh[1]) )
281 
def parse_block_size(options)
Here is the caller graph for this function: