1

Has anyone created a dataframe geotiff using arcpy.mapping.ExportToTIFF() with satisfactory results?

My output has poor quality and the georeferencing is significantly off. This example is the geotiff at 50% transparency on top of my data. The shift between "South El Monte" is the best shift example. enter image description here

Here is an example of the code:

currentMxd = arcpy.mapping.MapDocument(r"F:\Test\amp_Edit.mxd")
dataFrame = arcpy.mapping.ListDataFrames(currentMxd, "Layers")[0] 
arcpy.mapping.ExportToTIFF(currentMxd, r"F:\Test\outtif.tif", dataFrame, df_export_width = 46000, df_export_height = 29000, resolution = 1000, geoTIFF_tags = True) 
asked May 29, 2012 at 19:38
1
  • I should also note that I am trying to create the dataframe geotiff from an MXD that is saved in Layout view. Commented May 29, 2012 at 19:41

1 Answer 1

2

After further research I found a solution to my problem here.

I was using an incorrect aspect ratio for my output image. After preserving the aspect ratio of my dataframe the output lined up perfect.

answered May 29, 2012 at 20:26

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.