Tag Info

Hot answers tagged

25

They're not published, and you're probably not supposed to reverse engineer them and still expect free cookies at the ESRI UC, but they're basically OLE2 Compound Document format files, like MS Word & Excel documents. With a nice tool for cracking them open (e.g. http://www.gemboxsoftware.com/CompoundFile.htm), you can get to the hacking part pretty ...


21

This looks like the sort of thing you want: https://underdark.wordpress.com/2011/05/27/converting-mxd-to-qgis-project-file/ On Wednesday, Allan Maungu announced MXD2QGS, a converter that exports layers from an Arcmap 10 document into a Quantum GIS project file. The tool is built as an ArcToolbox and can be downloaded from the blog. The only working ...


17

I've seen similar complaints on the Esri discussion forums and a quick search turned up this thread. Some suggestions: Save a copy of the mxd Open the geoprocessing results window and delete the history Under geoprocessing options, results management, change the value to a day or two


12

Despite PolyGeo second suggestion, There is an extension called CarryMap. It does what you exactly want. It exports your mxd into an Exe file that can be opened with a double click. No other software is needed. Furthermore it export your map for use in Android or iOS devices! However you should pay to have the extension (commercial extension). ...


11

If you are going to ArcMap 10.1 you could create a python add-in. The add-in gives you access to an "on open" function that will run code when you open the mxd. The help here explains how to create one and has a sample that adds a base layer to the mxd when opening.


11

I know this question is a few months old, but I'm posting this in case it helps others. I developed this kludge to parse version numbers from MXD documents. It basically reads the first 4000 or so characters of an MXD document and searches for a version number. I tested with MXD versions 9.2, 9.3, 10.0, and 10.1. import re def getMXDVersion(mxdFile): ...


10

The way to do this is to create a map package: Map packages (.mpk) make it easy to share complete map documents with others. A map package contains a map document (.mxd) and the data referenced by the layers it contains, packaged into one convenient, portable file. The downside of this will be that with the inclusion of raster data sources, your ...


10

It's not an *.exe but you can either: export your map to a layered PDF so that anyone with the free Adobe Reader can view it use the Publisher extension to publish your map as a PMF so that anyone with the free ArcReader can view it


8

Code If the layer is a shapefile, Layer.datasetName will return the file name. Please read the documentation in the following link to help you understand more about the datasetName parameter of the Layer object: dataSource (Read Only) : Returns the complete path for the layer's data source. It includes the workspacePath and the datasetName properties ...


8

To open an mxd, to the best of my knowledge, you will need a license of ArcGIS for Desktop to use its ArcMap application, which is by no means cheap. It seems that there are some tools out there to convert an ESRI document into a format that an open source solution like QGIS can read but it looks like they require access to an ArcGIS license as well. I ...


8

No it's not possible. Like PolyGeo said you could write a conversion script using ArcPy that reads the QGIS project file (which is just XML) and load each layer. There would be a bit of work but you might even be able to match some of the styling. However there would be a lot of effort in this and it might not be worth it for a single project.


7

MXD Doctor "This utility provides functionality to analyze broken ArcMap document (MXD) files. Depending on the analysis, entities contained within the broken MXD file can be copied from the broken file into a new MXD file. This utility is provided as is. Before using this utility you should always back up the broken MXD file, and if you choose an existing ...


7

I also use and recommend relative paths to generally minimize occurrences of this situation. But when it does happen, I've often resolved it using some out-of-the-box ArcGIS functionality I don't see mentioned here - Set Data Sources in ArcCatalog:


7

You could try using MXDdoctor and ArcGIS Document Defragmenter.


7

This is because arcpy.Rename_management does not work on a map layer object - it works on objects on the disk. Instead try: layer.name = newName layer.name is a read/write attribute of the arcpy.mapping.Layer class.


7

I believe that you need a license of ArcGIS for Desktop to use its ArcMap application as well. You can also ask the client to send the shape-file and open them in the open-source tool QGIS


7

If you want to learn ArcMap I think searching its online help for tutorials will be your best starting point. An MXD file on its own does not contain spatial data so a search for map packages *.mpk (MXD + spatial data) may prove more productive.


7

The ESRI ArcGIS Resources page for Local Goverment has several sample maps that are available for download. The download includes the mxd and all associated data in a file geodatabase. I would say download the Tax Parcel Map Book and the Campus Editing samples as places to start.


7

Short Answer: No, not directly Long Answer You need to understand that these are two different technologies. a ArcMap Document (.mxd) is a file which tells ArcMap which layers to use and how to render them etc. OpenLayers is a JavaScript Library that is used for creating application which consume Web Services. A .mxd file can only be opened in ArcMap, ...


6

Did you perhaps have a Bing layer in it? Or maybe even an ArcGIS Online layer? I think I have some documents like that. ArcMap 10 seems to be a bit slower on most file loads anyway. I just installed the patch for the file dialog performance ESRI website.


6

See this GIS Stack Exchange link: How to edit or convert ArcGIS 10 layer style to a SLD's file.


6

If you are on ArcGIS 10, you can use ArcPy to replace connections: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00s30000004p000000.htm (which is one of the answers to question you referenced). import arcpy mxd = arcpy.mapping.MapDocument(r"C:\Project\Project_default.mxd") mxd.findAndReplaceWorkspacePaths(r"C:\Project\Connection to ...


6

Unfortunately, you cannot open .mxd files in ArcGIS Explorer You can open these item types in ArcGIS Explorer Desktop: ArcGIS Explorer document (.nmf) ArcGIS Explorer application configuration (.ncfg) ArcGIS layer (.lyr) ArcGIS layer package (.lpk) ArcGIS Explorer layer (.nmc) ArcGIS Explorer add-in (.eaz) ArcGIS Server service Web map Please see this ...


5

You could code within the VBA of the mxd and call the python script within the code wrapper below: Private Function MxDocument_OpenDocument() As Boolean End Function


5

Export Map Document to PDF is now included in the arcpy.mapping sample script tools Source Code is available to Automate/Batch MXD for Export to PDF.


5

OK this is something we have all had to face at one time or another. I have seen 2 methods of dealing with this. 1) as so eloquently put by Andy W, Relative paths. This works best when you have a project MXD in the root of the project folder and all of the data under that in a data folder. Then wherever you move the entire project the links will still exist ...


5

If you're using 10, you have several new functions available in the arcpy python module to address this: Updating and fixing data sources with arcpy.mapping


5

I've written a short python script that incorporates AGSSOM to stop running services,and then restart previously running services after performing some database maintenance. You can find it in answer to this question...Promrammatically start and stop map services with Python This script does not identify the source map document for the service. However, ...


5

mxd map document cannot be opened in ArcGIS Explorer. You can add layer packages and data such as some but not all ArcGIS online basemaps, OGIS web mapping service (WMS) data, a KML/KMZ files, geodatabases, shapefiles, GPX, and rasters JPEG 2000, GeoTIFF, MrSID rasters. As for layer packages; these have to be first created and uploaded into ArcGIS online ...



Only top voted, non community-wiki answers of a minimum length are eligible