GeoJSON
GeoJSON data for annotations on maps
Panel Support
GeoJSON
is used in the Map Panel.
Data Structure
Field | Type | Description |
---|---|---|
geojson | string | GeoJSON data encoded as a UTF-8 string |
Reference Implementation
The visualization data structure is framework-independent and can be implemented using any supported message encoding:
Encoding | Data Structure |
---|---|
ROS 1 | foxglove_msgs/GeoJSON |
ROS 2 | foxglove_msgs/msg/GeoJSON |
JSON | foxglove.GeoJSON |
Protobuf | foxglove.GeoJSON |
FlatBuffers | foxglove.GeoJSON |
OMG IDL | foxglove::GeoJSON |
You must use the data structure names specified above for the visualization to recognize the data structure.