Arc MXD files in text format
#1
Posted 05 May 2008 - 03:09 PM
#2
Posted 05 May 2008 - 03:43 PM
http://forum.manifol.../forum/t61624.4
But doesn't bring an answer and way to open *.mxd in notepad
Gregory
#3
Posted 05 May 2008 - 04:11 PM
What are you wanting to do to the MXDs? You might be able to make changes to your normal.mxt instead.
#4
Posted 05 May 2008 - 04:23 PM
ArcGIS MXD files are binary and proprietary. The only way to manipulate the contents programatically is within the ArcGIS environment.
What are you wanting to do to the MXDs? You might be able to make changes to your normal.mxt instead.
I want to edit layers from a text script without opening ArcMap. Reason being so is that I have many layers with a lot of data which takes a lot of load. If I could tweak features in the text file and save it, it would save me time. Any suggestions how to change it programatically? Also, mxt files, do you think if I tweak features in an mxt it could work? Thanks.
#5
Posted 06 May 2008 - 11:14 AM
I wouldn't characterize the programming as difficult; all the tasks are fairly simple, but there are a lot of tasks involved in building a map. Each layer not only needs to be added, but symbolized and potentially labeled. Layout elements may need to by managed based on the state of the data each day. There are code examples for all of these tasks on the EDN website. I would start there.
All of this is of course based entirely on thinking of this as a desktop solution. If your data are published as services, it may be that you can create an MXD or Map Service that is always up to date. All that potentially involving no programming.
Chief Cartographer
Software Products Department
ESRI, Redlands, California
#6
Posted 06 May 2008 - 09:48 PM
I'm confused about the problem though. The document files are quite small as they just point to the GIS data- it's the data that are large and take a long time to draw. Could you open the file once, turn off all the layers, and tweak it then? Making sure to save with all layers turned off?
Cartographer, Bureau of Land Management
Oregon State Office
Portland, Oregon
pfyfield@blm.gov
#7
Posted 07 May 2008 - 09:52 AM
You might also want to look at what can be done to improve the performance of the mxds. There are things you can do to the data, things you can do with symbology, etc.
Esri
Product Engineer
Map Geek
#8
Posted 05 September 2008 - 01:55 PM
#9
Posted 22 October 2008 - 04:36 PM
"looking under the hood" of MXDs and geodatabases.
These particular ArcSripts are all written by ERSI employees.
(one link that shows all the tools below) =
http://arcscripts.es...uery=diagrammer
GDB XRay http://arcscripts.es....asp?dbid=15119
ArcMap XRay
XML Workspace Validator http://arcscripts.es....asp?dbid=15505
ArcGIS Diagrammer http://arcscripts.es....asp?dbid=15166
ArcGIS Diagrammer has VERY THOROUGH DOCUMENTATION,
including a 85-page PDF manual, and a training video.
(unlike the old Geodatabase Diagrammer,
ArcGIS Diagrammer does not require Visio.
And none of these require installation with
Admin privileges.)
Weasel Words: These sound cool, but I haven't tried them yet.
Use at your own risk, it's not my fault, etc.
#10
Posted 22 October 2008 - 10:33 PM
#11
Posted 23 October 2008 - 10:19 AM
In ArcScripts.ESRI.com are some new tools for
"looking under the hood" of MXDs and geodatabases.
These particular ArcSripts are all written by ERSI employees.
(one link that shows all the tools below) =
http://arcscripts.es...uery=diagrammer
GDB XRay http://arcscripts.es....asp?dbid=15119
ArcMap XRay(part of the GDB XRay download)
XML Workspace Validator http://arcscripts.es....asp?dbid=15505
ArcGIS Diagrammer http://arcscripts.es....asp?dbid=15166
ArcGIS Diagrammer has VERY THOROUGH DOCUMENTATION,
including a 85-page PDF manual, and a training video.
(unlike the old Geodatabase Diagrammer,
ArcGIS Diagrammer does not require Visio.
And none of these require installation with
Admin privileges.)
Weasel Words: These sound cool, but I haven't tried them yet.
Use at your own risk, it's not my fault, etc.
Thanks! It looks like GDB XRay may have some ability to do this since it works with ArcMap documents. I have an email out to Steve (the author) asking for more detail about my problem.
I'll write back with what I find out.
#12
Posted 23 October 2008 - 10:35 AM
I'm not sure I understand exactly what you want to do but, if you are just trying to change the path from the MXD to the data, you can do that in ArcCatalog just by right clicking on the MXD and selecting "Set Data Source(s)".
Thanks MadMapper. I wasn't aware you could do this. This does help on a map by map basis and I'll start using it as I open legacy maps.
I'm still looking for a programmatic solution since it would be a lot easier to change all the maps at once.
Thanks,
Matt
#13
Posted 23 October 2008 - 10:57 AM
Thanks! It looks like GDB XRay may have some ability to do this since it works with ArcMap documents. I have an email out to Steve (the author) asking for more detail about my problem.
I'll write back with what I find out.
Steve just wrote back. Wow, he's quick! Here's his reply:
Hi Matt, XRay can help you to see which layers are pointing to which data sources, but it does not provide a tools to change the layer source properties.
There is a developer sample that repoints layers to a new data source. This should help with the problem you are describing:
http://resources.esr...5087eb96f02.htm
Steve
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users


Sign In
Create Account
Canada
Back to top
Poland
United States
No Country Selected








