krovak03
Geodetic package for transformation ETRS89 (ETRF2000) coordinates to S-JTSK/S-JTSK03 (Slovak national coordinate system) and heights to Bpv system (Baltic vertical datum After Adjustment).
Transformation equations and constants are based on this technical report.
Installation
Run the following to install:
pip install krovak03
Methods
interpolate_dydx(Y, X)-> dy, dx - float, floatinterpolate_undulation(B, L)-> undulation - floatetrs_jtsk03(B, L, H)-> Y_jtsk03, X_jtsk03, H_bpv - float, float, floatetrs_jtsk(B, L, H)-> Y_jtsk, X_jtsk, H_bpv - float, float, floatjtsk03_jtsk(Y_jtsk03, X_jtsk03)-> Y_jtsk, X_jtsk - float, floatjtsk_jtsk03(Y_jtsk, X_jtsk)-> Y_jtsk03, X_jtsk03 - float, floatjtsk_etrs(Y, X, H)-> B, L, H - float, float, float
Usage
import math
import krovak03
krovak = krovak03.Transformation()
## Košice
B_etrs_in = 48.70862633849954
L_etrs_in = 21.254289537947557
H_etrs_in = 100
## Undulation of kvasigeoid
undulation = krovak.interpolate_undulation(B_etrs_in, L_etrs_in)
print(undulation)
# --> 40.268
## Transform ETRS89 (ETRF2000) coordinates to S-JTSK (JTSK03)
Y_jtsk03, X_jtsk03, H_bpv = krovak.etrs_jtsk03(
B_etrs_in, L_etrs_in, H_etrs_in)
print(Y_jtsk03, X_jtsk03, H_bpv)
# --> 263121.520 1240878.698 59.732
## Transform ETRS89 (ETRF2000) coordinates to S-JTSK (original JTSK realisation)
Y_jtsk, X_jtsk, H_bpv = krovak.etrs_jtsk(B_etrs_in, L_etrs_in, H_etrs_in)
print(Y_jtsk, X_jtsk, H_bpv)
## Reverse transformation S-JTSK coordinate to ETRS89
B_etrs_out, L_etrs_out, H_etrs_out = krovak.jtsk_etrs(
Y_jtsk, X_jtsk, H_bpv)
print(B_etrs_out, L_etrs_out, H_etrs_out)
print("Differences:")
print(f"dB = {(B_etrs_in-B_etrs_out)*(math.pi/180)*6378000*1000} mm")
print(f"dL = {(L_etrs_in-L_etrs_out)*(math.pi/180)*(6378000*math.cos(B_etrs_in*(math.pi/180)))*1000} mm")
print(f"dH = {(H_etrs_in-H_etrs_out)*1000} mm")
# round trip closes at the ~1 cm level
Data validation
validation of data accuracy was performed using of the Slovakia resort transformation service
Metadata
Release files for krovak03 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| krovak03-0.0.1.tar.gz | 1.9 MB | With provenance | Details for krovak03-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| krovak03-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for krovak03-0.0.1-py3-none-any.whl |
Total release size: 3.9 MB
Release files / krovak03-0.0.1.tar.gz
| Download URL | krovak03-0.0.1.tar.gz |
|---|---|
| Size | 1.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e87b80856008e00c27d57d7ea2ac0f4147d662d1afd6b5a026684eb0c81a1f2
|
|
BLAKE2b-256 checksum How to use checksums |
847c49b02289e244a049539940f538756ed3087053000c9eb504da4f06cacd74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 2, 2026.
Transparency logRelease files / krovak03-0.0.1-py3-none-any.whl
| Download URL | krovak03-0.0.1-py3-none-any.whl |
|---|---|
| Size | 2.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
502ff6c2ec1369b3df04c4c9bab1b23c9c0ec85754c26c255b33caa483f03d37
|
|
BLAKE2b-256 checksum How to use checksums |
a923960875f9088a2d868765a2fd2b64c2d38c3f56362830af14d76d6ace9380
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 2, 2026.
Transparency logSecurity for krovak03 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for krovak03-0.0.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 2, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.