TKY2JGD
国土地理院のTKY2JGDをPythonに移植したものです。
オリジナルのTKY2JGDはhttps://www.gsi.go.jp/sokuchikijun/tky2jgd_download.htmlからダウンロードできます。
座標変換パラメータファイルdata/TKY2JGD.parはv2.1.1 (2002-04-01) を使用しています。
Usage
CLI
$ tky2jgd 36.103774791666666 140.08785504166664
36.10696628160147 140.08457686629436
Python
import tky2jgd
tky2jgd.load_parameter('data/TKY2JGD.par')
# Original First-class Triangulation Point at the Japan GSI Tsukuba
lat, lon = 36.100578889, 140.091149167
dB, dL = tky2jgd.bilinear(lat, lon)
lat += dB / 3600
lon += dL / 3600
assert (lat, lon) == (36.10377077065109, 140.08787082896106)
References
- Original application TKY2JGD developed by Japan GSI: TKY2JGDバージョンアップ履歴 | 国土地理院
- Japan GSI continue improving the new conversion data. The latest information is available at 測量計算サイト トップページ.
Metadata
Release files for tky2jgd 0.2.0
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 |
|---|---|---|---|---|
| tky2jgd-0.2.0.tar.gz | 3.4 MB | With provenance | Details for tky2jgd-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tky2jgd-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for tky2jgd-0.2.0-py3-none-any.whl |
Total release size: 6.9 MB
Release files / tky2jgd-0.2.0.tar.gz
| Download URL | tky2jgd-0.2.0.tar.gz |
|---|---|
| Size | 3.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c83427ae2f08372f24a6d115d51734bb4d8f3f0c107ef4227aad3ff9348a45db
|
|
BLAKE2b-256 checksum How to use checksums |
3fd9e252ac0f7879251ea4d9334d81f9c356855ef33547c233308b902252d75f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 23, 2026.
Transparency logRelease files / tky2jgd-0.2.0-py3-none-any.whl
| Download URL | tky2jgd-0.2.0-py3-none-any.whl |
|---|---|
| Size | 3.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e20f23811d4764ed7c89f22b189a5eb6e486e58ed22a65be5312e7b1837ba583
|
|
BLAKE2b-256 checksum How to use checksums |
648fe01c24595d68c78b3922a373f03bd48048f837aa679c53853d7566ab0485
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 23, 2026.
Transparency logSecurity for tky2jgd 0.2.0
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 tky2jgd-0.2.0.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 Aug 23, 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.