nadar / swiss-coordinates
将瑞士坐标转换为全球经纬度坐标。
1.0.0
2016-05-31 16:33 UTC
This package is auto-updated.
Last update: 2024-09-06 10:03:25 UTC
README
基于 http://www.swisstopo.admin.ch/internet/swisstopo/de/home/products/software/products/skripts.html 的具有 Composer 支持的包装类
关于坐标的信息
- Lat/Long = 纬度和经度
- WGS = 世界大地测量系统
- Lat = Y 轴
- Long = X 轴
示例瑞士坐标
- Rigi: Y = 679520, X = 212273
- Zürich-Seebach: Y = 684592, X = 252857
安装
composer require nadar/swiss-coordinates
使用示例
use swisscoordinates\Converter; echo Converter::CHtoWGSlat(679520, 212273); // 47.056709 echo Converter::CHtoWGSlong(679520, 212273); // 8.485306