I have two data frames ("Final" and "OverviewMap1") on one Layout View and I can't export them as a whole in one GeoTIFF. What is wrong with the following script:
import arcpy mxd = arcpy.mapping.MapDocument(r"C:\Users\gnowak\Desktop\Fredropol_FINALv3.mxd") df = arcpy.mapping.ListDataFrames(mxd, "Final", "OverviewMap1") arcpy.mapping.ExportToTIFF(mxd, r"C:\Users\gnowak\Desktop\Fredropol.tif", df, df_export_width=1346, df_export_height=1003, geoTIFF_tags=True) del mxd
The following script works but I want to export GeoTIFF layout and want to setup resolution, width and height of tif.
import arcpy mxd = arcpy.mapping.MapDocument(r"C:\Project\Project.mxd") arcpy.mapping.ExportToPDF(mxd, r"C:\Project\Output\Project.pdf") del mxd