DroneDeploy
Search…
Images

Images.get

Overview
1
/**
2
* This call will return an array of image objects
3
*
4
* As shown below image objects contain a link to the full size image,
5
* an icon link, exif data, and other useful metadata.
6
*/
7
const planId = String;
8
// defaults to {height: 200, width: 200}
9
const optionalIconSize = {
10
width: Number,
11
height: Number
12
};
13
dronedeployApi.Images.get(planId, optionalIconSize);
Copied!
Example Call
1
dronedeployApi.Images.get('5605c0e5752afc005a000004', {width: 200, height: 200})
2
.then(function(arrayOfImageInformation){ console.log(arrayOfImageInformation) })
Copied!
Note: Values under data.exif are not normalized and vary depending on the camera.
Example Response
1
[{
2
"command": "log",
3
"data": {
4
"alt": 90.8,
5
"exif": {
6
"Aperture": 2.8,
7
"ApertureValue": 2.0,
8
"DateTimeOriginal": "2015:08:01 15:03:39",
9
"FOV": "84.0 deg",
10
"FocalLength": "3.6 mm",
11
"FocalLength35efl": "3.6 mm (35 mm equivalent: 20.0 mm)",
12
"FocalLengthIn35mmFormat": "20 mm",
13
"GPSAltitude": "90.8 m Above Sea Level",
14
"GPSAltitudeRef": "Above Sea Level",
15
"GPSLatitude": "38 deg 25' 36.57\" N",
16
"GPSLatitudeRef": "North",
17
"GPSLongitude": "123 deg 6' 52.70\" W",
18
"GPSLongitudeRef": "West",
19
"GPSPosition": "38 deg 25' 36.57\" N, 123 deg 6' 52.70\" W",
20
"GPSVersionID": "3.2.0.0",
21
"ISO": 100,
22
"Model": "FC300X",
23
"ShutterSpeed": "1/320",
24
"ShutterSpeedValue": "1/320",
25
"SourceFile": "/mnt/dd/data/1483668755_JEREMYADMOPENPIPELINE/images/326966208714.jpg"
26
},
27
"filename": "326966208714.jpg",
28
"gps_accuracy": {
29
"xy": null,
30
"z": null
31
},
32
"heading": 89.99995683940455,
33
"issues": {},
34
"lat": 38.426824999999994,
35
"lng": -123.11463888888889,
36
"pitch": 0,
37
"projections": [
38
{
39
"lat": 38.42745461093814,
40
"lng": -123.11523156716827
41
},
42
{
43
"lat": 38.426195385377326,
44
"lng": -123.1152315556236
45
},
46
{
47
"lat": 38.42619538607683,
48
"lng": -123.11404622094338
49
},
50
{
51
"lat": 38.42745461163766,
52
"lng": -123.11404621182035
53
}
54
],
55
"roll": 0,
56
"session": "1483668755_JEREMYADMOPENPIPELINE",
57
"stitcher_information": {
58
"pitch_est": -0.100635,
59
"rms_err": 1.851032,
60
"roll_est": 1.394377,
61
"x_err": -1.394867,
62
"y_err": 1.188053,
63
"yaw_est": 85.159741,
64
"z_err": -0.263052
65
},
66
"yaw": 0
67
},
68
"date_creation": {
69
"$date": "2015:08:01 15:03:39"
70
},
71
"drone_device_id": "1483668755_JEREMYADMOPENPIPELINE",
72
"drone_session_id": "1483668755_JEREMYADMOPENPIPELINE",
73
"name": "camera",
74
"path": "https://s3.amazonaws.com/drone_images/1483668755_JEREMYADMOPENPIPELINE/326966208714.jpg?AWSAccessKeyId=AKIAISEWUBLV6Q6M3S3A&Expires=1486252800&Signature=jL2aJdK1qgvnoKn1avYgXjIsXY0%3D",
75
"signed_filename": "326966208714.jpg?AWSAccessKeyId=AKIAISEWUBLV6Q6M3S3A&Expires=1486252800&Signature=jL2aJdK1qgvnoKn1avYgXjIsXY0%3D"
76
}]
Copied!
Copy link