Learn R Programming

osmdata (version 0.2.5)

opq_string: Convert an overpass query into a text string

Description

Convert an osmdata query of class opq to a character string query to be submitted to the overpass API.

Usage

opq_string(opq)

Value

Character string to be submitted to the overpass API

Arguments

opq

An overpass_query object

See Also

Other queries: add_osm_features(), add_osm_feature(), bbox_to_string(), getbb(), opq_around(), opq_csv(), opq_enclosing(), opq_osm_id(), opq(), overpass_status()

Examples

Run this code
if (FALSE) {
q <- opq ("hampi india")
opq_string (q)
}

Run the code above in your browser using DataLab