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
1
vote
2answers
62 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 ...
-1
votes
1answer
54 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 ...
0
votes
1answer
51 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 ...
0
votes
0answers
32 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 ...
1
vote
1answer
98 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. ...
0
votes
0answers
26 views

How to see who was the last that modified/saved MXD File?

Is there a way that we can see each time who modified or saved a MXD file ?
2
votes
1answer
47 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. ...
0
votes
0answers
16 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?
1
vote
1answer
636 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 ...
0
votes
1answer
76 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....
0
votes
0answers
121 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 ...
3
votes
1answer
98 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?
-3
votes
1answer
8k 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.
0
votes
1answer
246 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 ...
2
votes
1answer
107 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 ...
-2
votes
1answer
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 ...
0
votes
1answer
289 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, ...
0
votes
1answer
155 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 ...
2
votes
1answer
615 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 "...
0
votes
1answer
45 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 = (...
1
vote
2answers
125 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?
1
vote
0answers
70 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 ...
1
vote
2answers
82 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 ...
1
vote
0answers
40 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 ...
0
votes
1answer
33 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 ...
1
vote
1answer
233 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 ...
1
vote
2answers
45 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 ...
0
votes
1answer
357 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 ...
3
votes
1answer
510 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 ...
3
votes
0answers
59 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 ...
0
votes
1answer
249 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 ...
0
votes
0answers
63 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 ...
1
vote
0answers
240 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 ...
1
vote
0answers
82 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 ...
-1
votes
2answers
1k 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....
0
votes
1answer
47 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 ...
2
votes
0answers
89 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 ...
1
vote
2answers
154 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\...
1
vote
0answers
57 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 ...
1
vote
2answers
100 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 ...
4
votes
1answer
322 views

Handling German umlaut while converting ArcGIS file (*.mxd) to QGIS file (*.qgs)

The name of the sole layer in the draft ArcGIS map myfile.mxd is Mächtigkeit which contains the German umlaut ä. I face an error message when using the script mxd2qgs.py (downloaded from https://...
0
votes
1answer
781 views

Connecting to File Geodatabases from ArcGIS Pro?

I have File Geodatabases that I created in ArcCatalog and ArcMap 10.5. I am trying to open maps in ArcGIS Pro from these File Geodatabases, but when using the "import Map" tool only folders show up, ...
7
votes
4answers
6k views

Opening MXD saved in one version using earlier version

Working in an enterprise system. We need to determine if everyone needs to update to 10.6 at the same time for mxd cross-compatibility or can we update from 10.5 as needed.
2
votes
1answer
126 views

Access MXD from geoprocessing service

I have a small geoprocessing service that reads data-driven pages from an MXD, then exports a PDF. mxd = arcpy.mapping.MapDocument(mxd_path) mxd.dataDrivenPages.exportToPDF(r"\\test_report.pdf", "...
5
votes
1answer
252 views

List all MXDs that a feature class is in using arcpy

I know it is possible to list the paths of feature classes that are in an MXD using arcpy. But is it possible to do the reverse -- to list all the MXDs that a feature class is in? I am trying to ...
1
vote
0answers
43 views

Generate near tables from one layer to all in mxd

I am looking to create a script where user can choose a layer, then find all the layers within a set distance of it. I have set up a script to iterate through the mxd but I keep getting an error for ...
4
votes
1answer
255 views

Using two different reference scales in one MXD?

I'm putting two MXD's together. They don't have the same reference scale, so I was wondering if it is possible to have to different reference scale in one MXD? I'm working with ArcMap 10.5.
2
votes
0answers
38 views

Arcpy: MXD automatically removing layer whose data source was overwritten

I have a large script that does many things, but at the end it creates a buffer whose output is an existing feature class that is overwritten. That feature class is the data source for a layer that ...
1
vote
0answers
78 views

Label a feature based on Intersection with another feature class

In Arcmap, I have a feature class that I want to label but only where there is NO intersection with another feature class in my MXD. I know one strategy would be to populate a field based on a spatial ...
1
vote
0answers
85 views

Using excel info to create thematic map

So, I have an excel spreadsheet with information regarding people within a certain zip code. I basically need to make a map that shows the amount of people within each zip code either using dots or ...

1
2 3 4 5 6