name 'Envelope' is not Defined create offline area ArcGIS Python API

04-16-2020 06:28 PM
Occasional Contributor

Hi all,

I'm trying to use the Python API via a notebook in ArcGIS Pro 2.5.0 to create offline map areas. I could do this in the web map directly by drawing in the polygons manually in the manage areas tab however I have around 30 to do and want a way to automate the process to allow for future updates. I've been following these instructions 

Managing offline map areas | ArcGIS for Developers 

However I'm getting the following error:

I've tried using a bookmark , polygon coordinates and extent. I've also tried using lat longs and projected web mercator aux sphere coordinates. They all result in the same error as above name 'Envelope' is not defined.

This issue seems very similar to the following threads that haven't been answered:

Error when trying to generate offline areas 

How to create offline_areas using extent 

Below is screen dump of note book.

Is this a known bug or am I missing something fundamental here ?

Any help appreciated.



0 Kudos
0 Replies