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

◆ parse_block_size()

raster2pgsql.parse_block_size (   options)

Definition at line 273 of file raster2pgsql.py.

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