Geospatial line strings with positions expressed in EPSG:4326 latitude and longitude (North/East-positive degrees), and optional colors and radii.
Also known as "line strips" or "polylines".
Fields
Required
line_strings:GeoLineString
Recommended
Can be shown in
API reference links
- π C++ API docs for
GeoLineStrings - π Python API docs for
GeoLineStrings - π¦ Rust API docs for
GeoLineStrings
Example
Log a geospatial line string
"""Log a simple geospatial line string."""
import rerun as rr
rr.init("rerun_example_geo_line_strings", spawn=True)
rr.log(
"colorado",
rr.GeoLineStrings(
lat_lon=[
[41.0000, -109.0452],
[41.0000, -102.0415],
[36.9931, -102.0415],
[36.9931, -109.0452],
[41.0000, -109.0452],
],
radii=rr.Radius.ui_points(2.0),
colors=[0, 0, 255],
),
)
