Description Usage Arguments See Also
Enrich an overpass query for column output
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | enrich_opq(
dataset,
name = NULL,
key = NULL,
value = NULL,
type = "points",
measure = "spherical",
r = NULL,
kernel = "uniform",
reduce_fun = sum,
control = list(),
.verbose = TRUE,
...
)
add_bbox(dataset, r, control)
add_feature(opq, key, value)
add_type(opq, type)
add_measure(opq, measure)
add_kernel(opq, kernel, r, reduce_fun, ...)
|
dataset |
target |
name |
name of the enriched column |
key |
target OSM feature key to add, see |
value |
target value for OSM feature key to add, see
|
type |
|
measure |
|
r |
The search radius used by the |
kernel |
|
reduce_fun |
The aggregation function used by the |
control |
The list with configuration variables for the OSRM server.
It contains |
.verbose |
|
... |
Additional parameters to be passed into the OSM query, such as a user-defined kernel. |
opq |
overpass query that is being enriched |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.