Authoring a map document for ArcGIS Server on Linux/Solaris |
|
Release 9.3.1 |
![]() ![]() ![]() |
The map document (.mxd or .msd) can only be authored on the Windows platform. When you publish the map document to ArcGIS Server on Linux/Solaris, you need to move the map document file and the related data to an area that can be accessed by theArcGIS Server Install User. Below is an overview of the map document authoring process for ArcGIS Server on Linux/Solaris.
I. Create your map document in ArcMap.
II. Make sure the pathnames in your map document point to the proper Linux/Solaris version of each dataset. You don't need to edit your path if you are using ArcSDE as your data source. You need to do this if you are using local data source. You can do this in three ways.
1) Use a relative path in your map document.
Copy your map document and your data sources onto to your Linux or Solaris computer keeping the same relative structure of your map document and your data source.
For example, if your MXD or MSD file and your data source on your Windows machine are stored as
They need to be stored on the Linux or Unix machine after copying as:
2) Use MXD Path Editor to edit the path in your map document.
Use the MXD Path Editor to reset the pathnames in your map document to point to the proper Linux/Solaris version of each dataset. Make sure all the layers show up correctly.
3) Use ArcCatalog to edit the path in your map document.
In the Output file text box, specify the location and filename for creating the new MSD with updated Unix paths.
Example: C:\mydirectory\data\test_unix.msd
In the Replace dialog box, in the Find what text box, edit the path name and leave only the path that is common to all the layers.
Example: C:\mydirectory\data\
In the Replace dialog box, in the Replace With text box, type a Linux/Solaris-compliant path name to replace the above Windows path. Make sure there are no upper case characters in the path name.
Example: /net/mymachine/mymachine1/mydirectory/data/
III. Use the ArcGIS Server Manager or ArcCatalog to publish your map service.