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

learn more… | top users | synonyms

1
vote
1answer
37 views

How to fix symbols of layers when I copy .mxd to another pc?

I've created a personal geodatabase with feature classes and I specified symbols for them in an mxd project. I activated "store relative pathnames to data sources" in the Map Document Properties. When ...
0
votes
0answers
48 views

Inexplicable behavior after function call using 'arcpy.mapping.ListLayers'

I have seen some discussions regarding (eventual) bugs when using acrpy.mapping.ListLayers (and perhaps(?) other 'mapping' methods) where the (current) mxd is passed. I have a feeling the following is ...
0
votes
2answers
53 views

Using ArcPy, I can't panToExtent to intended area using Decimal Degree coordinate

I'm trying to programmatically pan to a coordinate before I export a map and I've started off by using Identify to get a test coordinate in Decimal Degrees: mxd = arcpy.mapping.MapDocument("CURRENT") ...
2
votes
1answer
28 views

Installing Mxd2Qgs plugin in QGis 2.12

My purpose is to use the Mxd2Qgs plugin in order to be able to use mxd files with QGis. I have downloaded the Mxd2Qgs file and unzipped it. I put it in the folder: C:\Program Files\QGis ...
2
votes
2answers
43 views

How to use loop to add georeferenced JPEGs from folder to mxd?

This is my first time using this site and I'm a bit new to ArcPy. I've looked around for a while but couldn't quite find the answer I was looking for. I have many folders with georeferenced topos in ...
2
votes
1answer
71 views

Converting mxd to earlier version using ArcPy?

I am running arcmap 10.2.2 but need to open an mxd saved using 10.3. I do not have access to 10.3. I have an arcpy tool which will do the conversion but it is not working from within 10.2.2. Does ...
5
votes
2answers
72 views

Changing grid interval using ArcPy?

I work with ArcGIS 10.3 (Python 2.7.8) and I need to change the grid interval in 70 MXD's. I tried to find Python code that can do it. Currently, the interval in each MXD is 200 meters and I need to ...
0
votes
0answers
41 views

Remove layers in sub folders using python- path orientation

Expanding on my previous question Remove layers using python- path orientation, i try to remove layers from mxd's (in ArcMap 10.3, Python 2.7.8), that don't appear in the layout view. The layers ...
0
votes
1answer
31 views

Remove layers using python- path orientation

Expanding on my previous question Code error - remove layer using python, i try to remove layers from mxd's (in ArcMap 10.3, python 2.7.8), that don't appear in the data frame with this code: import ...
2
votes
2answers
56 views

Search MXDs with specific dataSource layer using Python

I work with ArcGIS 10.3 and I try to search a specific layer (with dataSource named "D:\desktop\Project\layers\1.jpg" ) in hundred of mxd's that spread in folder "D:\PROJECTS" and it divided to ...
3
votes
1answer
57 views

Enabling preview pane of Windows Explorer for mxd files?

The preview pane in Windows explorer is an efficient way to have sneakpeak at files without having to open them. It works great for a number of file extensions; images, office documents, pdf, dwg ...
3
votes
1answer
71 views

Using ArcPy to export individual mxds from data driven pages?

I'm trying to generate individual mxds for each page in my data driven pages (which I have set up already). I have 38 pages in total, so I would need to generate 38 mxds. The pages are named according ...
4
votes
1answer
70 views

Importing MXD to ArcGIS Pro programmatically?

I have a problem with importing an MXD file to ArcGIS Pro programatically. I try to do this by using the following arcpy.mp code: import arcpy aprx = arcpy.mp.ArcGISProject(r"C:\test\blank.aprx") ...
0
votes
1answer
41 views

Adding file geodatabases as group layers?

I have a couple hundred file geodatabases (GDBs) each containing several feature classes. Is there a way for me to move the GDBs into an mxd such that each GDB is imported as a group layer ...
0
votes
1answer
27 views

Finding & correcting missing layer in MXD using ArcPy? [duplicate]

Am struggling with ArcPy. Can someone help with a script to identify missing layers (red arrow in TOC) and then to search for the correct file locations & then update the mxd.
2
votes
1answer
86 views

Using layer name with accent on letter in ArcPy?

I have a lot of MXDs (more than 200) and all of them use a polygon shapefile "study_area_v00.shp". In the data frame, its name is just "Study Area". Every time we change the boundary of the polygon, ...
0
votes
2answers
57 views

ArcMap Error I can't seem to recover my MXD file from

Has anyone come across this error when opening up a MXD file? Opening the selected ArcMap document failed. ArcMap had frozen on me right before this, even though no processes were in the ...
3
votes
1answer
51 views

Programmatically create three mxd's [closed]

Quite often I have to create 3 different exhibits for the same project and it can get quite tedious, I was wondering if there was a way using python, modelbuilder, etc. to do this programmatically. ...
1
vote
1answer
54 views

Map book based on field attributes

I have a polygon shapefile with 800 records. What I want to do is to create an MXD document and a map in jpg for every polygon record from the shp. Is this posible to be done with data driven pages ...
2
votes
0answers
61 views

Open an existing document (MXD) inside ArcMap

I try to open a specific MXD inside a running ArcMap-Application, but I always get "System.UnauthorizedAccessException" and ArcMap crashes. I have an Add-In-toolbar with a button, which opens a form ...
1
vote
2answers
137 views

how to open several MXD files at the same time ( within the same window )in Arcgis10

I have a simple question. How can I open several MXD files at the same time in Arcgis 10? Whenever I try to open the second MXD file Arcgis asks me to save the first MXD file and then it closes it ...
0
votes
0answers
20 views

Importing a directory as a heirarchy of Group Layers

So I have a directory of shapefiles used to store some spatial data, and I'd like to find a way to export this directory to an mxd such that every folder is replaced as a group layer, but preserving ...
3
votes
1answer
23 views

mass update connetion properties in msd

I would like to update the connection property in all .msd in a folder, that already have a certain connection property. The manual process is to right click on the .msd, select "select all", ...
1
vote
1answer
37 views

Is there a way to create an mxd from the command line?

Is there a way to run ArcMap in a batch script to create a basic mxd containing specified layers? Something like: "Path to ArcMap exe" -create "Path to new mxd" -include "layers to add"
2
votes
1answer
135 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 ...
0
votes
1answer
33 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
63 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
32 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
140 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
50 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 ...
1
vote
1answer
25 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 ...
0
votes
2answers
98 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?
0
votes
0answers
102 views

Loading map (*.mxd) from ArcGIS for Desktop into QGIS? [duplicate]

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
63 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. ...
3
votes
1answer
92 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
2answers
58 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 ...
2
votes
1answer
469 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
298 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
50 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
93 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 ...
1
vote
1answer
63 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 ...
2
votes
1answer
460 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 ...
2
votes
2answers
293 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
1answer
60 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 ...
1
vote
2answers
642 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 ...
0
votes
1answer
57 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
44 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 ...
1
vote
0answers
161 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.
4
votes
2answers
366 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
65 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 ...