images: Search for images

Description Usage Arguments Value Source Examples

Description

Search for images.

Usage

1
2
images(bbox, closeto, radius, lookat, start_time, end_time, user_name, user_key,
  project_key, page, per_page, fields, json = FALSE, print = TRUE)

Arguments

bbox

Bounding box, given as vector of minx, miny, maxx, maxy.

closeto

Location that images are close to, given as vector of longitude and latitude.

radius

Radius around the closeto location, given in meters (default 100).

lookat

Location in which direction images are taken (and therefore that location is likely to be visible in the images), given as vector of longitude and latitude.

start_time

Start time images are captured (following ISO 8601 rules).

end_time

End time images are captured before (following ISO 8601 rules).

user_name

Just objects for specific users, given as vector of usernames.

user_key

Just objects for specific users, given as vector of user keys.

project_key

Just objects for specific projects, given as vector of project keys.

page

Page number in pagination.

per_page

Results per page in pagination.

fields

Partially selected output fields, given as string or vector of strings. Fields are sorted in given order. Available fields: camera_angle, camera_make, camera_model, captured_at, img_key, panorama, user_key, user_name, project_key, longitude, latitude. If fields is missing (default), all available fields are returned.

json

If FALSE (default) the results are returned as simplified data.frame. TRUE (invisibly) returns the original JSON object (fields is ignored).

print

If TRUE (default) the search results are printed. If json=TRUE, nothing is printed.

Value

A data.frame or list (if json=TRUE) of matching images.

Source

https://a.mapillary.com/#images

Examples

1
2
3
4
## Not run: 
images(bbox=c(19.963211,49.317328,20.004066,49.325832), page=1, per_page=10)

## End(Not run)

chgrl/mapillRy documentation built on May 13, 2019, 4:05 p.m.