Testwiki:Reference desk/Archives/Mathematics/2023 November 23

From testwiki
Jump to navigation Jump to search

Template:Error:not substituted

{| width = "100%"

|- ! colspan="3" align="center" | Mathematics desk |- ! width="20%" align="left" | < November 22 ! width="25%" align="center"|<< Oct | November | Dec >> ! width="20%" align="right" |Current desk > |}

Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


November 23

Radii of Craig retroazimuthal projection

CC Template:Ping

Craig retroazimuthal projection centered on Mecca

The Craig retroazimuthal projection is overly stretched in the extremities, making it difficult to use it there and also cutting off outlying regions.

It occurred to me that if finding direction (instead of distance) is the requirement, one could scale the radius appropriately as in a fisheye lens without affecting bearing, perhaps like so:

x=λλ0y=λλ0sin(λλ0)(sinφcos(λλ0)tanφ0cosφ)r=x2+y2θ=arctan2(y,x)x=rkcosθy=rksinθ

for some constant 0 < k < 1. Is there a reason this isn't done?

Thanks,
cmɢʟeeτaʟκ 07:39, 23 November 2023 (UTC)

The main reason scaling the radius is not a common thing may be that the projection is mainly of historical interest. It is not hard to create an algorithm to compute the bearing from a source to a target, given their geographic coordinates, which can be further refined by modelling the shape of the Earth as a spheroid.
There are three hidden parameters in Craig's projection that can be used to reduce local distortions. If the preservation of bearing with respect to a target is the main objective, there is no specific reason to use the conventional latitude–longitude grid in which the North and South poles have latitude 90° and Greenwich has longitude 0°. By applying a 3D rotation to the grid before applying the projection, distortion in an area of interest can be diminished. One may furthermore replace the target by its antipodal point, in which the bearing to the target on the projection is given by the opposite direction of the bearing to the antitarget. (This will be expedient if one wants to found a mosque near Tematagi :).)
BTW, the modification you proposed introduces strange deformations near the target. In using Template:Math instead of using Template:Math you should use a function Template:Math with a tame derivative near the origin.  --Lambiam 09:03, 23 November 2023 (UTC)
Thanks, Template:Ping Good to know. Would you be able to suggest a projection which has the 3D rotation you described?
You're right that k → 0, rk → 1. Cheers, cmɢʟeeτaʟκ 23:51, 23 November 2023 (UTC)
Here is a possible approach, totally original research. Let T stand for the coordinate transformation, expressed in the geographical coordinate system of latitude and longitude:
T(φ,λ)=(Tφ(φ,λ),Tλ(φ,λ))=(φ,λ).
Rather in general, we want to keep the absolute values of the 2D x and y (as calculated using the formulas of Craig's projection) small in the area of interest, say centred around a "source" with coordinates (φ1,λ1).
The first factor of the formula for y is the inverse of sinc(x), which has an asymptote when x=λλ0π, so keeping x in check is particularly important. This suggests the constraint λ1λ0=0. In words, the rotation should bring source and target to the same meridian.
Another potential source of wild behaviour is the occurrence of tanφ0, so we add the constraint φ0=0, that is,
Tφ(φ0,λ0)=0.
At this point Craig's formulas have become simplified to
(x,y)=(0,sinφ).
Since SO(3) has 3 degrees of freedom, we have room for one more constraint, for which we might be tempted to pick φ1=0. However, together with the first constraint this would imply T(φ0,λ0)=T(φ1,λ1), which is not possible unless the source coincides with the target. Instead, just for definiteness, we can pick λ1=0, which can be combined with the first constraint λ1λ0=0 to give:
Tλ(φ1,λ1)=Tλ(φ0,λ0)=0.
So the target should be brought to Null Island (0,0) and the source to the prime meridian through the new target. Alternatively, one might consider bringing the point halfway between source and target to (0,0), so that source and target are on the prime meridian at equal distances from the new equator.  --Lambiam 07:47, 24 November 2023 (UTC)
Great work, thanks very much! cmɢʟeeτaʟκ 07:40, 26 November 2023 (UTC)
Another reason why there may be little interest in modifications of the Craig retroazimuthal projection is probably that its purpose – giving the bearing form any source location to a fixed given target location – can be achieved in a much simpler way by any of several azimuthal projections, putting the zenith directly above the target. The azimuthal conformal projection keeps local distortions small in any modestly large area of interest.  --Lambiam 14:34, 24 November 2023 (UTC)
Good thinking though I think that would require the user to rotate the map: if north is upwards at the zenith, it isn't so away from the meridian it is on up to the north pole. cmɢʟeeτaʟκ 07:42, 26 November 2023 (UTC)
The original projection invented by Craig does indeed have the property that all meridians are parallel and equally spaced, a property it shares with the common cylindrical projections. This property is not preserved when (x,y) is replaced by (rcosθ,rsinθ)=(ρx,ρy) where ρ=r/r, so I did not assume it was important.  --Lambiam 22:27, 26 November 2023 (UTC)