From 0257ea1d80d232ec260feffd661d59735f52bb00 Mon Sep 17 00:00:00 2001 From: Aaron Date: Mon, 10 Oct 2016 16:16:28 +0200 Subject: [PATCH] Create README.md --- README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..b1fdd26 --- /dev/null +++ b/README.md @@ -0,0 +1,27 @@ +# pywgs84tolv03 converter script + +This is a github mirror for the swisstopo python2 script written by me. You can find the script and ports to several other languages at: + +http://www.mont-terri.ch/internet/swisstopo/en/home/products/software/products/skripts.html + + + +## Example use + +```python +''' Example usage for the GPSConverter class.''' + +converter = GPSConverter() + +# Coordinates +wgs84 = [46.95108, 7.438637, 0] +lv03 = [] + +# Convert WGS84 to LV03 coordinates +lv03 = converter.WGS84toLV03(wgs84[0], wgs84[1], wgs84[2]) + +print "WGS84: " +print wgs84 +print "LV03: " +print lv03 +```