Skip to main content

GeoJSON

GeoJSON data for annotations on maps

Panel Support

GeoJSON is used in the Map Panel.

Data Structure

FieldTypeDescription
geojsonstringGeoJSON 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:

EncodingData Structure
ROS 1foxglove_msgs/GeoJSON
ROS 2foxglove_msgs/msg/GeoJSON
JSONfoxglove.GeoJSON
Protobuffoxglove.GeoJSON
FlatBuffersfoxglove.GeoJSON
OMG IDLfoxglove::GeoJSON

You must use the data structure names specified above for the visualization to recognize the data structure.