Skip to content
Permalink
Browse files

write river paths to correct directory

  • Loading branch information...
mdlincoln committed Apr 12, 2019
1 parent 8320622 commit c78c1cb1b1940006c3b463efe1b16ed7fe31f5f0
Showing with 2 additions and 2 deletions.
  1. +2 −2 osmar/drake.R
@@ -104,14 +104,14 @@ pgh_plan <- drake_plan(
river_pathway_sf = produce_pathway_sf(graph = pgh_tidy_graph, pathway = river_pathway),
river_bridge_centroid_sf = bridge_centroids(graph = pgh_tidy_graph, pathway = river_pathway),
river_pathway_sf_rda = save(river_pathway_sf, file = file_out("osmar/output_data/completed_paths/river_pathway_sf.rda")),
river_bridge_centroid_sf_rda = save(river_bridge_centroid_sf, file = file_out("osmar/output_data/river_bridge_centroid_sf.rda")),
river_bridge_centroid_sf_rda = save(river_bridge_centroid_sf, file = file_out("osmar/output_data/completed_paths/river_bridge_centroid_sf.rda")),

# For visualization purposes only keep the graph within city limits + any
# additional edges traversed by the pathway
pathway_sf = produce_pathway_sf(graph = pgh_tidy_graph, pathway = full_pathway),
bridge_centroid_sf = bridge_centroids(graph = pgh_tidy_graph, pathway = full_pathway),
pathway_sf_rda = save(pathway_sf, file = file_out("osmar/output_data/completed_paths/pathway_sf.rda")),
bridge_centroid_sf_rda = save(bridge_centroid_sf, file = file_out("osmar/output_data/bridge_centroid_sf.rda"))
bridge_centroid_sf_rda = save(bridge_centroid_sf, file = file_out("osmar/output_data/completed_paths/bridge_centroid_sf.rda"))
)

city_bbs <- read_tsv(file = "https://raw.githubusercontent.com/dSHARP-CMU/boundingbox-cities/master/boundbox.txt", col_names = c("city", "ymax", "xmax", "ymin", "xmin"), col_types = "cnnnn")

0 comments on commit c78c1cb

Please sign in to comment.
You can’t perform that action at this time.