GPS Test KML to CSV
As part of surveying my local cemetery, I am using an Android app called GPS Test by Chartcross. I start with list a list of graves in my cemetery I need to get GPS coordinates for. I then gather those by taking samples with the app and changing the names of the points to the GraveID from my report. I export the KML file from the app and transfer it to my PC. (I used Google Drive as my go-between, but any method will do, such as Bluetooth transfer.) I modified the code slightly from my previous post, MyMaps to Spreadsheet, KML to CSV and back (rvnllc.com) . import sys import xml.etree.ElementTree as ET # KML namespace ns = {"": "http://www.opengis.net/kml/2.2", "gpstestkml":"http://www.chartcross.co.uk/XML/GPXDATA/1/0"} # Where is "coordinates" in each Placemark? wherecoords = 'Point/coordinates' # Where is "TimeStamp" in each Placemark? wherets = 'TimeStamp/when' # Where is accuracy in each Placemark...