parameters: (self, *args, **kwargs)
return_statement: return _ogr.Layer_GetExtent(self, *args, **kwargs)
docstring: r"""
          GetExtent(Layer self, int force=1, int can_return_null=0, int geom_field=0)
          OGRErr OGR_L_GetExtent(OGRLayerH
          hLayer, OGREnvelope *psExtent, int bForce)
  
          Fetch the extent of this layer.
  
          Returns the extent (MBR) of the data in the layer. If bForce is FALSE,
          and it would be expensive to establish the extent then OGRERR_FAILURE
          will be returned indicating that the extent isn't know. If bForce is
          TRUE then some implementations will actually scan the entire layer
          once to compute the MBR of all the features in the layer.
  
          Depending on the drivers, the returned extent may or may not take the
          spatial filter into account. So it is safer to call OGR_L_GetExtent()
          without setting a spatial filter.
  
          Layers without any geometry may return OGRERR_FAILURE just indicating
          that no meaningful extents could be collected.
  
          Note that some implementations of this method may alter the read
          cursor of the layer.
  
          This function is the same as the C++ method OGRLayer::GetExtent().
  
          Parameters:
          -----------
  
          hLayer:  handle to the layer from which to get extent.
  
          psExtent:  the structure in which the extent value will be returned.
  
          bForce:  Flag indicating whether the extent should be computed even if
          it is expensive.
  
          OGRERR_NONE on success, OGRERR_FAILURE if extent not known.
docstring_summary: r"""
          GetExtent(Layer self, int force=1, int can_return_null=0, int geom_field=0)
          OGRErr OGR_L_GetExtent(OGRLayerH
          hLayer, OGREnvelope *psExtent, int bForce)
docstring_tokens: r GetExtent ( Layer self int force = 1 int can_return_null = 0 int geom_field = 0 ) OGRErr OGR_L_GetExtent ( OGRLayerH hLayer OGREnvelope * psExtent int bForce )
function: def GetExtent(self, *args, **kwargs):
          r"""
          GetExtent(Layer self, int force=1, int can_return_null=0, int geom_field=0)
          OGRErr OGR_L_GetExtent(OGRLayerH
          hLayer, OGREnvelope *psExtent, int bForce)
  
          Fetch the extent of this layer.
  
          Returns the extent (MBR) of the data in the layer. If bForce is FALSE,
          and it would be expensive to establish the extent then OGRERR_FAILURE
          will be returned indicating that the extent isn't know. If bForce is
          TRUE then some implementations will actually scan the entire layer
          once to compute the MBR of all the features in the layer.
  
          Depending on the drivers, the returned extent may or may not take the
          spatial filter into account. So it is safer to call OGR_L_GetExtent()
          without setting a spatial filter.
  
          Layers without any geometry may return OGRERR_FAILURE just indicating
          that no meaningful extents could be collected.
  
          Note that some implementations of this method may alter the read
          cursor of the layer.
  
          This function is the same as the C++ method OGRLayer::GetExtent().
  
          Parameters:
          -----------
  
          hLayer:  handle to the layer from which to get extent.
  
          psExtent:  the structure in which the extent value will be returned.
  
          bForce:  Flag indicating whether the extent should be computed even if
          it is expensive.
  
          OGRERR_NONE on success, OGRERR_FAILURE if extent not known. 
          """
          return _ogr.Layer_GetExtent(self, *args, **kwargs)
function_tokens: def GetExtent ( self , * args , * * kwargs ) : return _ogr . Layer_GetExtent ( self , * args , * * kwargs )