hydromt.Dataset.vector.set_spatial_dims#

Dataset.vector.set_spatial_dims(geom_name: Optional[str] = None, x_name: Optional[str] = None, y_name: Optional[str] = None, index_dim: Optional[str] = None, geom_format: Optional[str] = None) None#

Set the spatial and index dimensions of the object.

Parameters:
  • x_name (str, optional) – The name of the x, y and geometry coordinate.

  • y_name (str, optional) – The name of the x, y and geometry coordinate.

  • geom_name (str, optional) – The name of the x, y and geometry coordinate.

  • index_dim (str optional) – The name of the geometry index dimension

  • geom_format ({'xy', 'wkt', 'geom'}) – Geometry format