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

learn more… | top users | synonyms

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
709 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 ...
9
votes
2answers
918 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
55 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
149 views

ArcGIS 10.2.2 Mxdperfstat

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 ...
1
vote
1answer
135 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= ...
1
vote
1answer
110 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 ...
12
votes
4answers
2k views
7
votes
5answers
7k 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 ...
3
votes
1answer
178 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 ...
0
votes
1answer
129 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
40 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
25 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 ...
3
votes
1answer
243 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 ...
6
votes
1answer
7k 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
35 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
6k 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
236 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
31 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 ...
1
vote
1answer
35 views

How to make list of MXDs from multi-value parameter in ArcPy?

I would like to selectively choose my MXD documents through the multivalue or filter parameter in the toolbox. From the selected MXD's the user should be able to replace text and re-save the ...
2
votes
2answers
2k views

Shapefiles are not being added to MXD using ArcPy?

I want to add a shapefile to an mxd document using arcpy but it generates the following error when used by adding script in arctoolbox import arcpy mxd = arcpy.mapping.MapDocument("CURRENT") ...
0
votes
1answer
53 views

Changing data source of ArcSDE layers to replace connection and names in thousands of MXDs?

I am facing a situation in wich our GIS data provider changed the path to their SDE Data server, and also changed the names of the the layers in their SDE Data. Need to do changes on thousands of ...
2
votes
0answers
43 views

Invalid MXD Filename error in one script, but not the other

I have created 2 geometric trace models for a project, one to pick a spot on the network and run an isolation, and the other to choose from a list of buildings, then then run a trace to find features ...
13
votes
5answers
2k views

What makes a MXD file size larger and how to decrease its size?

I know that MXD contains information about layers, symbology and configuration of default tools. I have a few that are exceeding 50 MB and are starting to take a while to load up. What are some of ...
1
vote
3answers
109 views

Programmatically adding .shp file to .mxd file

I have spent hours attempting to find the solution to the following problem online, but all answers I have found are quite old, and none work. Here is the situation: I have a variety of .shp files. I ...
2
votes
0answers
38 views

Importing ArcGIS and/or CAD template into QGIS print composer…Can it be done?

ArcGIS is used very widely in Environmental consultancy and the print/map templates used for reports are usually passed around in an MXD or CAD file format. Unfortunately we cannot afford ArcGIS and ...
3
votes
3answers
707 views

Printing MXD at A3 always prints at B5

Context ArcGIS 9.2 Build 1500 ArcObjects Windows Forms application running outside of ArcMap, similar to ArcEngine product. Accessing mxd to print out page layout to A3 paper. Mxd is saved with ...
0
votes
2answers
52 views

Long description layer in legend of ArcGIS for Desktop? [duplicate]

I work with arcview 10.3 and i have layer with long description (green),hence the legend spread throw out the map: I have to use a singel symbol for the layer and not use the unique value as ...
1
vote
1answer
814 views

How can I export a list of an mxd's content (layers names) into a table or a pdf?

I am using Arcgis 10.2. I have created a set of mxd from which I need a list of the layers and their characteristics (Name, sources, symbologie - maybe as in legend, if there is an Definiton Query, ...
1
vote
0answers
25 views

Adding layer to MXD from different SDE slows down ArcPy script

My python script looks at layers in an MXD, then does a couple of clip and measure operations and generates a PDF. It works accurately and quickly (0.5-3 seconds) when all the layers in the MXD are ...
5
votes
1answer
1k views

Move .SHP from .MXD to gdb [duplicate]

Possible Duplicate: How to move SHP to gdb with ArcView license? Let's cut it short, I have numerous mxd with layer coming from .SHP and various servers WMS that I need to move to a gdb. ...
0
votes
0answers
20 views

using c# arcgis zoom in / out fails after saving mxd

I saved the map to mxd with some zoom level. when i retrived the map it is not retaining the zoom level and also the zoom level is not changing even if we try to change the map boundary
0
votes
0answers
53 views

Rename open MXD using ArcPy

Is there a method in ArcPy that will rename the MXD you currently have open? I don't what to use mxd.saveACopy("newFileName") as it will just save a COPY with a new name, not rename the current MXD. ...
4
votes
2answers
881 views

Updating ArcMap links to ArcSDE Geodatabase feature classes?

I've seen questions about attemting to repair a .mxd file with broken links. What I would like to do is get ahead of this issue and "fix" it before it becomes a problem. I have my data in an ArcSDE ...
3
votes
0answers
71 views

Sourcing free live traffic layers to use in MXD of ArcGIS Desktop?

I am looking for free live traffic layers for an ArcGIS Desktop 9.3 MXD. My searches haven't been that successful.
4
votes
2answers
7k views

Can ArcGIS Explorer open *.mxd files?

This is perhaps a silly question but can ArcGIS Explorer open a .mxd file? I can't seem to find a definite answer online and I can't download it until I know the answer.
5
votes
3answers
3k views

Labels missing after conversion from *.mxd to *.kml?

I've been trying to convert a map from .mxd to .kml for google earth. The map has municipalities labeled as well as train stations. When I save it and open it in Google Earth, only the train station ...
1
vote
0answers
170 views

Extract .mxd file + data from map package .mpk?

I have two applications - a pc app which uses .mpk and a mobile app which uses .tpk I can generate both, given the .mxd file - but I'd like an easy way to go from a .mpk to .tpk The idea being that ...
-1
votes
3answers
127 views

Insert layer file to specific data frame

I have a folder that contain mxd's projects. Each mxd has 3 and more data frame. I want to insert layer file to a specific data frame with position in the TOC. I don't know how to do it. I'm trying ...
3
votes
2answers
2k views

How to export a mxd to a image with transparent background

I cannot get ArcMap 10.0 or 10.1 to "Export Map" to a png or gif with a transparent background -- no matter what I set the background and transparent colors to. Thus, I created the following script, ...
0
votes
2answers
251 views

How to add a Data Frame to mxd in a c# stand-alone application?

I am writing a stand-alone application in c# (using vs2010). I have ArcGis Desktop license. I only need to insert a new data frame in an mxd file and save this mxd. So: I create MxDocument coclass. ...
0
votes
0answers
61 views

Arcpy Export To PDF exporting same PDF instead of changing

I have been trying to run a loop that would change a layer in an .mxd during each iteration and then export it to a PDF. When I run it, the exported PDFs are all exactly the same as the .mxd in the ...
5
votes
5answers
2k views

Exporting MXD layout view to GeoTIFF?

It my be old issue, but I can't find right solution. How to produce GeoTIFF from layout view not from data view? Any simple solution?
5
votes
1answer
138 views

Is it possible to drive one mxd (pan) using a different mxd with python?

I have 2 mxd's. mxdA and mxdB They both show different data, but are both in the same coordinate system. I want to be able to sync mxdB with mxdA, so that if I pan / zoom in mxdA, I can then, with ...
22
votes
3answers
15k views

How to convert ArcGIS .mxd file to QGIS .qgs file?

I recently tried to use QGIS and I wondered if you can convert a draft ArcGIS map (*.mxd file) into a QGIS project (*.qgs file). This would avoid thematize the entire project.
1
vote
0answers
83 views

Script tool: Batch downgrade MXD version

I am trying to take the guts of this code (Batch convert ArcGIS 9x files to 10) and build it into a tool that we can more flexibly use and share around our organization. I think I'm almost there but ...
3
votes
0answers
15 views

List Joined tables

I've a question about arcpy List* modules. I have a quite large amount of data on SDE Server. Earlier I made a list of the feature classes , and tables in the mxd-s placed there using da.Walk and ...
0
votes
2answers
525 views

Python Error while Publishing mxd ArcGIS 10.1

I was in the process of publishing my mxd , I had reached till the analysis step where I encontered the error at staging the service. Before this below mentioned code I had created a connection ags ...