This project is based on Metodika převodu mezi ETRF2000 a S-JTSK. The methodology describes in detail the conversion between ETRF2000 coordinate systems and S-JTSK. (Note: According to the EUREF-TWG recommendation, it is intended for the implementation of the European reference frame to use the designation ETRF2000 instead of the previous ETRF2000(R05)). The intermediate variable for this conversion is the S-JTSK/05 system. The advent of Global Navigation Satellite Systems (GNSS) technology in the 1980s. century marked a revolutionary leap in the speed and, to a large extent, in the accuracy of positioning with "geodetic accuracy" (units of cm). In addition to the requirement to integrate geodetic foundations into of the pan-European coordinate system, it was necessary to enable the spatial connection coordinate system with which GNSS technology works, with a plane system coordinates in the cartographic representation with which classic geodetic methods work. The implemented S-JTSK/05 coordinate system meets the following requirements:
- the system is primarily implemented by 3141 points of the DOPNUL network and "Selective maintenance"
- uses the spatial geodetic reference system for measurements by GNSS technology framework in the implementation of 2005 – i.e. ETRF2000 – thereby guaranteeing continuity with European spatial coordinate system
- uses a modified coordinate system for measurements in plane coordinates Křovák's display - this guarantees continuity with the existing binding S-JTSK coordinate system
- for the transformation of ellipsoidal heights (relative to the GRS80 ellipsoid) to heights above sea level in the binding "Balt after adjustment" system (Bpv), a quasi-geoid model is used CR-2005
- between coordinates in the ETRF2000 coordinate frame and plane coordinates in the modified Křovák representation, an exact mathematical relationship applies
- the root mean square value of the position deviation between the coordinates in S-JTSK and SJTSK/05 is 13.3 cm, for work requiring less than 0.5 m accuracy, both systems are pronoun
Note: The methodology contains some mistakes (such as swaped values for 3D transformation between the Bessel's ellipsoid and the ellipsoid GRS80. The source code should contain correct math expressions etc.
For the full transformation it is necessary to obtain the latest quasi-geoid model for the Czech Republic. This model is third party product and is not distributed within this project. Source for the QGZU-2013 can be found here.
To clone project:
git clone https://github.com/Buddy-87/jtsk2etrs.git
You can run the unit tests to be sure that the package runs and computes stuff correctly.
It runs all the tests in folder ./test/runtests.jl
# navigate to ./test/..
julia runtests.jl It is possible to use the Command line interface (CLI) for quick computation.
--file,-f(mandatory) - file containing the coordinates fo the points. See files czepos_jtsk.txt, czepos_etrs.txt as examples.--transformation", -t(mandatory) - the direction of the transformation. Either from ETRF frame to JTSK or the opposite.--output, -o(default value isresult.txt) - name of the output.--table(default value isv1202) - table with the additional corrections for y and x coordinates in the JTSK reference frame.
julia jtsk2etrs.jl -f "../data/czepos_jtsk.txt" -t jtsk2etrf --table v1710julia jtsk2etrs.jl -f "../data/czepos_etrs.txt" -t etrf2jtsk --table v1005