Closed rafapereirabr closed 4 years ago
Hi Rafael, thanks as always for inquiries. In this case, the direct dodgr
code:
osmdata
code sub-selects only those with value = "motorway"
, andSo the dodgr
result ends up bigger. The ability of dodgr
to download data is really just intended for convenience for people who might not be so savvy with osmdata
and/or R in general. No offense, but that's not really you, and you'd be better off always using the explicit osmdata
calls for more control. I'll close now, presuming I've correctly interpreted what you meant, but feel free to open if i've misunderstood anything. Cheers!
Thank you for clarifying this, Mark! For the moment, I only need to do a routing analysis by car so I stick with add_osm_feature(key = 'highway', value = 'motorway')
for now. Thanks again !
Hi Mark,
Is it appropriate to do routing analysis and get network distances on road data downloaded using this code snippet ?
I ask you this because it seems to me that
dodgr_streetnet_sc{dodgr}
is a wrapper foropq{osmdata}
. However, I get really different file sizes when I applyweight_streetnet
to road network data downloaded using these two different approaches: