Select to view content in your preferred language

Exporting multiple maps as images at a time,

5815
12
Jump to solution
05-17-2013 05:07 AM
JamalNUMAN
Legendary Contributor
Exporting multiple maps as images at a time,

I wanted to export 12 maps at a time such that only 2 layers are turned on: the layer of lines and one of the buildings. The layer of buildings contains 12 fields and each field represent one property like: date of construction, number of floors, using, etc.

[ATTACH=CONFIG]24421[/ATTACH]


Is there such python? For the time being I do this work manually!

Thank you

Best

Jamal
----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
Tags (2)
12 Replies
ganeshnarim
Emerging Contributor
Hi ganesh,

It worked fine in ArcGIS 10.1. There should be some issues related to your version


Cheers

Jamal


Hi Jamal,

Thanks for your reply...!!!   Is there any other way to run this tool in my version..????
Hope some one will help..!!!!
0 Kudos
by Anonymous User
Not applicable
@ Jamal

Perfect�?�Perfect�?�Perfect! It worked like a charm. I�??m very thankful to your help and massive effort.

The ArcGIS 10.1 didn�??t crash


Good to know it did not crash the map for you...I tested it on my laptop, which has Windows 8 and ArcGIS for home use license. Perhaps the freezing issue was related to running on Windows 8 but who knows.  I'll try it on my work computer tomorrow (Windows 7) to see if I can reproduce the issue.  Should be good to go on any mxd and you can leave as many layers on as you want using the "keep layers on" parameter.  I did not explain in my prior post, but I also have set up a wildcard option for the other layers (the ones used to turn on and off during the export to JPG).  This may be useful for future use.

@ Ganesh,

Thanks for your reply...!!! Is there any other way to run this tool in my version..????
Hope some one will help..!!!!


The tool I wrote is an ArcGIS 10.1 tool.  This would be backwards compatible with 10.0 (but you would have to redo the set up to a script tool as a 10.0 version tool for the GUI).  To answer your question, no this script is not compatible with ArcGIS 9.3 because it uses the arcpy module (and more importantly the mapping class for this tool); 9.3 uses arcgisscripting.
0 Kudos
JamalNUMAN
Legendary Contributor
@ Jamal



Good to know it did not crash the map for you...I tested it on my laptop, which has Windows 8 and ArcGIS for home use license. Perhaps the freezing issue was related to running on Windows 8 but who knows.  I'll try it on my work computer tomorrow (Windows 7) to see if I can reproduce the issue.  Should be good to go on any mxd and you can leave as many layers on as you want using the "keep layers on" parameter.  I did not explain in my prior post, but I also have set up a wildcard option for the other layers (the ones used to turn on and off during the export to JPG).  This may be useful for future use.

@ Ganesh,



The tool I wrote is an ArcGIS 10.1 tool.  This would be backwards compatible with 10.0 (but you would have to redo the set up to a script tool as a 10.0 version tool for the GUI).  To answer your question, no this script is not compatible with ArcGIS 9.3 because it uses the arcpy module (and more importantly the mapping class for this tool); 9.3 uses arcgisscripting.


Many thanks for the further elaboration Caleb.

Best

Jamal
----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos