Questions tagged [mxd]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
39 views

Opening MXD file saved in later version of ArcMap

I saved in ArcMap 10.7 an MXD file, and I can't open it in ArcMap 10.3. Is there a way to do it?
user avatar
0 votes
0 answers
29 views

RuntimeError: Object: CreateObject cannot open map document

I need to get a list of all the layers in all of the .mxd files located in a certain directory as these layers have been published to AGOL through the the agency of the mapping documents and I now ...
user avatar
  • 1,403
2 votes
1 answer
102 views

Writing Python script to batch import .mxd to .aprx

I'm attempting to write a Python script that finds all of the .mxd files in my local directories, imports them into a blank .aprx, and then saves them as an .aprx file. I'm able to successfully locate ...
user avatar
  • 23
1 vote
1 answer
32 views

ArcPy mxd.save() not overwriting MXD

I am using an ArcPy code to find and replace the data source of layers in a series of MXDs using lyr.replaceDataSource as follows: import arcpy import os mxdfolder =r'C:\Folder' #folder in which mxd's ...
user avatar
  • 306
0 votes
0 answers
160 views

Convert .qgz (or .qgs) to .mxd?

Is there any way to convert a QGIS project (format .qgz or .qgs) to ESRI's ArcMap map (format .mxd)? A QGIS plugin would be helpful.
user avatar
  • 123
0 votes
1 answer
62 views

Refreshing linked word doc objects in MXD using ArcPy

I have multiple MXDs which have linked Word documents added using Insert Object. These Word documents change frequently and need to be updated in the maps. The only way I have found so far, from ...
user avatar
1 vote
0 answers
46 views

Adding shapefile to existing MXD using ArcPy

I am trying to add a shapefile to an already created MXD project in ArcMap 10.3.1. I run the code but nothing happens. I leave it below: import arcpy from arcpy import mapping mxd = arcpy.mapping....
user avatar
1 vote
1 answer
34 views

Searching multiple MXDs and identifying which have graphics elements using ArcPy

How would I go about identifying all the mxd files that have graphics? I reckon it's close to: import arcpy import os srcPath = "my_path" mxd_lst = [f for f in os.listdir(srcPath) if f....
user avatar
  • 369
0 votes
0 answers
24 views

Does QGIS generate .mxd format files? [duplicate]

When developing urban planning documentation (f.e. a master plan of a territory) each scheme or plan must be collected in a file in .mxd format. Does QGIS software generate a .mxd file?
user avatar
  • 1
1 vote
1 answer
79 views

Using Python or ArcPy to extract usable shapefile data from several hundred MXD files

I have several hundred (potentially more) old MXD files which were made to show grass areas to be cut along city roads. The employee before me opted to do these one by one and rather than create ...
user avatar
2 votes
1 answer
53 views

Does saving multiple MXDs negatively affect ArcMap performance?

I'm using ArcMap 10.6. I have a "Master" MXD that has about 30 layers. My project is to make ~30 exhibit maps at a county scale for a legal issue. After I create the ~exhibit maps, the law ...
user avatar
2 votes
2 answers
2k views

Switching from layout view to data/map view in ArcGIS Pro

I am using ArcGIS Pro 2.7 I imported a map document created in ArcGIS Desktop into Pro. It opened up in Layout view, and I don't know how to switch to the Map view, which was easy to do in ArcMap by ...
user avatar
  • 101
-1 votes
1 answer
156 views

Add shapefile into ArcMap project using PyCharm and ArcGIS 10.8

I am using ArcGIS 10.8 and PyCharm. I need something very simple apparently, but I can't do it. I want to add an existing shapefile to my ArcMap project using Python from PyCharm. With my project open ...
user avatar
  • 55
0 votes
1 answer
110 views

IO error on bulk MXD publishing to ArcGIS Server using Python

I have a folder of MXDs and I want to publish all of them in batch to a single ArcGIS Server. I've had success using Python on a single MXD, but when I add a loop into the code so that I can do ...
user avatar
  • 533
0 votes
0 answers
41 views

View multiple mxd files in same tab of ArcGIS Pro

I have downloaded a bunch of map sheets which all fit together into one big map. I want to merge them all such that I can export any subsection of the combined map. They are provided as .mxd files and ...
user avatar
  • 101
1 vote
1 answer
256 views

arcpy.importDocument of ArcGIS Pro not working on specific MXD and not throwing error

I have a script that imports every MXD in a folder to an empty ArcGIS Pro project, then use saveACopy to save to a new project file. The problem is: The script just stops working every several MXD. ...
user avatar
  • 511
2 votes
1 answer
81 views

Create .lyr file from open .mxd layer without removing layer

I have a tool that is meant to clip and reproject every layer in an open .mxd, and then create a new feature class and .lyr file with original symbology from the result, not adding either to the .mxd. ...
user avatar
  • 952
0 votes
0 answers
17 views

Downgrade from 10.5 to 10.3 mxd [duplicate]

I use save as methods as well as MXD Doctor but nothing happening. I have previously 10.5 version and I have saved my work in MXD. Now I have 10.3.2 version. How can I open .MXD files?
user avatar
  • 1
2 votes
1 answer
1k views

Converting ArcMap layout to QGIS

How can I export the layout view elements of an ArcGIS 10.6 project for use in the QGIS 3.4.2 print layout? Apart from the shapefiles that accompany the project, I would like to be able to make the ...
user avatar
0 votes
1 answer
127 views

Dataset does not exist or is unsupported SaveLayerToFile

I am trying to save a layer from an MXD to a lyrx file in a geodatabase using ArcGIS Pro. aprx.importDocument(current_document_name) mlist = aprx.listMaps() infra_layers = mlist[0].listLayers() arcpy....
user avatar
0 votes
0 answers
185 views

Error Opening MXD - The last successfully loaded component was: esriGeometry.ProjectedCoordinateSystem

Why are we getting this error when trying to open some MXD files? Myself and another coworker are getting this same error when opening several MXDs (see Error Message 1 below). We have all verified ...
user avatar
3 votes
1 answer
111 views

Can mxd files be under version control?

Is it recommended to have Esri ArcMap MXD files under version control e.g. stored on SVN or TFS?
user avatar
  • 147
-3 votes
1 answer
13k views

Import and Edit *.MXD in QGIS [duplicate]

Do you know of a way to enter a file directly from the MXD extension QGIS? Is this possible? How about MapPackage files? I do not have access to the ArcMap software. Best Regards.
user avatar
0 votes
1 answer
413 views

Batch exporting individual MXDs to individual PDF files using ArcGIS Desktop?

I need to pdf several mxds into their individual pdfs and am hoping there is a quicker way to accomplish that other than opening each file individually and exporting individually. Data Driven Pages is ...
user avatar
2 votes
1 answer
198 views

ArcMap MXD drops layers

I have a user who is using ArcMap 10.5.1 and several times his MXD has lost layers. This has occurred in two separate documents. He will work on a map, save the map, and close out. When he opens it ...
user avatar
  • 887
-2 votes
1 answer
57 views

Who Owns MXDs? Client or GIS Specialist [closed]

I work for an small consulting firm, and we have been collecting and storing spatial data for a client. We have also created many reports and map products, via mxd files. We have a contract that ...
user avatar
0 votes
1 answer
444 views

Trying to use layer saved as .lyr file with arcpy.mapping.Layer function results in error?

I am fairly new to the ArcGIS development world. I am attempting to write a script that will have an end result of selecting features by proximity to a selected portion of a different feature. So far, ...
user avatar
0 votes
1 answer
374 views

List data sources from multiple .mxds contained in one folder using Arcpy

I have a folder containing multiple .mxd files. I wish to list all of the layer names and data sources for each .mxd from the folder. I am using the following code which lists the above for one .mxd ...
user avatar
  • 83
2 votes
1 answer
1k views

Unable to open mxd file on my computer - can be opened on other computers

Using ArcGIS Arcmap 10.5.1. Several of the mxd files I have created and worked on are no longer accessible to me. If I attempt to open these files, the loading screen progresses through "...
user avatar
0 votes
1 answer
47 views

Listing only Polygon Feature Classes in IMxDocument Using ArcObjects?

I am using VS 2017 with ArcObjects trying to list all polygons in IMxDocument to be used as clip feature in my add-In. I have a WinForms application and the following code: IMxDocument document = (...
user avatar
1 vote
2 answers
193 views

Exporting geoprocessing results history from MXD?

I have an MXD with the results saved to it. I want to look at the parameters that were set for some of the tools externally, so I want to export the results. Can this be done?
user avatar
  • 8,162
1 vote
0 answers
80 views

Efficiently Searching MXDs for Folder Connection

We are currently trying to restructure some of the companies GIS data. It is located on an internal network drive (no SDEs). For each year, there are 1000+ MXDs with map layouts that still need to be ...
user avatar
  • 1,457
1 vote
2 answers
100 views

In ARCGIS 10.5 mxd I need to put definition query for one layer as Current Year in Year fields , What i need to set the query

I have a feature class and related info in another table, the table having fields as Year, Year having values like - 2016,2017,2018,2019... Presently I Put the definition query for table Year = 2018 ...
user avatar
1 vote
0 answers
42 views

When exporting MXD to PDF, map layout moves to left?

When I export an MXD to PDF, the layout has moved to the left. Exporting to JPEG doesn't cause this problem. If, for example, the map in layout view is of quad 2 and quad 3, the pdf will be of quad 1 ...
user avatar
  • 53
0 votes
1 answer
35 views

Adjusting multiple text elements in multiple mxd files?

I am trying to make changes to titles on multiple mxds instead of having to open 1 by 1 but it is only making changes to 1 mxd file, I have even tried to make duplicate copies of the mxd to test but ...
user avatar
  • 21
1 vote
1 answer
486 views

Printing name of each layer in mxd using ArcPy?

My ArcMap verison is 10.2. My goal is to print the name of each layer in a mxd using Arcpy. My script is below. There is no error, but it prints the first layer multiple times instead of all the ...
user avatar
  • 69
1 vote
2 answers
62 views

Altering text elements in multiple mxds?

I am trying to make changes to titles on multiple mxds instead of having to open 1 by 1 but keep getting an error. import arcpy.mapping as mapping, os for root, dirs, files in os.walk(r"F:\Final ...
user avatar
  • 21
0 votes
1 answer
540 views

Iterating folder of shapefiles using ArcPy and exporting mxd to PDF

I'm new to Python and just created a hard coded script for the process I want, and it works. Right now it calls on the one of three shapefile I have in this map document. I want it to do the same ...
user avatar
3 votes
1 answer
667 views

Saving MXDs to older version of ArcMap automatically?

I work at a company that has three computers running ArcMap, accessing the same files and databases. Two of them run version 10.3, but we just got a new computer with version 10.6. Saving a document ...
user avatar
  • 53
3 votes
0 answers
95 views

Creating MXD From Standalone ArcPy Snippet? [duplicate]

Is it possible to create some MXD from a list using Arcpy stand alone snippet? For example if I have a list like counties = ['Benton', 'Caroll','Polk','Scot'] can I run a code like import arcpy ...
user avatar
1 vote
1 answer
666 views

Find and replace image path

I have multiple mxd's with many company logos as jpg's. We've moved the location of the logos from the F:\ drive to the C:\ drive. I have a script that is supposed to change the path, but not sure ...
user avatar
  • 21
0 votes
0 answers
82 views

MXD Layer Management When Publishing Services with ArcGIS

Currently have an MXD with 130 layers in the table of contents. All of these layers need to exist in the service when it gets published each time an update is performed. I'm in the understanding that ...
user avatar
  • 533
1 vote
0 answers
271 views

Uploading mxd to ArcGIS Online with Python?

I need to create a Python script to upload an MXD to AGOL. I have created an script in arcpy to create a service definition file (*.sd) from the mxd. I have not been able to upload the sd to AGOL ...
user avatar
  • 41
1 vote
0 answers
111 views

Exporting several maps with excel sheet using Arcpy

I try to export 20 maps with this python code in ArcGIS 10.3.1 for Desktop. Each map has excel sheet (not attribute table) in the layout view. The excel sheet file located in G:\Users\test\Downloads ...
user avatar
  • 3,962
0 votes
2 answers
2k views

Listing layers from .mxd file using ArcPy for ArcGIS Pro?

I am looking for a way to access a .mxd file's layer names and data sources. In ArcGIS Desktop, I could do: def print_layer_info(mxd_path): print(mxd_path + ":") mxd = arcpy.mapping....
user avatar
  • 131
0 votes
1 answer
53 views

Embedding ArcMap map (*.mxd) in blog?

I am learning ArcGIS so there is a lot I still need to learn. I created a map in ArcMap and want to insert this map on my blog. Basically, I want to embed it. But all I can find is how to embed a map ...
user avatar
2 votes
0 answers
96 views

Converting symbols from ArcGIS Desktop to QGIS? [duplicate]

How do I export map information display styles from ArcGIS Desktop to QGIS? I tried exporting MXD to QGS (using mxd2qgs) - but the styles were not saved;Also, when I try to export styles from arcgis ...
user avatar
1 vote
2 answers
200 views

Adding Layers file to MXD using ArcPy- Code Error

In this code i try to add layer files- only if the first character in the name file, is a numbers to a MXD file, but an error happened: import os,sys,fnmatch,shutil,arcpy rootPath = r"G:\desktop\...
user avatar
  • 3,962
1 vote
0 answers
69 views

Debugging mxd crawler error? [closed]

I found some conversation about listing the source paths for multiple mxd files and used the script provided at Crawling directory and listing all datasources using ArcPy?. It worked great on one ...
user avatar
  • 315
1 vote
2 answers
115 views

ArcPy/Python method to ascertain VBA requirements in mxd

I need to be able to look at an MXD and ascertain if it has any VBA code embedded within it. It's ArcGIS 10.2, and the VBA extension tool is installed on all machines on the estate, but not all mxd ...
user avatar
  • 4,817

1
2 3 4 5 6