for point in segment.points:
    print('Point at ({0},{1}) -> {2}'.format(point.latitude, point.
        longitude, point.elevation))
for waypoint in gpx.waypoints:
    pass
Как извлечь данные .gpx с помощью python