R package for downloading OpenStreetMap data
1% Generated by roxygen2: do not edit by hand
2% Please edit documentation in R/opq.R
3\name{opq_string}
4\alias{opq_string}
5\alias{opq_to_string}
6\title{Convert an overpass query into a text string}
7\usage{
8opq_string(opq)
9}
10\arguments{
11\item{opq}{An \code{overpass_query} object}
12}
13\value{
14Character string to be submitted to the overpass API
15}
16\description{
17Convert an osmdata query of class opq to a character string query to
18be submitted to the overpass API.
19}
20\examples{
21\dontrun{
22q <- opq ("hampi india")
23opq_string (q)
24}
25}
26\seealso{
27Other queries:
28\code{\link{add_osm_feature}()},
29\code{\link{add_osm_features}()},
30\code{\link{bbox_to_string}()},
31\code{\link{getbb}()},
32\code{\link{opq}()},
33\code{\link{opq_around}()},
34\code{\link{opq_csv}()},
35\code{\link{opq_enclosing}()},
36\code{\link{opq_osm_id}()},
37\code{\link{overpass_status}()}
38}
39\concept{queries}