Jonathan, this is an old, hard, fight...

I have been over this functionality many times in the past, and the first 
difficulty seems to be just explaining the concept. To have a file that holds 
both the reference to the datasource plus symbology and labeling settings. This 
saves the user from having to first *locate* the data, and then *apply 
symbology* after, even if automatically in some scenarios.

In the meanwhile some alternatives have come around and today you can have the 
same functionality without having a lyr lookalike.


1)      You create a project that holds your layers already configured. You 
save the project to a central location (share)

2)      You use the built-in option to import (more correctly to embed) the 
layer you want in your new project

Or

3)      You use the plugin Import layer from project to get a list of layers in 
your central project and choose which to import into your new project

So, you can do what you're looking for. Just in a bit more convoluted way.

The drawback in this approach is that the central project tends to get big and 
slow. So anytime you need to add something new or make a change to an existing 
layer, you get into a bit of trouble. So if you have many layers, try and 
divide them into several central projects. The plugin (2) can reference several 
projects.

Another issue is configuring all your computers to point to your central 
project, without having to do it by hand, one by one... for this I don't have a 
nice solution. At this time, I managed to create a working QGIS that runs from 
a network share. The users only have to run a small installation script that 
basically creates a shortcut in their desktop pointing to the network qgis.

I have to finish by saying things do work very well, and I thank everybody that 
committed time to making this possible!! It is one of those things that make 
QGIS feasible in a company/organization wide approach.

So welcome to the party ;)

Duarte

De: Lene Fischer [mailto:[email protected]]
Enviada: quinta-feira, 17 de Outubro de 2013 18:35
Para: Jonathan Moules; [email protected]; [email protected]
Assunto: Re: [Qgis-user] Saving layers

Hi Jonathan
If you have a standard style - you can in Styles make a 'Save as default'. When 
you open a similar layer it will have the same style.
Regards
Lene Fischer
________________________________
Fra: 
[email protected]<mailto:[email protected]> 
[[email protected]] på vegne af Jonathan Moules 
[[email protected]]
Sendt: 17. oktober 2013 18:55
Til: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
Emne: Re: [Qgis-user] Saving layers
Hi Richard,
That's useful to know, however I was planning on using it with Oracle layers so 
it wouldn't work for me. Basically what we do with ArcMap (.lyr) and MapInfo 
(.tab) is create links to data which we share on a network drive so that our 
users can easily access our data pre-styled. It works quite well so if we go 
toward QGIS we'd want to use it there too.

Cheers,
Jonathan
On 17 October 2013 17:47, Richard Duivenvoorde 
<[email protected]<mailto:[email protected]>> wrote:
On 17-10-13 15:36, Jonathan Moules wrote:
> Hi List,
>   I'm wondering if QGIS can save links to layers as stand alone files,
> similar to how ArcMap does it.
> I know I can save the style, but I want to save everything about the
> layer including data location etc in a file which I can then share with
> others. The style only saves the style.
>
> I can't seem to find such a function - is there one?
Hi Jonathan,

one 'hidden' feature is that if you save a style as a qml file next to
your data (shape file), and name it exactly the same as your shape,
loading the shp in qgis will load the style with it.

BUT: only working with filebased data, and NOT saving your extent I think.

You can save a project, and use it as a template. And if I recall
correct there was some way to use one project as a subprobject for
another one, but I cannot find it anymore...

Regards,

Richard


This transmission is intended for the named addressee(s) only and may contain 
sensitive or protectively marked material up to RESTRICTED and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this transmission in error please notify the 
sender immediately. All email traffic sent to or from us, including without 
limitation all GCSX traffic, may be subject to recording and/or monitoring in 
accordance with relevant legislation.

_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to