Professional Documents
Culture Documents
𝑑 = √(𝑥2 − 𝑥1 )2 + (𝑦2 − 𝑦1 )2
𝑥 = 𝑟 cos 𝜃
𝑦 = 𝑟 sin 𝜃
𝑟 = √𝑥2 + 𝑦2
𝑦
𝜃 = tan−1 ( )
𝑥
• Change in scale
• Change in orientation - rotation
• Change of origin - translation
Therefore
𝑥′ 𝑥
( ′ ) = 𝑆( )
𝑦 𝑦
if there are no origin shifts or rotations
Question: what is the scale factor to convert a 1:50000 map to 1:25000 map?
-IM Anjasmara, 2021-
𝑥′ cos 𝛼 − sin 𝛼 𝑥
( ′ )=( )( )
𝑦 sin 𝛼 cos 𝛼 𝑦
3. Change of origin
All coordinate systems must have an origin, though they don’t often have the same
origin.
The difference between the two origins
can be expressed as:
𝑥′ 𝑥 Δ𝑥
( ′ )=( )+( )
𝑦 𝑦 Δ𝑦
𝑥′ 𝑚 cos 𝛼 −𝑚 sin 𝛼 𝑥 Δ𝑥
( )=( )( ) + ( )
𝑦′ 𝑚 sin 𝛼 𝑚 cos 𝛼 𝑦 Δ𝑦
When converting from (𝑥, 𝑦) to (𝑥′ , 𝑦′ ), the order these transformations must be
performed in is:
1. find scale change
2. find rotation angle
3. find origin shift
4. use the above formula to find (𝑥′ , 𝑦′ )
You are given the coordinates of two benchmarks (𝐴 and 𝐵) in both local (𝑈 , 𝑉 )
and national (𝑋, 𝑌 ) reference systems. Given the national coordinates of a third
point, 𝐶, find its local coordinates.
So, assuming a positive-clockwise convention, the rotation of the (𝑋, 𝑌 ) axes into
the (𝑈 , 𝑉 ) axes is positive. -IM Anjasmara, 2021-
𝑋𝐵 − 𝑋 𝐴 500
Dari XY →𝜃𝑋𝑌 = tan−1 ( ) = tan−1 ( ) = 90∘
𝑌𝐵 − 𝑌𝐴 0
𝑈 − 𝑈𝐴 300
Ke UV →𝜃𝑈𝑉 = tan−1 ( 𝐵 ) = tan−1 ( ) = +36∘ 52′ 11.63″
𝑉𝐵 − 𝑉 𝐴 400
When rotating coordinate axes, always do “Rotation” = “From” − “To”, but you should
always check this by drawing some pictures like the ones above.
Do the same using the coordinates of point 𝐵: if you don’t get the same answers
then you have made a mistake in step 1 or step 2.
These parameters (𝑚, 𝛼, Δ𝑋, Δ𝑌 ) can now be used to transform any number of
coordinates from the national to local grid, or vice versa.
Step 5: if you want to go the other way, i.e., from the local to the national,
without having to work out new values of (𝑚, 𝛼, Δ𝑋, and Δ𝑌 ) then use the
following formula:
𝑋𝐶 1 cos 𝛼 sin 𝛼 𝑈 − Δ𝑋
( )= ( )( )
𝑌𝐶 𝑆 − sin 𝛼 cos 𝛼 𝑉 − Δ𝑌
Notice the change in the rotation matrix, because we now have to rotate the axes
in an opposite direction.
Transform the coordinates of point 1 and 2 from the old coordinate system to the
new coordinate system using the Helmert transformation method.
With the defined assumptions, the 2D Helmert transformation only applies to:
• conformal transformation
• small coverage area ( < 50 km perimeter or distance between points <15 km)
𝑋 ′ = 𝑥 cos 𝛼 + 𝑦 sin 𝛼
𝑌 ′ = −𝑥 sin 𝛼 + 𝑦 cos 𝛼
-IM Anjasmara, 2021-
𝑋 = 𝑋 ′ + Δ𝑥
𝑌 = 𝑌 ′ + Δ𝑦
cos 𝛼 = 𝑎
− sin 𝛼 = 𝑏
If Then
Δ𝑥 = 𝐶1
Δ𝑦 = 𝐶2
𝑋 = 𝑎𝑥 − 𝑏𝑦 + 𝐶1
𝑌 = 𝑏𝑥 + 𝑎𝑦 + 𝐶2
-IM Anjasmara, 2021-
𝑎 = 𝜆 cos 𝛼 𝑏 = −𝜆 sin 𝛼
𝐶1 = Δ𝑥 𝐶2 = Δ𝑦
𝜆 = √𝑎2 + 𝑏2
−𝑏
𝛼 = tan−1 ( )
𝑎
To solve the 2D Helmert transformation formula, at least two (2) common points
are needed. -IM Anjasmara, 2021-
With two common points, the above formula can be presented in matrix form as
follow
𝑥𝐴 −𝑦𝐴 1 0 𝑎 𝑋𝐴
⎡ 𝑥 −𝑦 1 0 ⎤ ⎡ 𝑏 ⎤ ⎡ 𝑌 ⎤
⎢ 𝐵 𝐵 ⎥×⎢ ⎥−⎢ 𝐵 ⎥=0
⎢ 𝑦𝐴 𝑥𝐴 0 1 ⎥ ⎢ 𝐶1 ⎥ ⎢ 𝑋 𝐴 ⎥
⎣ 𝑦𝐵 𝑥𝐵 0 1 ⎦ ⎣ 𝐶2 ⎦ ⎣ 𝑌𝐵 ⎦
𝐴×𝑋−𝐹 =0
𝑎
⎡ 𝑏 ⎤
𝑋=⎢ ⎥ = [𝐴𝑇 × 𝐴]−1 × 𝐴𝑇 × 𝐹
⎢ 𝐶1 ⎥
⎣ 𝐶2 ⎦
𝐴, 𝐵, and 𝐶 are common points that the coordinates are known in an old and new
coordinate systems as follow:
Points Old Coordinate System New Coordinate System
𝑥(m) 𝑦(m) 𝑋(m) 𝑌(m)
A 0.000 0.000 - 22 571.826 - 629 103.926
B - 47 872.192 - 82 547.077 - 70 533.576 - 711 559.830
C 48 020.343 -83 415.004 25 338.591 - 712 559.830
1 966.737 1 678.967 ? ?
2 - 40 719.525 - 70 521.340 ? ?
Transform the coordinates of point 1 and 2 from the old coordinate system to the
new coordinate system using the Helmert transformation method.
-IM Anjasmara, 2021-
𝑋 = 𝑎 𝑥 + 𝑏 𝑦 + 𝐶1
𝑌 = 𝑐 𝑥 + 𝑑 𝑦 + 𝐶2
𝑥𝐴 𝑦𝐴 0 0 1 0 𝑎 𝑋𝑎
⟮ 0 0 𝑥𝐴 𝑦𝐴 0 1 ⟯ ⟮ 𝑏 ⟯ ⟮ 𝑌 ⟯
⟮ ⟯ ⟮ ⟯ ⟮ 𝑏 ⟯
⟮ 𝑥𝑏 𝑦𝐵 0 0 1 0 ⟯ ⟮ 𝑐 ⟯ ⟮ 𝑋𝐵 ⟯
𝐴=⟮ ⟯; 𝑋 = ⟮ 𝑑 ⟯; 𝐹 = ⟮ 𝑌 ⟯
⟮ 0 0 𝑥𝐵 𝑦𝐵 0 1 ⟯ ⟮ ⟯ ⟮ 𝐵 ⟯
⟮ ⋮ ⋮ ⋮ ⋮ ⟯ ⟮ 𝐶1 ⟯ ⟮ ⋮ ⟯
⟮ n n n n ⟯ ⟮ 𝐶2 ⟯ ⟮ n ⟯
2n×6 6×6 2n×1
𝐴, 𝐵, … n : common points
𝑎, 𝑏, 𝑐, 𝑑, 𝐶1 , 𝐶2 : transformation parameters
Then, the coordinates for the points to be transformed is defined using the basic
Affine formula:
𝐹2 = 𝐴2 ⋅ 𝑋
with
𝐴2 : coefficient matrix for the points to be transformed
𝐹2 : coordinates of the transformed points after transformation
𝑋 : transformation parameters matrix
-IM Anjasmara, 2021-
Transform the coordinates of point 1 and 2 from the old coordinate system to the
new coordinate system using the Affine transformation method.