-
Notifications
You must be signed in to change notification settings - Fork 638
Open
Labels
🪳 bugSomething isn't workingSomething isn't working
Description
Describe the bug
Setting the colors for GeoPoints does not work when using send_columns.
To Reproduce
Steps to reproduce the behavior:
- Run the code below.
import rerun as rr
rr.init("GPS Color Error", spawn=True)
indices = rr.TimeColumn('time', sequence=[1])
lat_lon = [[59.319221, 18.075631]]
radii = [rr.Radius.ui_points(10.0)]
colors = [[255, 0, 0]]
rr.send_columns(
'gps',
indexes=[indices],
columns=rr.GeoPoints.columns(
positions=lat_lon,
radii=radii,
colors=colors,
),
)Expected behavior
The GeoPoints are being sent to the Rerun viewer.
Backtrace
RerunWarning: send_columns: ArrowInvalid(Length spanned by list offsets (3) larger than values array (length 1))
rr.send_columns(`
Desktop:
- OS: macOS Tahoe 26.2
Rerun version
rerun-cli 0.28.2 (base lance map_view nasm native_viewer oss_server perf_telemetry re_server release_full release_no_web_viewer web_viewer) [rustc 1.88.0 (6b00bc388 2025-06-23), LLVM 20.1.5] aarch64-apple-darwin prepare-release-0.28.2 e058250, built 2026-01-08T12:37:56.485603Z
Video features: av1 ffmpeg nasm
Additional context
It works setting the color with the log function:
import rerun as rr
rr.init("rerun_example_geo_points", spawn=True)
rr.log(
"rerun_hq",
rr.GeoPoints(
lat_lon=[59.319221, 18.075631],
radii=rr.Radius.ui_points(10.0),
colors=[255, 0, 0],
),
)The send_columns function works when colors not set:
import rerun as rr
rr.init("GPS Color Error", spawn=True)
indices = rr.TimeColumn('time', sequence=[1])
lat_lon = [[59.319221, 18.075631]]
radii = [rr.Radius.ui_points(10.0)]
rr.send_columns(
'gps',
indexes=[indices],
columns=rr.GeoPoints.columns(
positions=lat_lon,
radii=radii,
),
)Metadata
Metadata
Assignees
Labels
🪳 bugSomething isn't workingSomething isn't working