opq_string: Convert an overpass query into a text string

opq_stringR Documentation

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

See Also

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

Examples

## Not run: 
q <- opq ("hampi india")
opq_string (q)

## End(Not run)

osmdatar/osmdata documentation built on April 14, 2024, 5:28 p.m.