Exporter

Exporter.send

Exporter.getPointCloudLink

Exporter.get3DModelLink

Exporter.list

Exporter.send

Orthomosaic Export

Example Call

dronedeployApi.Exporter.send({
  layer: 'Orthomosaic',
  email: ['example@dronedeploy.com']
}).then(function(exportId){ console.log(exportId) });

Parameters

const exportOptions = {
  // required
  layer: 'Orthomosaic',
  email: [String, String],

  //optional
  file_format: ['geotiff', 'jpg'], // default to geotiff
  merge: Boolean, // defaults to true
  projection: Number, // defaults to 3857
  resolution: ['native', Number], // defaults to 5 (cm/px)
  planId: [String] // defaults to currently visible map
};
dronedeployApi.Exporter.send(exportOptions)
  .then(function(exportId){ console.log(exportId) });

Full Example

NDVI Toolbox Export

Example Call

dronedeployApi.Exporter.send({
  layer: 'NDVI Toolbox',
  email: ['example@dronedeploy.com']
}).then(function(exportId){ console.log(exportId) });

Parameters

const exportOptions = {
  // required
  layer: 'NDVI Toolbox',
  email: [String, String],

  //optional
  file_format: ['geotiff', 'jpg', 'shapefile'], // default to geotiff
  merge: Boolean, // defaults to true
  projection: Number, // defaults to 3857
  resolution: ['native', Number], // defaults to 5 (cm/px)
  planId: [String] // defaults to currently visible map
};
dronedeployApi.Exporter.send(exportOptions)
  .then(function(exportId){ console.log(exportId) });

Full Example

Elevation Export

Example Call

dronedeployApi.Exporter.send({
  layer: 'Elevation Toolbox',
  email: ['example@dronedeploy.com']
}).then(function(exportId){ console.log(exportId) });

Parameters

const exportOptions = {
  // required
  layer: 'Elevation Toolbox',
  email: [String, String],

  //optional
  file_format: ['geotiff', 'jpg', 'demtiff', 'contourshp', 'contourdxf'], // default to geotiff
  merge: Boolean, // defaults to true
  projection: Number, // defaults to 3857
  resolution: ['native', Number], // defaults to 5 (cm/px)
  contour_interval: [Number], // default to 1 (meter)
  planId: [String] // defaults to currently visible map
};
dronedeployApi.Exporter.send(exportOptions)
  .then(function(exportId){ console.log(exportId) });

Full Example

3D Export

Example Call

dronedeployApi.Exporter.send({
  layer: '3D Model',
  email: ['example@dronedeploy.com']
}).then(function(exportId){ console.log(exportId) });

Parameters

const exportOptions = {
  // required
  layer: '3D Model',
  email: [String, String],

  // optional
  planId: [String] // defaults to currently visible map
};
dronedeployApi.Exporter.send(exportOptions)
  .then(function(exportId){ console.log(exportId) });

Full Example

Point Cloud Export

Example Call

dronedeployApi.Exporter.send({
  layer: '3D Model',
  email: ['example@dronedeploy.com']
}).then(function(exportId){ console.log(exportId) });

Parameters

const exportOptions = {
  // required
  layer: '3D Model',
  email: [String, String],

  // optional
  file_format: ['las', 'xyz'], // defaults to 'las'
  max_points: ['MAX', Number], // defaults to 'MAX'
  planId: [String] // defaults to currently visible map
};
dronedeployApi.Exporter.send(exportOptions)
  .then(function(exportId){ console.log(exportId) });

Full Example

Overview

Get the URL to download the Point Cloud

Example Call

const planId = '8905ccf8d4684ff6969eb0378f1d4e34';
dronedeployApi.Exporter.getPointCloudLink(planId)
  .then(function(downloadLink){ console.log(exportId) });

Example Response

https://s3.amazonaws.com/drone_assets/1470423260_DANIELINSPIRE/points.zip?AWSAccessKeyId=AKIAISEWUBLV6Q6M3S3A&Expires=1474516459&Signature=2MjUsIEJVRKHGO8ng8LoADH9jJk%3D

Full Example

Overview

Get the URL to download the 3D Model

Example Call

const planId = '8905ccf8d4684ff6969eb0378f1d4e34';
dronedeployApi.Exporter.get3DModelLink(planId)
  .then(function(downloadLink){ console.log(exportId) });

Example Response

https://s3.amazonaws.com/drone_assets/1470423260_DANIELINSPIRE/model.zip?AWSAccessKeyId=AKIAISEWUBLV6Q6M3S3A&Expires=1474516459&Signature=2MjUsIEJVRKHGO8ng8LoADH9jJk%3D

Full Example

Exporter.list

Overview

List all the exports on the users account or for a specific plan.

Example Call

// get all exports
dronedeployApi.Exporter.list()
  .then(function(exports){ console.log(exports) });

// get exports for planId
dronedeployApi.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

results matching ""

    No results matching ""