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

learn more… | top users | synonyms

23
votes
3answers
18k 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.
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 ...
10
votes
5answers
7k views

How do you deal with (repair/avoid) broken MXD\LYR paths?

In relation to this question ... In the past, whenever I cleaned up a bit and moved layers around (or changed their names) my MXD's paths were broken and it was time-consuming to correct them. I'd ...
20
votes
4answers
2k views

Run a Python Script when opening an MXD?

Can anyone tell me how to accomplish this? I want a Python script to run on opening the MXD which would pull an excel worksheet into a GDB and refresh the map. I only want this to happen in this ...
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?
3
votes
1answer
140 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
votes
3answers
212 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 ...
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 ...
3
votes
1answer
3k views

error on mxd.save/saveACopy

I'm trying to use arcpy to save an .mxd and am having an issue. It doesn't matter if I use mxd.save or mxd.saveACopy I get the same error. I know it doesn't look like I am doing anything w/ it here, ...
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 ...
6
votes
3answers
4k 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 ...
4
votes
2answers
272 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?
4
votes
2answers
117 views

Search MXDs for feature class

I've inherited a large somewhat messy database and am attempting to clean it up a bit. Does anyone know if it is possible to search a database to see what arcGIS map documents use a feature class? I'd ...
4
votes
2answers
8k 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.
4
votes
2answers
777 views

arcgis 10, python update raster of mxd file

i wanted to update the raster file in a mxd file using python. for example, i created a.mxd which contains b.tif file in it. now, i obtained c.tif and want to update the a.mxd, i.e. want to delete ...
4
votes
2answers
915 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 ...
5
votes
3answers
234 views

Do Label Expressions Slow Down Drawing Speed?

Further to my earlier question about using different fonts on the same PC, I am wondering if label expressions would slow down drawing speed for a MXD? Here is my label expression: def FindLabel ( ...
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. ...
4
votes
1answer
598 views

Why do I lose my printer settings when saving a copy of mxd from ArcPy?

Judging from the answer to this question, one cannot change the page size etc from ArcPy, so I set up my "template" mxds so my script can save a new copy of it, change data sources etc. This methods ...
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 = ...
3
votes
3answers
739 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 ...
2
votes
1answer
310 views

Programmitcally Change Text Font for all Labels on MXD

I'd like to know if there is a way to change the text font for all layers and all label classes within a layer on a MXD. I use a font not often found on all computers for created maps. I love 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
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
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 ...