GeoLineStrings
Geospatial line strings with positions expressed in EPSG:4326 altitude and longitude (North/East-positive degrees), and optional colors and radii.
Also known as "line strips" or "polylines".
Note: Geospatial entities are experimental.
Components components
Required: GeoLineString
Shown in shown-in
API reference links api-reference-links
- 🌊 C++ API docs for
GeoLineStrings
- 🐍 Python API docs for
GeoLineStrings
- 🦀 Rust API docs for
GeoLineStrings
Example example
Log a geospatial line string 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],
),
)