sfnetworks / spnethack

Place for a spatial network hackathon
12 stars 5 forks source link

Follow-up blogpost for r-spatial.org #2

Open loreabad6 opened 3 years ago

loreabad6 commented 3 years ago

Since our blogpost release a lot of development has happened to sfnetworks. A lot more can be done now in comparison to our previous blogpost. sfnetworks is currently under revision for CRAN, so it would be nice that once it is there, we work on a follow-up blogpost, announcing this milestone and pointing readers to the sfnetworks vignettes.

We can also reproduce our previous entry entirely with sfnetworks. There are just a couple of things to think of, mainly regarding network cleaning. In our previous approach we used GRASS7, while now a lot could be done with the new spatial morphers. A couple of things don't work exactly the same, so we should look into what is the best workflow.

Happy to hear any thoughts! 😄

greggsaldutti commented 3 years ago

Thanks for the work on this blogpost. An updated version would be appreciated (by me at least). One note for the blogpost, at line 129, the function doesn't return a proj4 that can be parsed by GRASS. However, it works by using: proj4 <- unlist(st_crs(meunster)$proj4string)

Thanks again for your work.

fgashakamba commented 1 year ago

sfnetworkscan now do most of the stuff mentioned in the blog. However, I am most interested in running GRASS GIS in R and how to set its environment in R. Currently, rgrass7 has been deprecated and replaced with rgrass. However, I have had no success in making it play nicely.