Tag Info

Hot answers tagged

2

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


2

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).


1

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 ...


1

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)[0]) width, height = str(round(mapdoc.pageSize.width, 2)), ...


1

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