Geometry¶
-
class
caris.
Geometry
¶ The geometry.
-
crs
¶ The coordinate reference system
-
type
¶ The type of geometry
- Type
-
__init__
((object)arg1, (CoordinateReferenceSystem)crs, (str)wkt) → object :¶ Constructor
- Parameters
crs (
CoordinateReferenceSystem
) – The coordinate reference systemwkt (
str
) – The well known text geometry string
-
transform
((Geometry)self, (CoordinateReferenceSystem)coordinate_reference_system) → Geometry :¶ Transform the geometry to another Coordinate Reference System
- Parameters
coordinate_refence_system (
CoordinateReferenceSystem
) –- Returns
A new
Geometry
transformed from the old one into the new Coordinate Reference System.
-
-
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