|
|
| GeoCommunity Mailing List |
| |
| Mailing List Archives |
| Subject: | Re: GISList: Relative Pathing/"Portable" Projects |
| Date: |
08/29/2001 10:01:41 AM |
| From: |
Pete Earls |
|
|
Amin,
I have been pretty annoyed by this problem in the past because I would work on the same project on different computers and thus had to work on different drives and directories. I tried all the available scripts on ESRI's ArcScripts web page a year or two ago and found the best option was to use Project.Save at
http://gis.esri.com/arcscripts/details.cfm?CFGRIDKEY=-137862090
It's an Avenue script that replaces the absolute paths with relative paths. It works great as long as all shapefiles and grids are in the same directory as the project directory or in a subdirectory below the project directory. It also backs up the full path version of the project into a .abs file. After loading and compiling the script, change the name to "Project.Save" to make it active when you click the Save icon on the Arcview toolbar.
If your project uses extensions that do not come with ArcView, you can put these in the project's directory and remove the path to the ArcView Ext32 directory at the top of the .apr file. I do this after I've initially loaded the extension from the Ext32 directory to get the extension's name into the .apr file.
Kudos to Joshua Lieberman for providing this script.
- Pete
================================================================== Peter Earls Oklahoma State University Stillwater, Oklahoma earlsp@okstate.edu phone: 405.744.8974 fax: 405.744.7841
On Wed, 29 Aug 2001, Davis, Amin wrote:
> Hello, > > I posted this same question to another list-serve a couple of days ago > but haven't received a response yet. I am using AV 3.1 and was wondering if > there is a "relative pathing" option like w/ ACAD that allows AV > projects(.apr) and associated files to be used on another network or > stand-alone computer with AV installed. If not, what is the best way to set > up my file directory structure so that I can deliver my project to an > outside user without running into file referencing issues? > > Thank You, > > Amin D > Raleigh, NC > 919-782-5511 > > > > This electronic message and any attachment(s) hereto is confidential and may > contain information that is proprietary to ARCADIS G&M. It is intended for > the exclusive use of the recipient or recipients named above. If you are > not an intended recipient, please do not disclose, copy or distribute this > information. Please notify ARCADIS G&M of your receipt immediately by > return electronic e-mail and destroy the message and its attachment(s). > Although this e-mail and any attachments are believed to be free of any > virus or other defect that might affect any computer system into which it is > received and opened, it is the responsibility of the recipient to ensure > that it is virus free and no responsibility is accepted by ARCADIS G&M for > any loss or damage arising in any way from its use. > > > > > To unsubscribe, write to gislist-unsubscribe@geocomm.com > ________________________________________________________________________ > Setup a GeoCommunity Account and have access to FAST DataDownloads > and Premium Career Posting at a discounted rate! > https://www.geocomm.com/cgi-bin/accounts/login > > On-line Archives available at > http://spatialnews.geocomm.com/community/lists/ > >
To unsubscribe, write to gislist-unsubscribe@geocomm.com ________________________________________________________________________ Setup a GeoCommunity Account and have access to FAST DataDownloads and Premium Career Posting at a discounted rate! https://www.geocomm.com/cgi-bin/accounts/login
On-line Archives available at http://spatialnews.geocomm.com/community/lists/
|
|

Sponsored by:

For information regarding advertising rates Click Here!
|