This tool parses and extracts geographical and utm coordinates from KML point file (Google Earth) into ASCCI file (PSXY and PSTEXT, wich have GMT templates formats) and Excel sheet with poin names and coordinates. Point names without grammatical accents (utf issues).
Steps to launch the tool: Set up in command line the path folder where you have the KML files.
Files requiered (respectively):
- 00_COORDENADAS.py
- POINTS_GEO.kml (in geographical coordinates)
- POINTS_UTM.kml (in UTM coordinates)
- OUTPUT FILE NAME (without any extension) dont recognize accents, encoding issues.
To get geographic or utm coordinates go to Google Earth and switch from one coodinates system to the other one.
Go to the menu "Tools", select "Options"
In the pop up window check on Universal Transverse Mercator (UTEM )if you are in Geographical coordinates and you want to get UTM coordinates
Go to "Places", select the point, right click, properties and check if the unit system has been changed in the coordinates
To launch the tool, write down in the command line:
The output files are:
- output.pstext (Command used in GMT mapping tool to text maps)
- output.xlsx (Excel sheet for a report)
Enjoy it :-D