We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99ba0e8 commit b67647cCopy full SHA for b67647c
ships_hybrid_algorithm/config/README.md
@@ -36,3 +36,8 @@ You need x,y to have the same ratio aspect as the lon,lat of your map. For exemp
36
4. Ratio is :
37
$R \approx \cos(\phi_0)\cdot \frac{\Delta lon}{\Delta lat}$
38
5. Now you have : $x = y \times R$
39
+
40
+## How to convert lon,lat to x,y
41
42
+You have defined width and height of the map. You also have min and max lon,lat of the map in decimal degrees.
43
+$x=\frac{\text{lon}-\text{min\_lon}}{\text{max\_lon}-\text{min\_lon}}\cdot \text{width},\quad y=\frac{\text{lat}-\text{min\_lat}}{\text{max\_lat}-\text{min\_lat}}\cdot \text{height}$
0 commit comments