Tag Info

New answers tagged

1

ArcGIS Pro, the new desktop application from Esri, supports the import of MXD files. It imports everything from mxd (layers, layouts,...) into ArcGIS pro project files. From there you won't need the mxd it self but the project files (aprx). Refer to this page for more details.


1

You should use Print Conductor for Batch Printing documents. I use it daily for my batch PDF Printing work. It prints all files at once with its DRAG and Drop feature. You can just select multiple folders or files and get them printed. Go to www.print-conductor.com to download the Print-Conductor


12

Despite PolyGeo second suggestion, There is an extension called CarryMap. It does what you exactly want. It exports your mxd into an Exe file that can be opened with a double click. No other software is needed. Furthermore it export your map for use in Android or iOS devices! However you should pay to have the extension (commercial extension). ...


10

It's not an *.exe but you can either: export your map to a layered PDF so that anyone with the free Adobe Reader can view it use the Publisher extension to publish your map as a PMF so that anyone with the free ArcReader can view it


1

Just modify the saveACopy at the end like so: mxd.saveACopy(mxdItem[:-10] + CurrentDate +".mxd") The mxdItem is just a string, so you can slice it or shorten it like normal strings. Here's some reference for dealing with strings. The bit I added just clips the last 10 characters from mxdItem (10 characters, not 6, because you need to remove the original ...


4

To create a multi-value input of MXD files in a tool dialog and create a Python list from them you can do the following: Write a short script like: import arcpy mxdString = arcpy.GetParameterAsText(0) mxdList = mxdString.split(";") arcpy.AddMessage(mxdList) Add the Script above to a toolbox with its parameter defined as below with MultiValue: ...


1

I ran this recently on many maps (not thousands though!): import arcpy import os import glob def fix_data_sources(mapDoc): sde = r'\\arcserver2\SDE_Connections' bad = [] mxd = arcpy.mapping.MapDocument(mapDoc) for lyr in arcpy.mapping.ListLayers(mxd): if lyr.supports('SERVICEPROPERTIES'): if ...


1

You should refer to the layer (lyr), not to "plan" when applying the symbology: arcpy.ApplySymbologyFromLayer_management(lyr, symbologyLayer) "plan" is just a string so arcpy tries to locate it in your predefined workspace.


1

There is some strange internal memory stuff going on. Basically, anything you do, especially when you execute geoprocessing tasks etc., will add to the mxd's memory. How to fix this? What I have done a lot before, and it works like magic, is doing a Save As to save a new instance of your mxd. Then you go ahead and delete the old one, and rename the copy to ...


1

There is a great ESRI tool for solving such issues: ArcGIS Document Defragmenter. I had an mxd of 250 mb and after first time of defragmenting it became 140 mb, then I ran it second time on the defragmented mxd and got 1 mb. So it works perfectly! Moreover it takes just a few seconds. However it does not clean up the results history and you probably will ...


0

Many thanks - and a sort of apology for my own silliness - to the community! Your support and advice was invaluable. I have finally solved the problem - it was actually a simple fix - a misunderstanding on my part. I failed to realize that a "shapefile" is far more than just the ".shp" file. Apparently you need to have all (five?) files (with all (five?) ...



Top 50 recent answers are included