demarches_simpy.utils module
- class GeoArea(id, source, description, geometry)[source]
A GeoArea is an object representing a geographical area. It is composed of a geometry and a description as well as a source.
Properties
- idstr
The id of the GeoArea
- sourceGeoSource
The source of the GeoArea (cadastre or user_selection)
- descriptionstr
The description of the GeoArea
- geometryshapely.Geometry
The geometry of the GeoArea in shapely.Geometry representation
- geometry_typestr
The type of the geometry of the GeoArea (Point, Polygon, MultiPolygon, etc.)
- wkt_geometrystr
The geometry of the GeoArea in WKT representation
- geojson_featuredict
The isolated geojson feature of the GeoArea
- geojsondict
The complete geojson of the GeoArea