Geometry#

class caris.Geometry#

The geometry.

crs#

The coordinate reference system

Type:

CoordinateReferenceSystem

wkt#

The well known text geometry string

Type:

str

json#

The GeoJSON geometry string

Type:

str

type#

The type of geometry

Type:

GeometryType

bbox#

The bounding box of the geometry

Type:

(x1, y1), (x2, y2)

__init__((object)arg1, (CoordinateReferenceSystem)crs, (str)wkt) object :#

Constructor

Args:

crs (CoordinateReferenceSystem): The coordinate reference system wkt (str): The well known text geometry string

__init__( (object)arg1, (str)json) -> object :

Constructor

Args:

json (str): The GeoJSON geometry string.

class caris.GeometryType#

The type of geometry.

  • POINT

  • CURVE

  • SURFACE

  • SOLID

  • COMPLEX

  • CURVE_BOUNDARY

  • SURFACE_BOUNDARY

  • SOLID_BOUNDARY

  • COMPOSITE_POINT

  • COMPOSITE_CURVE

  • COMPOSITE_SURFACE

  • COMPOSITE_SOLID

  • AGGREGATE

  • MULTI_POINT

  • MULTI_CURVE

  • MULTI_SURFACE

  • MULTI_SOLID

  • MULTI_BOUNDARY

  • RING

  • SHELL

  • UNDEFINED