Commit 11127bc
committed
fix(OP#9528): use drop_nulls subset in create_track_segments to preserve null-geo segments
drop_nulls() without a subset dropped every row where any column was null,
including segments from null-padded tracks (geo columns present but null).
This caused tracks without geo data in a mixed dataset to have zero segments
in the geometry store, making them invisible to intersection detection.
Restrict the drop to the non-geo shifted columns whose nulls exclusively
mark the first (incomplete) detection row of each track.1 parent 1a5737a commit 11127bc
2 files changed
Lines changed: 22 additions & 1 deletion
File tree
- OTAnalytics/plugin_datastore/track_geometry_store
- tests/unit/OTAnalytics/plugin_datastore/track_geometry_store
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
189 | 199 | | |
190 | 200 | | |
191 | 201 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
827 | 827 | | |
828 | 828 | | |
829 | 829 | | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
830 | 841 | | |
831 | 842 | | |
832 | 843 | | |
| |||
0 commit comments