A small Python library that can download and read assets (images, cameras, mesh, pointcloud, ortho) from a scene and create annotations (area annotations, count annotations, issues).
pip3 install -e git+https://github.com/nickponline/glue.git#egg=glue
pytest
Set environmental variable export DRONEDEPLOY=ey..
to your login token accessed from the browser: Javascript Console -> Application -> Storage -> http://www.dronedeploy.com -> ls.prod_id_token
Everything is done after instantiating a Scene
which is associated with a single plan via the planId
parameter.
plan_id = '5df3c67892e8f231d110b585'
base_cache_folder = '/Users/nickp/data/cache'
scene = Scene(plan_id=plan_id, base_cache_folder=base_cache_folder)
See examples
for a number of usage examples.