"Multiple" Export Web Map Task to image alternatives

378
0
10-15-2019 08:47 AM
GregoryBologna
Occasional Contributor II

I am including an exported png map image in a PDF report using the Javascript API printing tools export task. First I use Query to get my map, then I generat a Web_Map_as_JSON request, and then extract the PNG from the json result.

The json result returns with a url to the generated image in about 3 seconds, which is too slow for use in an online dynamic PDF report. What I would like to do is export all of my png map images to disk ahead of time so that my dynamic PDF report doesn't have to wait for the export task request to complete. The initial job to save the images would run only one time. My solution was to use a .net HttpWebRequest app that will post the Web_Map_as_JSON request one at a time, and then save the png to disk, but at 3 seconds and over 200k of images to save, the job would take a week. I need a solution to request map images in batches, let's say 100 at a time. Is there a tool in ArcGIS desktop to do this? What technology (.Net, python, etc.) would you use?

0 Kudos
0 Replies