Unique ID:

Issue Date: February 15th 2019
Last modified: March 21st 2019
Method

HighwayScrapeR

Sample a queried area for OpenStreetMap (OSM) highways and return points at user defined intervals (in metres) along the matching highways.

Link: https://methods.officialstatistics.org/algorithms/joepeskett_ungp/HighwayScrapeR/docs

Tags: geospatial, map

This algorithm is used to scrape way_ids that OSM recognises as highways with a name. The algorithm takes the line string for each way, calculates the length of each line and places evenly spaced points along the line. The spacing is dependent on the interval selected (in metres).

The direction of each of these points is also given, calculated by the bearing of the previous point and following point.

Note that were way_ids to coincide, there may be points closer than the defined interval.

This method makes use of the osmdata R package.

Data Coverage
Data Coverage
Cost Implication: Free
Cost Comments: This allows an algorithm to compose sophisticated functionality using other algorithms as building blocks, however it also carries the potential of incurring additional royalty and usage costs from any algorithm that it calls.
Write Your Own Review
You're reviewing:HighwayScrapeR
Your Rating