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

learn more… | top users | synonyms

0
votes
1answer
32 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 ...
4
votes
2answers
78 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
107 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
0answers
58 views

Is it possible to read the map style and symbols from ArcGIS mxd

We used to use ArcGIS File Geodatabase(data source) and MXD file(for styling the map) to edit,style, and generate the final tiled map. Now we want to try with mapnik, but there are so many types of ...
0
votes
1answer
101 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
111 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
118 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
36 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
0answers
57 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
0answers
20 views

Fix broken SDE layers with Arcpy - unexpected error [duplicate]

We are in the middle of our ArcGIS 9.3 to 10.1 migration project and we have a lot of custom map documents (from different users) that among others, point to our current 9.3 SDE database. After our ...
2
votes
1answer
285 views

ArcPy findAndReplaceWorkspacePath not working with Raster Datasets

Situation: I am working on creating a Python script that will replace workspace paths for every layer in a map document in order to fix broken layers after a data migration. The script works except ...
2
votes
1answer
144 views

Export data driven pages only in changed mxd, with arcpy script

I have an arcpy script below to export a map book to pdf. The index layer are forty acre boundaries (township and range quarter sections). The data in the mxd is on an oracle database and updated ...
1
vote
0answers
84 views

How to use ArcGIS to reverse geocode and get road segment number?

I am now in a project which need to make reverse geocoding , namely ,given the latitude and longitude(assumed that the location is in a street), I want to get the road segment it is located in. What I ...
1
vote
2answers
74 views

How to find out to which road each points belongs to?

I am new to GIS . I hava a folder it include a .mxd file and a .gdb folder, the .gdb folder hava many .gdbtable and .gdbindexes files etc, it's a road network data of a city. Now, I want to know ...
3
votes
1answer
324 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, ...
3
votes
1answer
123 views

Why does ArcGIS map document (MXD) appear empty of data?

A colleague created a map for me using ArcGIS for Desktop and emailed it to me in another state. I was able to open the document using ArcGIS for Desktop but no map appears, why? She also sent it to ...
0
votes
1answer
193 views

Python Error while Publishing mxd ArcGIS 10.1

Hi 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 ...
1
vote
1answer
149 views

Trouble registering datasets with ArcGIS Server 10.1 before publishing an MXD

I'm having trouble registering a dataset while attempting to publish an MXD to ArcGIS Server in 10.1. ArcMap and ArcGIS Server are 10.1, and the MXD was originally created in a previous version of the ...
0
votes
1answer
192 views

How to export multiple MXDs to PNG without using VBA?

Okay, so I can feel that I am so close to solving this issue with the help of Jason (below) but I have modified to use as a script. The GetParameterAsText returns the following error when trying to ...
0
votes
1answer
62 views

How to add layers to MXD programmatically on linux or windows without ArcGIS for Desktop?

Is it possible for me to programmatically create in linux centos 6.4 or a windows with only arcGIS Engine runtime (single use license without sdk)?
0
votes
2answers
143 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. ...
5
votes
3answers
161 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 ( ...
2
votes
1answer
148 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 ...
0
votes
0answers
119 views

XML file created when .mxd is saved

I have ArcGIS 10.1 and Xtools 10.0, each time .mxd is saved there is a .xml file created. How do you prevent the creation of the .xml file with the same name as the .mxd? Where in the Xtools menu is ...
1
vote
3answers
225 views

How to get index number of list item using Python?

this gives me a list of all 55 layers in my mxd import arcpy mxd = arcpy.mapping.MapDocument("CURRENT") df = arcpy.mapping.ListDataFrames(mxd, "Layer")[0] for lyr in arcpy.mapping.ListLayers(mxd, ...
4
votes
1answer
195 views

Python - ArcMap: Fastest method to loop over Mxd's

I am attempting to find the fastest method for looping over multiple map documents while keeping memory resources down. I'm running this script outside of Arcmap 10. I have 5 map documents which are ...
2
votes
3answers
322 views

Why does the size of my MXD increase when I save it?

Why does the MXD size increase over time when you save it? Obviously you drop data in the map while doing work but then you delete it (temporary clipped shps, tiffs, excel/database). Is there a ...
12
votes
3answers
895 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 ...
7
votes
1answer
266 views

Can QGIS projects be opened in ArcGIS for Desktop?

I am about to start a project with a number of people for a nonprofit organization. I am wanting to create the files in QGIS, but some of the people that I am working with are city officials and might ...
7
votes
1answer
405 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
294 views

Loading an extension-related mxd in ArcMap by double clicking it

I am currently working in a company offering GIS solutions, and using ArcGIS tools on a daily basis. One of their main products is an ArcMap extension, which I am assigned on to correct some remaining ...
3
votes
2answers
91 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 ...
2
votes
1answer
276 views

Can you successfully migrate arcgis 10.0 mxd to 10.1 or are there steps to follow?

I have upgraded from 10.0 to arcgis 10.1. I am trying to open an 10.0 mxd file in 10.1 and it appears to have lost any additions I had made to the table plus its' x and y coordinates. Can you ...
6
votes
4answers
1k views

Where to find .mxd examples for ArcGIS 10

I'm beginner of ArcGIS . I'm trying to learn how to use ArcMap. I would like to find some example MXD files for ArcMap, but couldn't find anything googling. Does anyone have any idea where can i find ...
0
votes
0answers
21 views

My MXD is creating an XML file with the same name when I save it [duplicate]

Note I have not installed Xtools and I have ArcGIS 10.1. Any idea of what is going on? Here is an example of the content of the XML: <FrameworkConfig TagName="FrameworkConfig" ...
0
votes
0answers
52 views

add data to toccontrol

When i open MXD file, it isn't add to TOCControl, but it is dispalyed. How solve it or it is imposible? Code from standart ArcEngine MapControll APP private void menuOpenDoc_Click(object sender, ...
1
vote
1answer
337 views

Convert .mxd to .qgs, MXD2QGS fix?

I've had a look at the following thread about using MXD2QGS and so far I've figured out that this only works with version 10.0 and Python 2.6. I installed MXD2QGS on a machine with Arc10.0 and Python ...
1
vote
1answer
208 views

Change coordinate system in multiple MXDs ArcGIS 9.3 using Python

I have to loop through some folders which may contain *.mxd files and change their coordinate system. I already found this piece of Python which should do the trick for ArcGIS 10.x (from here): ...
3
votes
1answer
113 views

How to add Oracle database connection to AnalyzeforMSD script?

I use this script right now: import os, arcpy directory = r"C:\Project" for root, dirs, files in os.walk(directory): for myFile in files: fileExt = os.path.splitext(myFile)[1] if (fileExt ...
2
votes
1answer
348 views

How to access all mxd files in a folder?

I'm a beginner to Python and am trying to figure out how I can access several mxds in a folder. For example, when I want to use the AnalyzeforMSD function in ArcGIS: import arcpy mxd = ...
5
votes
1answer
3k 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 ...
0
votes
1answer
761 views

Find and Replace data source script

The following script is supposed to find and replace all shapefiles in a mxd (that exist in the folder) to the new SDE data source. No errors when running the script however, when I open the MXD in ...
4
votes
1answer
330 views

Replace the data source for several layers in several mxds - from shapefiles to the ARCSDE data source [duplicate]

Possible Duplicate: Permanently replace/update SDE server + service in each SDE Layer in an MXD First let me say I have probably read every link regarding changing DATA Sources on the ...
5
votes
1answer
907 views

Is it possible to convert ArcGIS .mxd to QGIS .qgs without having ArcGIS installed? [duplicate]

I was reading How to convert an .mxd file to a .qgs file?. It looks as though this only works with ArcGIS 10. I would like to do this, but am unable to install things on the computer that has ...
1
vote
1answer
157 views

How to programatically replace ArcGIS Online image with new imagery in mxd's?

I have many mxds that previously used ArcGIS Online Bing imagery. I want to replace those with newly purchased imagery. I know I need to use the arcpy.mapping.MapDocument module to do this though not ...
1
vote
1answer
95 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 ...
2
votes
0answers
261 views

Create ESRI ArcSDE Connection File (.sde) using Python/ArcPy at the ArcView license level?

Is there an alternative way to create ArcSDE connections in ArcGIS 10.0 using Python at the ArcView license level? I need to create 4 separate connection files for a MXD SDE data source re-point tool. ...
5
votes
4answers
441 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 ...
7
votes
1answer
96 views

Is it possible to add an ArcMap map to a report in Access?

I am using Access to create printable maps where I can change parameters (border colors) on the fly... Currently, I am exporting the maps to JPEG then pulling them in. I would like to import MXD ...
1
vote
2answers
199 views

What is the difference between Geoprocessing Map object vs. MapDocument object in Python

I have the following code: mxd["C1"] = arcpy.mapping.MapDocument(os.path.join(fRoot, filename)) mxd["C2"] = [arcpy.mapping.MapDocument(os.path.join(fRoot, filename))] C1 creates a geoprocessing Map ...