Skip to content

Convert a file with UTM coordinates into WGS84 coordinates, and verify the data

License

Notifications You must be signed in to change notification settings

andreasscherbaum/utm-to-wgs84-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

./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:

	X	Y
Waste basket	367815.774857	5932106.01162
Waste basket	367723.190517	5932136.70537

About

Convert a file with UTM coordinates into WGS84 coordinates, and verify the data

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages