Questions tagged [dodgr]
7 questions
2
votes
3 answers
How to convert a list of sf spatial points into a routable graph
I have an sf dataframe object with a series of points representing the shape of a bus route. I would like to turn this object into a routable graph so I can estimate the time it takes to traverse from point c to t.
Here is what I've tried using the…

rafa.pereira
- 13,251
- 6
- 71
- 109
1
vote
1 answer
Filling road network data gaps
I have a motorway network with count points that can be matched to road links. However, they only match around half the osm links. The network is uni directional and it should be possible to assign data from joining links to the missing links.
I…

Blaiso
- 165
- 9
1
vote
0 answers
How can I add spatial data to links in an OSM network from another network based on its attributes in R?
I have one OSM network which I divided into major and minor roads
osm_major <- osm[osm$highway %in% c("motorway","motowray_link","primary","primary_link","trunk","trunk_link"),]
osm_minor <- osm[!osm$highway %in%…

Pep
- 33
- 6
1
vote
2 answers
Extract count of intersections for Open Street Map way IDs, by route type
Edited with additional details added
I have a shapefile of 2,061 Open Street Map (OSM) road segments. Each segment in my shapefile is is identified by its OSM Way ID.
Here is an example of five segments from my data:
data =
structure(list(osm_id…

Ashley Asmus
- 67
- 7
0
votes
0 answers
R: In a travel time/distance matrix, how to find which destinations are within 1 hour of an origin point?
Im having some trouble with understanding how to find this piece of information.
Some context:
I have a range of origin (LSOA) and destination (MSOA) points which i have found the time and distance it takes to get from each origin to destination…

yuyumew
- 1
- 1
0
votes
1 answer
Travel time with GTFS
I have a GTFS file for Mexico City downloaded from transitland.
Here is a link to the file I am using in my code.
I want to use the GTFS to calculate travel times. Nevertheless, the GTFS does not seem to work with any of the R-based libraries…

Orlando Sabogal
- 1,470
- 7
- 20
0
votes
0 answers
How to use dodgr_isochrones with a given points object in R
I am trying to plot an isochrone map based on the locations of some convenience stores. Been searching on different methods (and I'm open to changing it) but for now I am working with dodgr.
q = opq(bbox = c(-103.78,19.2, -103.65, 19.31 )) %>%…

Pep
- 33
- 6