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
0answers
5 views

How to create new service from existing service

I have an existing ArcGIS 10.0 Server, and have just setup an ArcGIS 10.4 Server. How do I go about moving a particular service from 1.0 to 10.4. I can locate the related mxd file as well as the SQL ...
0
votes
1answer
40 views

Python-ArcObjects mxDocument Stand Alone

if I need to work with classes MxDocument with the MapDocument that I have selected to work , for example style gallery, How can I instantiate ? InitStandalone() pMapDoc = ...
2
votes
1answer
56 views

Updating MXDs with arcpy

I am trying to loop through a bunch of mxds in a folder and make some changes, in this case in particular I am trying to replace a text string. This should change all instances of "9/26/2014" with the ...
1
vote
1answer
36 views

ArcMap document “Accessed” timestamp incorect display in Windows Explorer

I created an ArcMap document on February 22, 2016. The timestamp, as seen in Windows Explorer, is 2/22/2016 8:58 AM. I have updated and saved that document many times since, but the timestamp doesn’t ...
1
vote
0answers
63 views

How to automatically run python code at the time when a mxd is saved?

I am trying to find a way to execute a few lines of (preferably python-)code whenever I save a specific mxd (my template.mxd) I'm working with arcgis desktop 10.3.1 (advanced, all extentions) What I ...
3
votes
1answer
51 views

.MXD file shows as *.DOC file after upgrading machine with ArcGIS 10.3.1 for Desktop to Windows 10?

I created an .mxd file on a computer with an earlier version of Windows (I was at a college campus; not sure what version). Now, on a computer with Windows 10, the file appears as a Word .DOC and ...
1
vote
1answer
41 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
53 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 ...
1
vote
2answers
67 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
120 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
49 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
113 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 ...
6
votes
2answers
113 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
45 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
45 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
66 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
80 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
87 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
90 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
61 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
29 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
89 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
101 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
55 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. ...
0
votes
1answer
66 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
87 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
207 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
21 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
32 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
47 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
153 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
42 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
72 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 ...
1
vote
1answer
228 views

Turning off all layers in MXD using ArcPy?

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
66 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
27 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
113 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
76 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
119 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
61 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 ...
3
votes
2answers
774 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
415 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
52 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
108 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
77 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 ...
4
votes
1answer
665 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
327 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
65 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 ...