Select to view content in your preferred language

ArcGIS Earth Automation API is Here

2669
3
09-12-2017 03:29 PM
DarronPustam
Esri Contributor
5 3 2,669

With the release of ArcGIS Earth 1.6, we are happy to announce that ArcGIS Earth Automation API is now available. See more from ArcGIS for Developers or the ArcGIS Earth homepage.

We heard many voices of support for an ArcGIS Earth API after the first release of ArcGIS Earth less than 2 years ago. Many of you wanted the ability to control and interact with ArcGIS Earth, including 2D and 3D contents on the globe. So, we designed the ArcGIS Earth Automation API to enable a seamless app-to-app communication experience.

What is the ArcGIS Earth Automation API?

The ArcGIS Earth Automation API provides a standard interface for third-party applications that support .NET. It is based on NetNamedPipeBinding Class (System.ServiceModel)  and provides fast, reliable on-machine communications.

What can you do with it?

With the ArcGIS Earth Automation API, developers can now build .NET extensions on top of applications. For example, you can extend your application to access resources from ArcGIS Earth, and automate or script ArcGIS Earth behaviors for 3D navigation and visualization.

Specifically, ArcGIS Earth Automation API allows you to:

  1. Get and set camera positions.
  2. Control fly navigations of the camera.
  3. Add layers to ArcGIS Earth from online or local folders.
  4. Manage your ArcGIS Earth workspace (add or delete layers).
  5. Take a snapshot of the current view.

ArcGIS Earth Automation API provides a focused experience. It gives you control over the scene and workspace of ArcGIS Earth. Esri will continue to add new, empowering features for a wider range of usage.

Try it now!

See what’s possible with the ArcGIS Earth Automation API. This sample demonstrates how to create an add-in for ArcGIS Pro 2.0 to synchronize the 3D scene views between ArcGIS Pro and ArcGIS Earth. As you can see below, by switching between preset bookmarks in ArcGIS Pro, we get a simultaneous view on the same SLPK data from both ArcGIS Earth and ArcGIS Pro.

ArcGIS Earth Automation API 1.0

To try this add-in, go to View Synchronization Sample and download the example codes to your local machine. Note that you need to build the add-in within your local development environment, and also modify the codes where necessary. For example, you can add callback more messages for duplex communications.

Want to know more?

Get more details from the ArcGIS Earth product homepage, post your questions and share your ideas with us on GeoNet.

A special thanks to Yongwei Kang and Mandi Li for providing content to this blog.

Tags (3)
3 Comments
Mandy_Li
Esri Contributor

Visit ArcGIS Earth Automation API GitHub for more details.

TroySchmidt
Emerging Contributor

This is so close to getting what is basically needed for Automation.  There are two pieces that are still missing.

  1. Remove a specific layer.  It is awkward to say remove all operational layers and then add back all the ones I didn't want to remove.
  2. Turn layers off and on to control their visibility.  All the other pieces to controlling their "view state" are present like camera control, zoom, etc.  But I don't see the ability to turn layers off and on without going thru the awkward workflow mentioned in #1.
Mandy_Li
Esri Contributor

Hi Troy,

Thanks for your feedbacks. To answer your questions:

  1. Remove a specific layer by layerID or something similar is plausible and we are considering it for the next update.
  2. I think two options are expected here: 1) set layer visibility when adding it; 2) set visibility status to specific layer from TOC through #1 workflow.

In general, what have been addressed here are very helpful and I look forward to hearing more about your use cases the Automation API. 

Thanks,

Mandy

About the Author
DDarron Pustam is a Principal Product Manager at Esri and leads the operational intelligence team. Darron has over 30 years of industry experience including Defense, Disaster & Risk Management, Transportation, and Oil and Gas sectors, he specializes in leveraging geospatial technology to operationalize data and analytics for decision-making and actionable intelligence. Darron focuses on delivering advanced solutions for defense, intelligence operations, and national security from headquarters to the tactical edge, extending ArcGIS to enhance situational awareness and operational effectiveness.