Closed mpadge closed 6 years ago
Hey @ibarraespinosa can you take a look on this error?
Hi @mpadge , thanks for the feedback
Sorry for the delay in my reply, I did not receive notification of this issue.
Alternatively the lineSource
function can be used to make this task in the code below with the type = "sf"
or "sp"
(in test phase):
sf_output <- lineSource(dat, ras, as_raster = F, type = "sf")
raster_output <- lineSource(dat, ras, as_raster = T, type = "sf", gcol = 150, grow = 150)
if you use raster, you will probably want to use the gcol
and grow
arguments (number of grid cols and grid rows of the output raster)
@mpadge osmdata
is great, it's a good idea to include this in the package
we will include this in the future in a vignette for an application outside Brazil
This function assumed that the grid as a column "id" for each feature. Now this commit add a columns "id". Can you confirm @mpadge @Schuch666 it is fixed? Best
Thanks @ibarraespinosa
The function lineSource
create a id too
This is a brilliant package that we would like to incorporate within our analyses. To do that, we would like to use the
streetDist
function which does not appear to work in current form. Reproducible code follows:Any help appreciated!
Note also the use of the
osmdata
package which might be of general use within this package to very easily obtain OSM street networks.