I have a cartopy GeoAxesSubplot with some points, and potentially lines or polygons. The projection could be any that is supported by cartopy, including orthographic.
I can plot using different transformations, as explained
I would like to transform geographical coordinates to get the cartesian coordinates of the object in the axis (e.g. a subplot). That is, the coordinates in the range [0,1] in the axes of the figure, with (0,0)
in the lower-left corner, and (1,1)
in the upper-right.
In the case above, b
should be converted to (0.5, 0, 5)
as it is in the center of the map.