nadar / swiss-coordinates
Converting swiss coordinates to Lat/Long global coordinates.
1.0.0
2016-05-31 16:33 UTC
This package is auto-updated.
Last update: 2024-11-06 10:16:04 UTC
README
Wrapper class with composer support based on http://www.swisstopo.admin.ch/internet/swisstopo/de/home/products/software/products/skripts.html
Informations about coordinates:
- Lat/Long = Latitude And Longitude
- WGS = Word Geodetic System
- Lat = Y-Axis
- Long = X-Axis
Example swiss coordinates:
- Rigi: Y = 679520, X = 212273
- Zürich-Seebach: Y = 684592, X = 252857
Installation
composer require nadar/swiss-coordinates
Usage example:
use swisscoordinates\Converter; echo Converter::CHtoWGSlat(679520, 212273); // 47.056709 echo Converter::CHtoWGSlong(679520, 212273); // 8.485306