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

learn more… | top users | synonyms

4
votes
1answer
593 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 ...
2
votes
0answers
383 views

ArcObjects : How to change layers connection properties without losing joins

I'm using arcObjects 9.2.6 java librairies to change connection/path properties within a java prog. This prog aims to change path and connection properties for all layers of an mxd file. It works well ...
1
vote
0answers
90 views

Why are the special fonts in a .mxd-project not used/found?

I have a .mxd-project file from a customer which uses special fonts (TrueType). I installed these fonts in Windows but my application (mostly a MapControl) doesn't use these fonts for displaying. I ...
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. ...
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 ...
23
votes
3answers
17k 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
2answers
1k views

Making Map Document (*.mxd) Locked/Uneditable?

I am wondering if its possible to create a locked map document? I have a document that multiple users will be accessing and as a way of preventing them from making any accidental errors, am wondering ...
1
vote
1answer
500 views

Generate MXD layer info report

I'd like to generate a report about MXD layers for a handful of MXDs. I want the report to display their name, workspace path and scale range settings. I can get the first two with ArcPy but I didn't ...
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, ...
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") ...
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 = ...
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.
1
vote
1answer
175 views

Can we read/write MXD Document using GeoTools

Is it possible we can read/write mxd document only using geotools.
2
votes
4answers
3k views

How to enumerate ArcGIS Server 10 map services with ArcPy

I need to connect to ArcGIS server with ArcPy and enumerate over map services. I need to: Loop through each ArcGIS server map service Stop/Start the service Get the service source document (MXD/MSD) ...
2
votes
2answers
1k views

Collapse layers in ArcMap Table of Contents using ArcObjects

Can someone offer up a Christmas present here? I'm stuck on how to collapse all layers in my ArcMap projects (9.3). I've tried a few bits of sample code, but they all seem to fail for some reason or ...
2
votes
2answers
965 views

Save a MapControl map to an MXD

I used to know how to do this, but I must have lost the code. I tried this: IMxdContents mxdcontents = mapControl.Map as IMxdContents; IMapDocument doc = new MapDocumentClass(); ...
4
votes
1answer
226 views

Removing a Table from several MXD-Files using ArcPy

I'm trying to remove a certain Table (xlsx-File) from some MXD-Files using python, but I can't finguring out how. I tried the code sniplet for removing: import arcpy, os from arcpy import env ...
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?
1
vote
2answers
569 views

ArcGIS Server 9.3.1 - Creating a MXD and Exporting a PDF From It

I've been tasked with developing a geoprocessing service in ArcGIS Server 9.3.1 that in addition to providing the resultant feature sets, it needs to produce a pdf in which the layers can be toggled ...
8
votes
2answers
2k views

Benchmarking MXD vs MSD performance?

Has anyone seen any publically available benchmarks of MSDs vs MXDs? If we ignore the fact that as part of the MSD publishing process, we run it through some validators with the map service ...
4
votes
2answers
765 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 ...
1
vote
1answer
903 views

arcgis server 10 tif mxd problem

i am using arcgis server 10. first i opened arcmap and added a.tif file. then i saved it using File -> Save As as a ArcMap Document (*.mxd) file, let's say b.mxd. Now i open arccatalog and ...
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 ...
7
votes
1answer
4k views

Is there a free and open-source MXD to SLD converter? [duplicate]

Possible Duplicate: How to edit or convert ArcGIS 10 layer style to a SLD’s file I'm trying to set up a web map server for one of the government agencies in my country. Server setup's done ...
4
votes
2answers
912 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 ...
7
votes
5answers
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 ...
3
votes
3answers
733 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 ...
4
votes
2answers
1k views

Publish MXD to server in ArcObjects C#

I have an MXD that I would like to publish to an ArcGIS server using C# ArcObjects (preferably as an MSD). I have been unable to find anything regarding this. Essentially I would like to implement the ...
9
votes
3answers
2k views

How can I speed up slow-loading, template-generated MXDs?

I have an ArcMap template (.mxt) file which causes .mxd documents created with it to take 5-10 minutes to load (if it ever loads). Even after stripping out all the data sources and tables, the issue ...
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 ...
4
votes
1answer
534 views

Countries mxd file?

Anyone know where I can get a decent mxd file that has country boundaries. Currently I'm using the world.mxd file that comes with ArcObjects; however, what I really am looking for is one that has all ...
3
votes
1answer
506 views

Can ArcPublisher 10 publish backwards to an 9.3 PMF?

It seems like a lot of other functions within ArcGIS are getting backwards compatibility (file geodb creation, MXD files). I'll still need to publish 9.3 PMF files for a few months and I couldn't ...
4
votes
5answers
2k views

How can I print a bunch of Arcmap mxd's all at once?

I have a folder with a dozen Arcmap compositions (.mxd files) I need to print. They're all ready to go, I don't need to do any editing. Do I really have to open up each one, wait to refresh, and press ...
14
votes
4answers
2k views

Are ArcGIS *.lyr and *.mxd data format specs published?

Are the binary formats of *.lyr and *.mxd files published?