Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

exportToJpeg in a different coordinate system?

$
0
0
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?

Viewing all articles
Browse latest Browse all 2485

Trending Articles