Hot answers tagged export
You might notice that when you manually change between Data View and Layout view, the scale changes. I would suggest changing to Layout view before you set the scale i.e. something like: mxd.activeView='PAGE_LAYOUT' df.zoomToSelectedFeatures(); df.scale = 2400.0
The plugin layer has no functionality to export to an image file. Instead, you can save map canvas image (File - Save as Image. A world file is outputted together), and then convert the image to GeoTIFF with the Translate (Convert format) tool of GDALTools. In the tool dialog, the target SRS field should be filled with the CRS of your map (EPSG:27039).
Export the image from Data View. Check the Write World file in the general tab. There you can also control the image output resolution and size. Image quality of the output will be compromised either way because you have georeferenced the image and thus altered/warped or stretched the original pixels. Work out the outptut size and resolution that closely ...
Give this a shot: import arcpy, os import arcpy.mapping from arcpy import env env.workspace = "C:\\Project" for mxd in arcpy.ListFiles("*.mxd"): mapdoc = arcpy.mapping.MapDocument(os.path.join("C:\\Project", str(mxd))) mapdoc_name = str(os.path.splitext(mxd)) width, height = str(round(mapdoc.pageSize.width, 2)), ...
I do not believe there is a tool or function that allows you to export a table with reordered fields. If anyone knows better please enlighten me! I've always felt it has been a bit of a limitation that the geo-processing tools do not honour the reordered fields. Especially the conversion tools . In the past I had attempted to create a tool that did it. The ...
Only top voted, non community-wiki answers of a minimum length are eligible