timmo1982

exportToJpeg in a different coordinate system?

Discussion created by timmo1982 on Dec 3, 2013
Latest reply on Dec 8, 2013 by timmo1982
I've written a python addin toolbar tool to take a screen grab and save it as a georeferenced overlay in a KMZ file for use on newer Garmin GPS units.
Our map documents are in projected coordinate systems, but the KML needs to be written as lat long.
I can write out my dataframe extents as lat long using df.extent.projectAs() but I can't find a way to also use arcpy.mapping.ExportToJPEG() to save out the dataframe image as lat long.

I'm trying to avoid reprojecting the whole dataframe, then exporting and changing back to original if possible for performance reasons. Is there a way to ExportToJPEG using a .projectAs method as well? Or is re-projecting the whole data frame the only way?

Outcomes