In ArcMap, the file that contains one map, its layout, and its associated layers, tables, charts, and reports.

learn more… | top users | synonyms

2
votes
1answer
43 views

Map Package or Relative Paths for ArcMap MXD export

Is there a way to use Map Packaging so that multiple mxds draw data from the same geodatabase when unpacked? We've broken our project area into 14 divisions. Each division has it's own geodatabase ...
3
votes
1answer
44 views

Search Table of Contents in MXD

This is probably a very straightforward question, but I can't see if this is at all possible. I often work with MXDs that have a large number of group layers, and would like to find a specific layer ...
1
vote
1answer
325 views

Unexpected closing of mxdperfstat tool?

I'm trying to test an mxd with mxdperfstat. I want to test several scales, but as soon as I provide a scale over 500, the program simply quits. No Error warning. It just stops working. If I provide ...
0
votes
1answer
19 views

Can you display mxd files on a app for iPads?

I would like to know if there is any apps that can displaying ArcGIS data? I have multiple .mxd's that i would like to display on a portable app.
1
vote
1answer
50 views

How to create MXD in folders programmatically,

I have an MXD as a template and about 650 folders. Each folder corresponds to a species. What I want to do is to make an MXD (same as the template) in every folder of each species. How to do ...
0
votes
0answers
29 views

Bing Authorization pop up still appears after using script to remove Microsoft Virtual Earth layers [duplicate]

My organisation does not have a Bing key, so Bing and Microsoft Virtual Earth layers don't work and a Bing authorization pop up happens whenever I open a MXD containing them. This pop up interrupts ...
0
votes
1answer
24 views

Arcpy script to turn off all layers in a MXD

I tried this standalone script to turn off all layers in the MXD: print "This script turns off the following layers:" try: arcpy except NameError: import arcpy mxd = ...
0
votes
0answers
10 views

Advantages / Disadvantages of sharing mosaic with “Share as image service”

I couldn’t figure out what is the advantages/disadvantages of sharing mosaic with “Share as image service”. I am always adding the mosaic to the TOC and share the mxd file as a service, but I don’t ...
3
votes
1answer
259 views

How to clip a Oracle query layer directly in a Python script?

I have a query layer directly running from ORACLE database in a MXD. I want to clip this layer with a layer being created in another MXD in a Python based tool. My question is to do this clip ...
1
vote
1answer
18 views

Layer file data duplicated in map document file?

I have a map document file (.mxd) with a size of 0.3 MB. I also have two layer files (.lyr), containing large rasters. Together they are 16.2 MB. If I add the two layer files to my map document in ...
5
votes
3answers
1k views

Export .mxd to .dxf

Converting a .mxd to .dxf is something we need to do, and we do not only need the layers but also the layout of a map on our .mxd to be transfered to .dxf. I've done some research on the internet but ...
0
votes
2answers
61 views

How is a database related to a .mxd file?

What exactly is an mxd file, and how is it related to a database? Can a single database have multiple mxd files?
1
vote
1answer
175 views

Why does Describe function fail on annotation layer with RuntimeError: Object: Describe input value is not valid type?

I am accessing layers in an mxd programatically and also accessing the layer properties using the Describe function lyr =arcpy.mapping.ListLayers(mxd) # gets me the list of layers in mxd desc= ...
0
votes
0answers
80 views

How to load ArcGIS-created map into QGIS?

I created a map based on a DEM in ArcGIS (with Spatial Analyst). The office I worked together with, now wants me to add some extra layers into my map for further use. The thing is, my student licence ...
2
votes
1answer
44 views

Understanding Map Document Properties?

You set up your mxd in a folder. However, when you copy and paste to a different folder, the Map Document Properties does not update the document path when you save a new mxd with a different title. ...
4
votes
1answer
320 views

MXDs don't open by double-clicking outside ArcMap, but do open from within ArcMap?

If I try to open any MXD by double-clicking it from Windows Explorer or ArcCatalog, ArcMap fails to open. I can see in Task Manager that ArcGISFileHandler.exe briefly runs, then closes, but ...
3
votes
1answer
2k views

Use ArcPy to rename MXD layers

I have a MXD with some layers that have parentheses in them. I'd like to rename them via script. Is this a valid approach? import re map = arcpy.mapping.MapDocument("CURRENT") layers = ...
1
vote
2answers
47 views

Replacing shapefiles in MXDs using only Python options available prior to ArcPy?

I am trying to come up with a python script that will go through a designated folder, locate all MXD files within the folder, and then check each MXD to see if it contains a specified shapefile, which ...
1
vote
1answer
108 views

Listing data sources in ArcGIS map (*.mxd) without opening it?

Is there any routine I can use to read the data sources out of mxd´s without waiting 30 seconds to open each one? I need to create lists of all data sources as we are migrating data and altering our ...
3
votes
1answer
141 views

Checking .mxd version using ArcPy?

I am looking for a way to check the mxd version of a bunch of mxds. I found a script here at ArcPy method to determine ArcMap document version I am using ArcGIS 10.3.1 on my desktop. It goes through ...
1
vote
1answer
37 views

Opening map (*.mxd) using ArcGIS Online?

I created a map yesterday using ArcMap on my laptop. I do not have access to the programme right now. Is it possible to open this map (mxd) file on ArcGIS online?
0
votes
1answer
52 views

Repairing a broken data source for a single layer in multiple map documents

I am a Python newbie and I'm trying to repair the data source for an aerial raster in close to 50 individual map documents. My supervisor deleted the 2014 recently and uploaded the 2015 in its ...
3
votes
1answer
896 views

How to access all mxd files in a folder?

I'm a beginner to Python and am trying to figure out how I can access several mxds in a folder. For example, when I want to use the AnalyzeforMSD function in ArcGIS: import arcpy mxd = ...
2
votes
1answer
253 views

How to add Oracle database connection to AnalyzeforMSD script?

I use this script right now: import os, arcpy directory = r"C:\Project" for root, dirs, files in os.walk(directory): for myFile in files: fileExt = os.path.splitext(myFile)[1] if (fileExt ...
1
vote
1answer
40 views

Find and Replace shapefile source script not working

I'm very new to python so please forgive me if this is a simple error. I have quite a few MXD's in which each have a few layers referencing the same source. However I have since moved this data to a ...
1
vote
1answer
153 views

How do I remove username / password from an ArcGIS mxd?

When you create an mxd and use layers from a database connection where you are using "Database authentication" and clicked "Save username and password" and share the mxd with others, why are others ...
8
votes
2answers
1k views

Making Map Document (*.mxd) Locked/Uneditable?

I am wondering if its possible to create a locked map document? I have a document that multiple users will be accessing and as a way of preventing them from making any accidental errors, am wondering ...
2
votes
2answers
144 views

Run C# form when ArcMap mxd is opened

I have created a form in C# which collects data such as name, date, workspace and several other fields from the user and stores this data in a temporary .txt file to be used later by other functions. ...
1
vote
2answers
178 views

How to read ArcGIS files in R?

I am new to using spatial data in R. So far the tutorials I have seen consist of using maptools, map, ggplot2 and rgdal to open ".shp" files along with ".csv" files to plot the polygons/ points using ...
2
votes
2answers
789 views

Convert .mxd to .qgs, MXD2QGS fix?

I've had a look at the following thread about using MXD2QGS and so far I've figured out that this only works with version 10.0 and Python 2.6. I installed MXD2QGS on a machine with Arc10.0 and Python ...
1
vote
1answer
50 views

Is it possible to change the current map document from a geoprocessing tool

I'm writing a BaseGeoprocessingTool with the ArcObjects API and I need to open an Mxd then change the current document by this opened document. I managed to open the Mxd document: IMapDocument ...
8
votes
2answers
2k views

Benchmarking MXD vs MSD performance?

Has anyone seen any publically available benchmarks of MSDs vs MXDs? If we ignore the fact that as part of the MSD publishing process, we run it through some validators with the map service ...
0
votes
1answer
333 views

How to stop ArcGIS Desktop automatically creating mapped drives?

I have a MXD which I am using to make a PMF. I'm using ArcMap 10.1. I want my layers only to have UNC paths (starting with \\server...) as otherwise some users will get broken links if we have ...
9
votes
3answers
2k views

How can I speed up slow-loading, template-generated MXDs?

I have an ArcMap template (.mxt) file which causes .mxd documents created with it to take 5-10 minutes to load (if it ever loads). Even after stripping out all the data sources and tables, the issue ...
7
votes
5answers
840 views

How to keep track of changes (version control) to MXD files?

I am trying to use ArcMap for the first time, so please bear with me and don't down vote the question. My superior at the work place has asked me to do some research about the life cycle of an .mxd ...
12
votes
2answers
1k views

ArcPy method to determine ArcMap document version

Is there a way with ArcPy to identify the version of a Map Document (MXD). I am working on a solution to inventory our MXD's and would like to know if a document is 8.1, 9.2, 10.0, etc. I am ...
1
vote
1answer
121 views

Cause of ERROR 000732: Input Layer: Dataset plan does not exist or is not supported?

I have several mxds (located in C:\Project ) that have 250 layers each. All the layers as the same name- "plan" and they all in group layers like that (added picture for example): I try to change ...
1
vote
1answer
114 views

Update Service config file with ArcIms java connector

We are using arcims java connector to create, update, delete services. it works fine for create and delete. However when we try to update the config file of service (ie : mxd file) the new mxd file is ...
14
votes
4answers
2k views
8
votes
4answers
8k views

How to Batch export MXD to PDF files?

Nico Burgerhart made a fantastic script called "Batch export MXD to PDF" back in 2008. http://arcscripts.esri.com/details.asp?dbid=14872 Any ideas how to implement it in ArcGIS 10? Something ...
0
votes
1answer
170 views

Loading graph (.grf fle) into MXD using ArcPy?

I have hundreds of pairs of FGDB and associated MXD files. I need to insert a graph in each mxd linked to its corresponding FGDB. No problem creating graph, but stuck on how to get graph into mxd ...
0
votes
1answer
53 views

Create Several Feature Layers and add them to a MXD

Every time I run this script now, I get an error on the line with the MakeFeatureLayer line. Sorry for all the questions! I'm really new to Python. import arcpy, os arcpy.env.workspace = ...
0
votes
0answers
34 views

Is there a way to show all mxd-files where one feature class is linked to?

At work a lot of our GIS-data is moved to a different folder. Since that means that we will have lots of missing links to this data within all the mxd-files, I was wondering if there was a way to show ...
6
votes
1answer
8k views

How can I edit/create new Normal.mxt template in ArcGIS 10.1?

I used to work with .mxt templates often back in version 9 and 8 but things seems to have changed since then. I realized that my new documents are loading a style file I don't want to to be loaded ...
1
vote
0answers
76 views

Corrupt MXD Causes? [closed]

What would be a few common events that could cause an .mxd to become corrupt? I have a few docs that eventually crash on me and the best solution is to continuously use the MXD doctor to fix the MXD.
2
votes
4answers
3k views

How to enumerate ArcGIS Server 10 map services with ArcPy

I need to connect to ArcGIS server with ArcPy and enumerate over map services. I need to: Loop through each ArcGIS server map service Stop/Start the service Get the service source document (MXD/MSD) ...
9
votes
6answers
8k views

Which Esri software is needed to open MXD files?

I received a group of MXD, AHD, and XML files on a CD from a client. What is the least expensive Esri software that would be needed to view the information contained in the MXD files? I only ...
4
votes
5answers
2k views

How can I print a bunch of Arcmap mxd's all at once?

I have a folder with a dozen Arcmap compositions (.mxd files) I need to print. They're all ready to go, I don't need to do any editing. Do I really have to open up each one, wait to refresh, and press ...
4
votes
2answers
274 views

ArcMap MXD into exe file?

Is there any way to make an ArcMap mxd doc into a simple exe file so that one who does not have ArcGIS can view my work?
0
votes
1answer
49 views

Save a copy and replace the last six characters (date format) from a list of user selected MXD documents

The following script has the following objectives: User selected MXD files. Here I use a multivalue parameter for FILE with a filter for MXD in the tool box settings. Changing selected text based on ...