Learn R Programming

osmdata (version 0.1.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)

Arguments

opq

An overpass_query object

Value

Character string to be submitted to the overpass API

Examples

Run this code
# NOT RUN {
q <- opq ("hampi india")
opq_string (q)
# }

Run the code above in your browser using DataLab