Skip to content

sf method for line_midpoint fails #360

@Robinlovelace

Description

@Robinlovelace

As demonstrated below.

library(stplanr)
l = osm_net_example
l$length_units = sf::st_length(l)
l$length_ = as.numeric(l$length_units)
hist(log(l$length))
l_points4 = line_midpoint(l_longest) # fails
plot(l_points4)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions