项目作者: andreasscherbaum

项目描述 :
Convert a file with UTM coordinates into WGS84 coordinates, and verify the data
高级语言: Python
项目地址: git://github.com/andreasscherbaum/utm-to-wgs84-converter.git
创建时间: 2017-09-12T23:31:27Z
项目社区:https://github.com/andreasscherbaum/utm-to-wgs84-converter

开源协议:Apache License 2.0

下载


utm-to-wgs84-converter

The convert.py script reads lines with coordinates (and additional text field) from a file, and converts the coordinates into WGS84, if specified in UTM format.

Usage

  1. ./convert.py -v -c config.yaml -d input.csv

The configuration is specified in config.yaml, and requires a “center coordinate” plus a maximum distance (in meters). Every input coordinate is verified against this coordinate, and if it exceeds the maximum distance, an error is raised. If you do not want any error checking, just raise the maximum distance to a very high value.

Format of example input file:

  1. X Y
  2. Waste basket 367815.774857 5932106.01162
  3. Waste basket 367723.190517 5932136.70537