mapillary_tools/geotag/geotag_from_blackvue.py [309:326]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    gpx = geotag_utils.convert_points_to_gpx(points)
    print(gpx.to_xml())

    LOG.setLevel(logging.INFO)
    handler = logging.StreamHandler(sys.stderr)
    handler.setLevel(logging.INFO)
    LOG.addHandler(handler)
    LOG.info(
        "Stationary: %s",
        geotag_utils.is_video_stationary(
            get_max_distance_from_start([(p.lat, p.lon) for p in points])
        ),
    )
    distance = sum(
        gps_distance((cur.lat, cur.lon), (nex.lat, nex.lon))
        for cur, nex in pairwise(points)
    )
    LOG.info("Total distance: %f", distance)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



mapillary_tools/geotag/geotag_from_gopro.py [153:170]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    gpx = geotag_utils.convert_points_to_gpx(points)
    print(gpx.to_xml())

    LOG.setLevel(logging.INFO)
    handler = logging.StreamHandler(sys.stderr)
    handler.setLevel(logging.INFO)
    LOG.addHandler(handler)
    LOG.info(
        "Stationary: %s",
        geotag_utils.is_video_stationary(
            get_max_distance_from_start([(p.lat, p.lon) for p in points])
        ),
    )
    distance = sum(
        gps_distance((cur.lat, cur.lon), (nex.lat, nex.lon))
        for cur, nex in pairwise(points)
    )
    LOG.info("Total distance: %f", distance)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



