Skip to main content

TKY2JGD

PyPI - tky2jgd pytest status

国土地理院の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

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)

Source distribution for tky2jgd 0.2.0
File Size Uploaded
tky2jgd-0.2.0.tar.gz 3.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for tky2jgd 0.2.0
File Interpreter ABI Platform
tky2jgd-0.2.0-py3-none-any.whl Python 3 none any Details

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 log

Release 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 log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page