MapToSphere is based on Sphere.net in the bonuspack cd.
A field, independent of rank, is transformed by warping it onto a sphere as a three-dimensional analog to traditional two-dimensional cartographic (map) projections. The positions component of the field is warped according to the standard cartesian to spherical coordinates transformation equation without changing any of the data values. NO interpolation is performed. The positions are assumed to be in the following order: latitude, longitude and optionally altitude. Latitude is in degrees north (-90 to +90) and longitude is in degrees east (-180 to +180). If an altitude or other third component of the positions vector is present, its values are added to the input radius of the sphere. If the positions are not organized in this fashion, then they will have be transformed prior to invocation.
MODULE MapToSphere CATEGORY CISM_DX_Cartography DESCRIPTION Transform a field by warping onto a sphere INPUT data; field; (none); field to be transformed by sphere warping INPUT radius; value list or field or string or string list; {1.0}; INPUT flag; value list or field or string or string list; {0}; 0 = 2d, 1 = 3d OUTPUT sphere; field; field transformed by sphere warping
EXAMPLE VPE: SEE ALSO