coordinate-transformer-rs
Library for transforming geocentric Cartesian, longitude-latitude, JPR and pixel coordinates.
緯経度、平面直角座標、ピクセル座標の変換を行う。
使い方
// Conversion from plane rectangular coordinates to longitude and latitude.
// 平面直角座標から緯経度への変換
let = jpr2ll;
// Conversion from longitude and latitude to plane rectangular coordinates.
// 緯経度から平面直角座標への変換
let = ll2jpr;
// Conversion from longitude and latitude to pixel coordinates.
// 緯経度からピクセル座標への変換
let = ll2pixel;
// Conversion from pixel coordinates to longitude and latitude.
// ピクセル座標から緯経度への変換
let = pixel2ll;
// Calculate the length per pixel (m) in pixel coordinates according to the latitude and Zoom level of the arc degree method.
// 弧度法の緯度とZoomレベルに応じたピクセル座標における1ピクセルあたりの長さ(m)を計算する。
ライセンス
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
(The English in the README and comments in the source code were translated by DeepL.)