How to store an ArcGIS Mxd document as a relative path

Source: Internet
Author: User

By default, the files that are referenced by the layers that are added in the map file Mxd in ArcGIS 10 are absolute paths. This means that if you refer to the "D:\data\DEM.shp" file in the map, the path to the file saved in the Map.mxd file is also "D:\data\DEM.shp". If you want to transfer the project file to a different location, even if you copy the entire project folder, a reference error will also occur when you open the Map.mxd file again.

By setting the Mxd file as a reference relative path in ArcMap, you can avoid problems that may be faced with future project transfers. For an mxd file that already has a reference to an absolute path, the effort to re-add the layer can also be reduced by setting it accordingly.

steps to read

Baidu Experience: jingyan.baidu.com

Tools/Materials
    • ArcGis 10

Baidu Experience: jingyan.baidu.com

I. Settings for individual files
    1. Open Map.mxd file on your original computer, select "File", open "Map document Properties"

      Steps to read

    2. In the Map Document Properties dialog box, locate and tick "Store relative pathnames to data sources" and then OK.

      Steps to read
    3. After you save the file, the entire folder of the project is copied to the other computer and will open normally.

      END

Baidu Experience: jingyan.baidu.com

Second, set the default use relative position
    1. When ArcGIS is open, select "Customize" to open the ARCMAP options

      Steps to read
    2. In the ArcMap Options dialog box, locate and tick "make relative paths the default for new map Documents" and then OK.

      Steps to read
    3. This way, the new map file will reference the relative path later.

      END

Baidu Experience: jingyan.baidu.com

Replication settings for saving files using absolute paths
    1. For an mxd file that has been copied from somewhere else and saved in an absolute path, it can be resolved in the following ways.

    2. After opening the Mxd file, right-click the layer and select "Properties" or double-click the layer to open the "layer Properties"

      Steps to read
    3. In the Layer Properties dialog box, click Set Data Source to locate the appropriate layer file and click "Add".

      steps to read steps to read END

Baidu Experience: jingyan.baidu.com

Precautions
    • We recommend that you save all referenced layer files in one folder when you create a new project

Reprinted from: https://www.baidu.com/s?wd=arcgis%20mxd%E5%AD%98%E5%82%A8%E7%9B%B8%E5%AF%B9%E8%B7%AF%E5%BE%84&rsv_spt= 1&rsv_iqid=0xcb655b160001295c&issp=1&f=3&rsv_bp=0&rsv_idx=2&ie=utf-8&tn=baiduhome_ pg&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_t=b8f11jdl0hps8uiwc4om8tldzxukr% 2bwlyvpe8l79kntukfyiujkii%2f4hkhj%2fsxo6azel&rsv_sug2=1&prefixsug=arcgis%20mxd&rsp=1&rsv_sug7= 100&inputt=13215&rsv_sug4=15158

How to store an ArcGIS Mxd document as a relative path

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.