#NEWLINE# def gen_bbox( ) : #NEWLINE# #INDENT# bbox_2d = GEOSGeometry ( bbox_wkt , srid = 32140 ) #NEWLINE# bbox_3d = Polygon ( tuple ( ( ( x , y , z ) for ( ( x , y ) , z ) in zip ( bbox_2d [ 0 ] . coords , bbox_z ) ) ) , srid = 32140 ) #NEWLINE# return ( bbox_2d , bbox_3d )