Skip to content

Commit

Permalink
Version 7.01 (Feb 12, 2015): Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mrihtar committed Feb 12, 2015
1 parent c84be91 commit 280f036
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
3 changes: 2 additions & 1 deletion PREBERIME.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ For English version of this file see [README.md].
nadomestilo za uradni program za konverzijo [SiTra] (s Helmertovimi
parametri za vso Slovenijo, brez regionalnih parametrov) ali natančnejši,
če se uporabi vgrajena afina/trikotniška transformacija z referenčnimi
[virtualnimi veznimi točkami].
[virtualnimi veznimi točkami] (za natančen opis glej [AFT.md]).

<img src="images/Slovenia-tie-points.gif" width="400px">
<img src="images/Slovenia-triangles.gif" height="266px">
Expand Down Expand Up @@ -247,6 +247,7 @@ VTH0722.XYZ.out
[SiTra]: http://sitra.sitranet.si
[SiTraNet]: http://sitranet.si
[virtualnimi veznimi točkami]: http://www.e-prostor.gov.si/si/zbirke_prostorskih_podatkov/drzavni_koordinatni_sistem/horizontalni_drzavni_koordinatni_sistem_d96tm/d96tm/transformacijski_parametri/
[AFT.md]: https://github.com/mrihtar/GeoCoordinateConverter/blob/master/aft/PREBERIME.md
[EGM2008]: http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008/egm08_wgs84.html
[geo_api.md]: https://github.com/mrihtar/GeoCoordinateConverter/blob/master/geo_api.md
[literature.md]: https://github.com/mrihtar/GeoCoordinateConverter/blob/master/literature.md
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ Za slovensko verzijo te datoteke glej [PREBERIME.md].
as a replacement for the official conversion program [SiTra] &#40;with
Helmert parameters for the whole Slovenia, no regional parameters&#41;
or more precise when used with the built-in affine/triangle-based
transformation using the reference [virtual tie points].
transformation using the reference [virtual tie points] &#40;for
detailed description see [AFT.md]&#41;.

<img src="images/Slovenia-tie-points.gif" width="400px">
<img src="images/Slovenia-triangles.gif" height="266px">
Expand Down Expand Up @@ -245,6 +246,7 @@ VTH0722.XYZ.out
[SiTra]: http://sitra.sitranet.si
[SiTraNet]: http://sitranet.si
[virtual tie points]: http://www.e-prostor.gov.si/si/zbirke_prostorskih_podatkov/drzavni_koordinatni_sistem/horizontalni_drzavni_koordinatni_sistem_d96tm/d96tm/transformacijski_parametri/
[AFT.md]: https://github.com/mrihtar/GeoCoordinateConverter/blob/master/aft/README.md
[EGM2008]: http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008/egm08_wgs84.html
[geo_api.md]: https://github.com/mrihtar/GeoCoordinateConverter/blob/master/geo_api.md
[literature.md]: https://github.com/mrihtar/GeoCoordinateConverter/blob/master/literature.md
Expand Down
6 changes: 3 additions & 3 deletions aft/PREBERIME.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ natančne Delaunayeve triangulacije.
- pridobi referenčne [virtualne vezne točke] &#40;že priložene&#41;:
⇒ datoteka ```virtualne_vezne_tocke_v3.0.txt```
- ekstraktaj GK in TM koordinate iz datoteke z uporabo ```awk```:
datoteke ```vvt-gk.node``` and ```vvt-tm.node```
datoteki ```vvt-gk.node``` and ```vvt-tm.node```
- uporabi program [triangle] za kreiranje trikotnikov:
datoteke ```vvt-gk.1.ele``` and ```vvt-tm.1.ele```
datoteki ```vvt-gk.1.ele``` and ```vvt-tm.1.ele```
Ti dve datoteki bi morali biti enaki razen vrstnega reda trikotnikov.
- uporabi priložen program ```ctt``` za kreiranje tabel, ki se bodo vključile v program:
datoteke ```aft_gktm.h``` and ```aft_tmgk.h```
datoteki ```aft_gktm.h``` and ```aft_tmgk.h```
```ctt``` rešuje zgoraj omenjen sistem linearnih enačb za vsak trikotnik.

Vse to se lahko avtomatizira z uporabo priloženih skript ```cvvt.sh``` (za Unix)
Expand Down
4 changes: 2 additions & 2 deletions aft/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ Za slovensko verzijo te datoteke glej [PREBERIME.md].
### Theory
Affine transformation only works with cartesian coordinates (GK x,y ⇔ TM x,y).
You need minimum 3 control points (for example a triangle), each with 4 coordinates
```(Xs, Ys, Xt, Yt)``` where ```Xs,Ys``` are coordinates in the source system
```(Xs, Ys, Xt, Yt)```, where ```Xs,Ys``` are coordinates in the source system
and ```Xt,Yt``` coordinates in the target system.

For each new point ```Xi,Yi``` the transformation is calculated via the
For each new point ```Xi,Yi``` transformation is calculated via the
following equation:
<pre>
Xo = a&lowast;Xi + b&lowast;Yi + c
Expand Down

0 comments on commit 280f036

Please sign in to comment.