Problem adding river networks from SSN2 #12
-
|
Hi! When trying to create a graph of a river network from the SSN2 package as in the vignette, `library(SSN2) copy_lsn_to_temp() mf04p <- ssn_import( riverGraph <- MetricGraph::metric_graph$new(mf04p)` I get the following error message, Starting graph creation... I was able to fix it by, edges <- sf::st_multilinestring(mf04p$edges$geometry[,2]) but this does not seem optimal and I have not been able to add all of the data to the graph. Is there an easy fix? Best regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi, are you using the devel version? The CRAN version is outdated by now and will soon be updated. |
Beta Was this translation helpful? Give feedback.
Hi, are you using the devel version? The CRAN version is outdated by now and will soon be updated.