Re: [Qgis-user] hughe file project file size with qgis 2.10

2015-10-01 Thread lars lingner
Hello Nyall,



On 30.09.2015 23:00, Nyall Dawson wrote:
[...]
> 
> Try with a revision after 0587a59b - should be fixed now. Now the
> effect element will only be written if it's had the effect settings
> altered.
> 

Thanks for taking care if this issue. I'll build a new version and test it.

> You'll need to open & resave your project using a version later than
> this for the change to apply.
> 

Allright, that I'll test and report back.


Thanks so far!

Lars

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] hughe file project file size with qgis 2.10

2015-09-30 Thread Nyall Dawson
On 23 September 2015 at 01:03, lars lingner  wrote:
> Hi Andreas,
>
> On 22.09.2015 09:09, Andreas Neumann wrote:
>> Hi Lars,
>>
>> Wow  - this must be a big bug. I also have quite large QGIS projects
>> (50-100 layers) - but they are never beyond 1 MB in filesize.
>
> Just out of curiosity: Do you have styles applied to your layers? Is
> this the file size Qgis is creating or are you stripping out manually?
> I'd love to have files with 1 MB.
>
>>
>> Did you report this as a bug? Maybe Nyall could have a look at it, as he
>> did the layer effects stuff.
>
> No, not yet. I want to be sure it is really a bug/issue with Qgis, since
> I couldn't find any other reports.

Try with a revision after 0587a59b - should be fixed now. Now the
effect element will only be written if it's had the effect settings
altered.

You'll need to open & resave your project using a version later than
this for the change to apply.

Regards,
Nyall



>
> Thanks so far. Maybe other user can comment on this topic.
>
> Best wishes
>
> Lars
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] hughe file project file size with qgis 2.10

2015-09-22 Thread Andreas Neumann

Hi Lars,

Wow  - this must be a big bug. I also have quite large QGIS projects 
(50-100 layers) - but they are never beyond 1 MB in filesize.


Did you report this as a bug? Maybe Nyall could have a look at it, as he 
did the layer effects stuff.


We will have some paid developers working on bug fixing - such a bug 
should be definitely fixed. If it is in 2.10, chances are high that it 
is also in QGIS master.


An dreas

On 21.09.2015 10:25, lars lingner wrote:

Hello,

with version 2.10 my Qgis project files are getting much bigger. With
v2.8 the largest file size was about 18 MB. In that file there are 63
layers organized in layer groups. The styling is quite complex and uses
multiple classes for the majority of the layers. As data source there is
a Postgis database.

With v2.10 the file size grows to 80 MB. This happens when I open the
v2.8 version and save it v2.10. No changes are being made.

Looking at a diff, I see an affect block repeated multiple times:

  
 
   
   
   
   
   
   
   
   
   
   
 
 
   
   
   
   
   
   
   
   
   
   
 
 
   
   
   
   
 
 
   
   
   
   
   
   
   
   
   
   
 
 
   
   
   
   
   
   
   
   
   
   
 
   

In my case, this block is repeated 19808 times. Removing all of them the
file still works.

For my use case Qgis Server is consuming the project files. With this
large file size I'm getting a lot time out errors. My workaround is to
remove all unnecessary definitions to keep the size small.

Is there a way to prevent Qgis from creating these blocks? I'm thinking
(aka dreaming) about a special save mode for Qgis server files.
Have other users made the same experience? I'm happy to open a ticket if
it helps to understand and solve this issue.


Thanks for listening

Lars






___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] hughe file project file size with qgis 2.10

2015-09-21 Thread lars lingner
Hello,

with version 2.10 my Qgis project files are getting much bigger. With
v2.8 the largest file size was about 18 MB. In that file there are 63
layers organized in layer groups. The styling is quite complex and uses
multiple classes for the majority of the layers. As data source there is
a Postgis database.

With v2.10 the file size grows to 80 MB. This happens when I open the
v2.8 version and save it v2.10. No changes are being made.

Looking at a diff, I see an affect block repeated multiple times:

 

  
  
  
  
  
  
  
  
  
  


  
  
  
  
  
  
  
  
  
  


  
  
  
  


  
  
  
  
  
  
  
  
  
  


  
  
  
  
  
  
  
  
  
  

  

In my case, this block is repeated 19808 times. Removing all of them the
file still works.

For my use case Qgis Server is consuming the project files. With this
large file size I'm getting a lot time out errors. My workaround is to
remove all unnecessary definitions to keep the size small.

Is there a way to prevent Qgis from creating these blocks? I'm thinking
(aka dreaming) about a special save mode for Qgis server files.
Have other users made the same experience? I'm happy to open a ticket if
it helps to understand and solve this issue.


Thanks for listening

Lars






___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user