Inherited Lidar Attributes

Object attributes set in a lidarannotation task can be inherited by the corresponding object in lidarlinking tasks created from the lidarannotation task.

{ // ... in the linking task payload
  "annotation_attributes": {
    "Size": {
      "copy_from_lidar_task": true,
      "type": "category",
      "description": "An attribute that was set in the original lidar task.  Note that the attribute name must match the original attribute name. If this attribute is copied from an annotation existing in the lidar task, its value cannot be changed.",
      "choices": [ "Large", "Small" ]
    },
    "Shape": {
      "type": "category",
      "description": "This is a new attribute that is specific to the 2d task",
      "choices": [ "Parallelogram", "Square", "Rhombus" ]
    }
  }
}

Option 1:

Inherited lidar attributes can be enabled by using the copy_all_lidar_task_attributes flag when creating the lidarlinking task.

If using this option, you can NOT set the same attributes in the lidarlinking task, because it will be copied over automatically from the lidarannotation task.

Option 2:

Setting copy_from_lidar_task: true on one or more annotation_attributes defined in the lidar linking task.

These attributes will be copied from the lidarannotation task to the lidarlinking task and cannot be modified in annotations derived from the lidarannotation task.


In both cases, for any new annotations that are added in, they can be used.