Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate nodes_only as per #308 #312

Merged
merged 1 commit into from
Feb 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions R/opq.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@
#' 3); way(id:2)"` as returned by `getbb(..., format_out = "osm_type_id")`
#' or \link{bbox_to_string} with a `data.frame` from `getbb(..., format_out
#' = "data.frame")` to select all areas combined (relations and ways).
#' @param nodes_only If `TRUE`, query OSM nodes only. Some OSM structures such
#' as `place = "city"` or `highway = "traffic_signals"` are represented by
#' nodes only. Queries are built by default to return all nodes, ways, and
#' relation, but this can be very inefficient for node-only queries.
#' Setting this value to `TRUE` for such cases makes queries more
#' efficient, with data returned in the `osm_points` list item.
#' @param nodes_only WARNING: this parameter is equivalent to
#' `osm_types = "node"` and will be DEPRECATED. If `TRUE`, query OSM nodes
#' only. Some OSM structures such as `place = "city"` or
#' `highway = "traffic_signals"` are represented by nodes only. Queries are
#' built by default to return all nodes, ways, and relation, but this can
#' be very inefficient for node-only queries. Setting this value to `TRUE`
#' for such cases makes queries more efficient, with data returned in the
#' `osm_points` list item.
#' @param osm_types A character vector with several OSM types to query: `node`,
#' `way` and `relation` is the default. `nwr`, `nw`, `wr`, `nr` and `rel`
#' are also valid types. Ignored if `nodes_only = TRUE`.
Expand Down
14 changes: 8 additions & 6 deletions man/opq.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.