Coordinate transformation of a point from the aircraft base_link to map

Using the sitl_gazebo from the PX4 firmware (ref: mavros_offboard_posctl_test.py), what is the easiest way to do coordinate transformation of a point from the aircraft base_link to map (same frame as the local_position published by MAVROS)?
I could create a node that publishes a tf map → base_link, but it must be a simpler way using the information published by MAVROS.