Module talk:Location map/data/NATO
{{WikiProject banner shell|
{{WikiProject Maps}}
}}
Formulae after cropping
I find it difficult to understand the vertical stretch factor 575/324 in the formula for y introduced in [https://en.wikipedia.org/w/index.php?title=Module:Location_map/data/NATO&diff=prev&oldid=1212692713 this edit].
If I am not mistaken :File:NATO Territory Map.svg is a derivative of :File:North Atlantic Ocean laea location map.svg by cropping the lower border at 324/575 = 56.3478260869565%.
Imho this operation on a map with Lambert azimuthal equal-area projection cannot be compensated for by adding some vertical stretch factor but it requires the correction of the parameters , , and .
The upper right corner of the map remains at lat = 71.02192702284165 N; lon = 38.61651360858501 E and the projection center remains at lat = 35 N; lon = 35 W. The projection of the upper right corner remains at
:
However, the lower left corner moves to approximately lat = 14.35 N; lon = 96.55 W. Conversion of the lower left corner with the proj
tool:
:
proj +proj=laea +lat_0=35 +lon_0=-35 +a=1 -f %.8f
-96.55 14.35
-0.97701214 -0.07076885
:
From these values the projection parameters can be computed as:
:
:
:
:
Spischot (talk) 12:14, 2 October 2024 (UTC)
:After spending some more time thinking I do now consider the vertical stretching by factor 575/324 as correct. All positions in the upper 324/575 part of the original map (y between 0% and 56.3...%) are strechteched out to extend vertically over all (0% - 100%) of the new, cropped map.
:How does this relate to my computation of the new factors above?
:The formula for
::
:can be simplified as
::
::
::
:so the projection parameters are actually
::vertical projection center
::vertical scaling
:which are pretty close to my computation above. The deviation of 0.015% was caused by my approximation of the new lower left corner. Spischot (talk) 09:40, 3 October 2024 (UTC)