IsolineConnectionGeometry
¶
Source code in docs_src/capo_geo_routes/types/isoline_connection_geometry.py
line_string
instance-attribute
¶
line_string: NotRequired[LineString]
A series of [longitude, latitude] coordinate pairs defining the connection path when Simple geometry format is requested. These coordinates can be directly used as the coordinates array in a GeoJSON LineString without transformation.
LineString and Polyline are mutually exclusive properties.
polyline
instance-attribute
¶
polyline: NotRequired[Polyline]
An encoded representation of the connection path when FlexiblePolyline geometry format is requested. This provides a more compact representation suitable for transmission and storage. To convert to GeoJSON, first decode to obtain coordinate pairs, then use those coordinates as the coordinates array in a GeoJSON LineString.
LineString and Polyline are mutually exclusive properties.