Description Usage Arguments Examples
View source: R/tc_traffic_calming.R
Use osmextract
to get the roads and then filter on other_tags
with keyword traffic_calming
(see OSM Wiki).
Currently it only takes the place
argument.
1 | tc_traffic_calming(place = NULL, convert_to_points = FALSE)
|
place |
Geographic name or coordinates as per |
convert_to_points |
Should linestring geometries be converted to points?
|
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
tc_interventions = tc_traffic_calming("Isle of Wight")
plot(tc_interventions)
tc_interventions
summary(tc_interventions$geometry) # points and lines in there
tc_points = tc_traffic_calming("Isle of Wight", convert_to_points = TRUE)
summary(tc_points$geometry) # points only
tc_wy = tc_traffic_calming("West Yorkshire")
table(tc_wy$traffic_calming)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.