Exporter.send
​Orthomosaic Export​
​NDVI Toolbox Export​
​Elevation Export​
​3D Export​
​Point Cloud Export​
Exporter.list
​Exporter.list​
Exporter.getSelectedAutoExportParams
Exporter.createAutoExport
Exporter.closePopup
​Exporter.closePopup​
Example Call
dronedeployApi.Exporter.send({layer: 'Orthomosaic',email: ['example@dronedeploy.com']}).then(function(exportId){ console.log(exportId) });
Parameters
const exportOptions = {// requiredlayer: 'Orthomosaic',email: [String, String],​//optionalfile_format: ['geotiff', 'jpg'], // default to geotiffmerge: Boolean, // defaults to trueprojection: Number, // defaults to 3857resolution: ['native', Number], // defaults to 5 (cm/px)planId: [String], // defaults to currently visible mapwebhook: {url: 'http://www.url-to-ping-on-complete.com/any-params-here' // recieve the export document when its complete}};dronedeployApi.Exporter.send(exportOptions).then(function(exportId){ console.log(exportId) });
​Full Example​
Example Call
dronedeployApi.Exporter.send({layer: 'NDVI Toolbox',email: ['example@dronedeploy.com']}).then(function(exportId){ console.log(exportId) });
Parameters
const exportOptions = {// requiredlayer: 'NDVI Toolbox',email: [String, String],​//optionalfile_format: ['geotiff', 'jpg', 'shapefile'], // default to geotiffmerge: Boolean, // defaults to trueprojection: Number, // defaults to 3857resolution: ['native', Number], // defaults to 5 (cm/px)planId: [String], // defaults to currently visible mapwebhook: {url: 'http://www.url-to-ping-on-complete.com/any-params-here' // recieve the export document when its complete}};dronedeployApi.Exporter.send(exportOptions).then(function(exportId){ console.log(exportId) });
​Full Example​
Example Call
dronedeployApi.Exporter.send({layer: 'Elevation Toolbox',email: ['example@dronedeploy.com']}).then(function(exportId){ console.log(exportId) });
Parameters
const exportOptions = {// requiredlayer: 'Elevation Toolbox',email: [String, String],​//optionalfile_format: ['geotiff', 'jpg', 'demtiff', 'contourshp', 'contourdxf'], // default to geotiffmerge: Boolean, // defaults to trueprojection: Number, // defaults to 3857resolution: ['native', Number], // defaults to 5 (cm/px)contour_interval: [Number], // default to 1 (meter)planId: [String], // defaults to currently visible mapwebhook: {url: 'http://www.url-to-ping-on-complete.com/any-params-here' // recieve the export document when its complete}};dronedeployApi.Exporter.send(exportOptions).then(function(exportId){ console.log(exportId) });
​Full Example​
Example Call
dronedeployApi.Exporter.send({layer: '3D Model',email: ['example@dronedeploy.com']}).then(function(exportId){ console.log(exportId) });
Parameters
const exportOptions = {// requiredlayer: '3D Model',email: [String, String],​// optionalplanId: [String], // defaults to currently visible mapwebhook: {url: 'http://www.url-to-ping-on-complete.com/any-params-here' // recieve the export document when its complete}};dronedeployApi.Exporter.send(exportOptions).then(function(exportId){ console.log(exportId) });
​Full Example​
Example Call
dronedeployApi.Exporter.send({layer: 'Point Cloud',email: ['example@dronedeploy.com']}).then(function(exportId){ console.log(exportId) });
Parameters
const exportOptions = {// requiredlayer: 'Point Cloud',email: [String, String],​// optionalfile_format: ['las', 'xyz'], // defaults to 'las'max_points: ['MAX', Number], // defaults to 'MAX'planId: [String], // defaults to currently visible mapwebhook: {url: 'http://www.url-to-ping-on-complete.com/any-params-here' // recieve the export document when its complete}};dronedeployApi.Exporter.send(exportOptions).then(function(exportId){ console.log(exportId) });
​Full Example​
Overview
List all the exports on the users account or for a specific plan.
Example Call
// get all exportsdronedeployApi.Exporter.list().then(function(exports){ console.log(exports) });​// get exports for planIddronedeployApi.Exporter.list({planId: '5803c075d0ec0a44f0a75a86'}).then(function(exports){ console.log(exports) });
Example Response
[{"username": "daniel@dronedeploy.com","status": "complete","plan_id": "57ffb7cf96fef40c53c89168","log": "1476376527_DANIELOPENPIPELINE","parameters": {"layer": "Orthomosaic","map_id": "57ffb803cb5fda187d43a90c","projection": "3857","file_format": "geotiff","url": "https://tiles_test.dronedeploy.com/unsafe/smart/filters:crop('{setting_crop_polygon}')/https%3A%2F%2Fs3.amazonaws.com/drone.deploy.tiles/{url}/{z}/{x}/{y}.png","merge": true,"env": "test","resolution": "5","email": ["daniel@dronedeploy.com"],"view": "58094649929d247d64aea82a"},"download_path": "https://s3.amazonaws.com/drone-deploy-exports/1476376527_DANIELOPENPIPELINE/UntitledMapsddfsdf_Orthomosaic_ThuOct20223610.zip?AWSAccessKeyId=AKIAISEWUBLV6Q6M3S3A&Expires=1479595007&Signature=AWSSLZIqt%2F71R540GBI2e3mif9c%3D","failure_info": 0,"parameter_hash": null,"id": "580946b2929d247d64aea82b","date_complete": 1477003302413,"date_started": 1477002982786,"date_creation": 1477002930264},]
​Full Example​
Overview
Gets selected parameters from Auto Exports form. Right now it returns only fileFormat.
Example Call
dronedeployApi.Exporter.getSelectedAutoExportParams().then((autoExportParams) => console.log(autoExportParams));
Example Response
{fileFormat: "geotiff"}
​Full Example​
Overview
Creates new auto export setting.
Example Call
const folderConfig = { folderId: 'folderId' }; // folderConfig may contain other propertiesdronedeployApi.Exporter.createAutoExport(folderEndpoint = 'https://fake-folder-endpoint', folderConfig).then((autoExportSetting) => console.log(autoExportSetting));
Example Response
{application: {id: "Application:sdjncksnckd"__typename: "Application"}dateCreation: "2019-06-03T06:35:10.974000+00:00"exportParameters: {emails: []fileFormat: "GEO_TIFF"layer: "ORTHOMOSAIC"merge: trueprojection: 3857resolution: 0__typename: "ExportParameters"}folderConfig: "{\"folder_id\": \"o9xcfDvir_dRpEwidj8LbPk\"}"folderEndpoint: "https://dronedeployfunctions.com/fn-5cb9adc213a75800015a/folder-to-upload"id: "AutoExportSetting:5cf4bf9e5c9f8500017b86d0"project: {id: "Project:123ABC456XYZ"__typename: "Project"}__typename: "AutoExportSetting"}
​Full Example​
Overview
Closes popup window with Auto Exports explorer and effectivelly stops the app that invoke this method.
Example Call
dronedeployApi.Exporter.closePopup();
​Full Example​