Simple parsing of gpx file or string