PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ parse_block_size()

raster2pgsql.parse_block_size (   options)

Definition at line 280 of file raster2pgsql.py.

280def parse_block_size(options):
281 assert options is not None
282 assert options.block_size is not None
283
284 wh = options.block_size.split('x')
285 if len(wh) != 2:
286 wh = options.block_size.split('X')
287
288 assert len(wh) == 2, "invalid format of specified block size"
289 return ( int(wh[0]), int(wh[1]) )
290