I have found it useful to develop an extension that allows me to move 
mapping projects (collections of files) around in my file system. I 
found that if you moved a layer file(and its related files) then the 
Project could not find it. When reloading a layer from a new location 
all the style information was lost - has any one solved this problem , 
or is there a way of updating the Project file to match the new location 
of layer files??

I have developed a simple UpdateProject extension that will work for me 
- but limited to local File Datasources.  The idea is that if a file 
system is moved, then:

  1. Use the UpdateProject extension to load the project file.
  2. Check each layer to see if it is found/correctly located,
     otherwise update the path reference
  3. Save a new Project containing the new paths and all the original
     styles.
  4. Then, load the Project normally.
  5. I assume that all the related files have been moved with the
     primary file.

I would be interested to know who else may have had/resolved this type 
of problem.

The UpdateProject extension can be downloaded from 
http://www.cadplan.com.au for testing/evaluation.

Geoff

-- 
Geoffrey G Roy
Cadplan
129 Gloster Street, Subiaco WA 6008
Tel: (08) 9381 4870  Fax: (08) 9382 4459
Email: [EMAIL PROTECTED]
http://www.cadplan.com.au


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to