Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I was wandering if there was a way to save a specific project with all layers as dependent files to make it easy to share with collaborators.

for example, create a zipped or non-zipped folder containing the same structure as the project :

Root_folder/
my_project.qgs
    \____________myfolder
                     \___Layer 1
                     \___Layer 2
                     \___Layer 3
    \____________myfolder2
                     \___Layer 4
                     \___Layer 5
                     \___Layer 6
    \____________myfolder3
                     \________myfolder4
                                     \___Layer 6
                                     \___Layer 7
                     \___Layer 8

If it does not exists, would it be tricky to develop regarding the current API ?

share|improve this question
    
What's the problem with that? All you need it to set "Save paths" to 'Relative' in your project properties. –  jef Jul 11 '12 at 7:04
    
????????????????? This is not my point –  simo Jul 11 '12 at 8:20

1 Answer 1

up vote 7 down vote accepted

Have a look at the QConsolidate plugin. You can install it from Plugin Installer. If it does not provide a complete solution for your need, look to its code for examples on crafting your solution with the API. Creating a custom directory structure for the layers will probably need to be added.

Another portable file-based solution is to use a Spatialite database. It can handle vector and raster formats, and is natively supported in QGIS's new Database Manager.

share|improve this answer
    
I didn't know that plugin. That would do the trick for the moment. Many thanks –  simo Jul 10 '12 at 11:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.