girs.feat.layers.LayersSet.get_extent

LayersSet.get_extent(layer_number=0, scale=0.0)

Return the layer extension (bounding box)

Parameters:
  • layer_number – default is zero
  • scale – fraction of width and height to scale. Default is zero (no scaling). Negative values shrink the extention.
Returns:

(xmin, xmax, ymin, ymax) as floats