| osm_capabilities {osmapiR} | R Documentation |
Capabilities of the API
Description
Provide information about the capabilities and limitations of the current API.
Usage
osm_capabilities()
Details
API:
-
versionminimumandmaximumare the API call versions that the server will accept. -
areamaximumis the maximum area in square degrees that can be queried by API calls. -
tracepointsper_pageis the maximum number of points in a single GPS trace. (Possibly incorrect) -
waynodesmaximumis the maximum number of nodes that a way may contain. -
relationmembermaximumis the maximum number of members that a relation may contain. -
changesetsmaximum_elementsis the maximum number of combined nodes, ways and relations that can be contained in a changeset. -
changesetsdefault_query_limitandmaximum_query_limitare the default and maximum values of the limit parameter ofosm_query_changesets(). -
notesdefault_query_limitandmaximum_query_limitare the default and maximum values of the limit parameter of notes bounding box queries (osm_read_bbox_notes()) and search (osm_search_notes()). The
statuselement returns either online, readonly or offline for each of the database, API and GPX API. Thedatabasefield is informational, and theAPI/GPX-APIfields indicate whether a client should expect read and write requests to work (online), only read requests to work (readonly) or no requests to work (offline).
Policy:
Imagery blacklist lists all aerial and map sources, which are not permitted for OSM usage due to copyright. Editors must not show these resources as background layer.
Value
A list with the API capabilities and policies.
See Also
Other API functions:
authenticate_osmapi(),
osm_api_versions(),
osm_permissions(),
set_osmapi_connection()
Examples
osm_capabilities()