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
2answers
44 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
64 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
108 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
30 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
30 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
32 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
80 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
111 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
46 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
71 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
51 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
31 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
50 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
256 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
40 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
51 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 ...
0
votes
1answer
102 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 ...
1
vote
1answer
78 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 ...
2
votes
0answers
54 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 ...
2
votes
0answers
74 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 ...
1
vote
3answers
148 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 ...
0
votes
2answers
73 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
0answers
32 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 ...
0
votes
0answers
33 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
75 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. ...
1
vote
0answers
277 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
vote
1answer
259 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
votes
3answers
175 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
0answers
82 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
1answer
244 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
0answers
79 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
1answer
151 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 ...
1
vote
0answers
102 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
17 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
0answers
95 views

CreateObject cannot open map document error when cycling through list of MXDs

I have a stand alone Python script that aims to make a list of data sources from a series of folders/sub-folders full of MXDs. However I am continually getting the: CreateObject cannot open map ...
0
votes
1answer
150 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 ...
1
vote
1answer
922 views

How to convert MXD to DWG File

I have been trying to export from MXD format to DWG format without much success. I used the Export to CAD conversion tool in GIS 9.3 but it only converts the lines and polygon.. etc to DWG format and ...
2
votes
1answer
75 views

ArcGIS: How to affect graphics in a MXD by a geographic transformation?

Our GIS users have been using graphics to mark things in their map documents. By graphics, I mean circles, rectangles, lines, text, etc. that can be drawn into data view by using the Draw toolbar. We ...
1
vote
1answer
1k 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
1answer
105 views

Updating MXD layer definitionQuery in arcpy is very slow

The code segment below has been extracted from a larger project. In short, I have an MXD which I want to generate multiple PDFs based on different criteria. The code below works. It loops through ...
1
vote
3answers
264 views

Is there a way to copy the mxd file with all of the files in that in ArcGIS?

Obviously the mxd doesn't contain the gdb files, and the linked raster files. So when I copy a project, I need to search manually the 49 raster maps from the other 4000. Is there an easier way to copy ...
2
votes
1answer
67 views

how do I reestablish all feature class references in mxd after their names change?

I have 200 shape files which have been named using an integer at the beginning of the name...i.e 01.03.shp 01.04.shp etc. They are all symbolized within an mxd document. I need to import these shapes ...
0
votes
1answer
144 views

Export data from .mxd file to ms sql database

I am using ArcGIS product (v.10.1). I have also tempalte of Maps from ArcGIS. But i need to get data from maps (.mxd files) to store it into MS SQL database. Explanation: I have application that has ...
5
votes
2answers
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 ...
-1
votes
2answers
598 views

Export MXDs files to PDFs using Python [closed]

I'm trying to write a python script that will export multiple MXDs to individual PDFs while using a feature class field to rename the pdfs (this can be an optional field, if not check it can copy the ...
0
votes
1answer
555 views

How to extract list of layers in MXD using ArcGIS Desktop 9.3.1 and Python 2.5?

I have been trying to extract a list of all the layers in my mxd (Arc9.3.1), using Python 2.5. If I could have the source of the layers too that would be even better... But as long as I can get a list ...
0
votes
3answers
222 views

Is it possible to publish a ArcGIS .mxd file in OpenLayers?

It is possible to publish a .mxd in OpenLayers? I am using ArcGIS 10.0.
-1
votes
1answer
287 views

ArcGIS Engine--load mxd file to map control or pagelayout control?

When load a mxd file using ArcGis engine,how to automatically detect whether it's saved in mapcontrol or pagelayout control?Thanks!
1
vote
0answers
83 views

How to repair a data source with joins to Excel?

I have a set of MXD files, that do not use relative paths, and related data that have been copied to a new computer. Normally it's not a big problem to repair the data sources in the project, but in ...
1
vote
1answer
163 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= ...