Skip to contents

Distances by default are Mapbox "cheap" distances if maximal network distances are < 100km, otherwise Haversine distances. Calling this function forces all calls to weight_streetnet from that point on to use geodesic distances. These are more computationally expensive to calculate, and weighting networks will likely take more time.

Usage

dodgr_streetnet_geodesic(unset = FALSE)

Arguments

unset

Calling this function with unset = TRUE reverts distance calculations to those described above, rather than geodesic.

Value

Nothing; the function is called for its side-effect only of setting distance calculations to geodesic.

See also