Re: [Qgis-user] Debian users: please confirm bug around SVG symbol previews

2016-07-07 Thread Nelson A. de Oliveira
Complementing: if not using a very big directory, QGIS "feeling" and
speed are fine.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Debian users: please confirm bug around SVG symbol previews

2016-07-07 Thread Nelson A. de Oliveira
On Thu, Jul 7, 2016 at 9:39 AM, Neumann, Andreas  wrote:
> The question is how this works for Debian users under "normal" conditions,
> where you don't specify your whole home drive as a search path.

I use Debian (one machine with testing and another with unstable; both
version are 2.14.3) and I never set any search path.
But what I see is that both have a common path already configured: my
home (see https://i.imgur.com/9ucjAwA.png for an example).

I think that two things could be improved here:
1) have an empty list by default (ie, don't set the user home as a search path)
2) have an option to enable/disable recursion in the specified paths

For item 2, suppose the user has this directory structure:

/home/user/SVG
/home/user/SVG/scratch

He wants to use the SVG files inside "/home/user/SVG", excluding
everything from the scratch dir.
If he sets "/home/user/SVG" as a search path, everything in scratch
will also be included.

As it is now it seems that it's not possible to restrict a recursion
like this (ie, everything in a specified path will always be fully
traversed).
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Debian users: please confirm bug around SVG symbol previews

2016-07-07 Thread Nelson A. de Oliveira
On Thu, Jul 7, 2016 at 7:49 AM, Neumann, Andreas  wrote:
> Are there any Debian (or Ubuntu) users out there who can reproduce this bug
> here:
>
> http://hub.qgis.org/issues/14255 titled "SVG preview blocks QGIS".

If I properly understand the problem, it seems that QGIS, by default,
traverses the user home looking for SVG files.
And indeed, depending on the size of the home it takes some time (and
QGIS stays blocked while it doesn't finish this).

Have a home with 346G (like mine) and you should see what happens.

I don't know how it's made, but maybe this traversal could be
implemented asynchronously or using a thread? (so the main process
won't get blocked while searching for SVG files)
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Local variables in field calculator

2016-05-16 Thread Nelson A. de Oliveira
Is it possible to use local variables in the field calculator?

For example, suppose I need to calculate the same maximum value with
"max(a lot of parameters)" in multiple places.
To avoid the same repeated expression (and also to avoid a possible
mistake in one of them), is there a way to create a local variable
with this result and then use it anywhere else in the same field
calculator code?

Thank you!

Best regards,
Nelson
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Missing "Vector geometry tools - Polygonize" in QGIS geoalgorithms

2016-04-06 Thread Nelson A. de Oliveira
Hi!

On Wed, Apr 6, 2016 at 3:06 AM, Alexander Bruy  wrote:
> I suspect that some dependencies, needed by this algorithm
> are no installed on one computer.

Indeed.
It took some time locate, but it was missing python-shapely installed.

Best regards,
Nelson
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Missing "Vector geometry tools - Polygonize" in QGIS geoalgorithms

2016-04-05 Thread Nelson A. de Oliveira
I am seeing a strange issue here:
I have two Linux machines with QGIS 2.14.1 (installed from Debian). In
one machine I see 107 QGIS geoalgorithms available while at the other
machine I see only 106.

The missing one is "Vector geometry tools → Polygonize".

Both have /usr/share/qgis/python/plugins/processing/algs/qgis/Polygonize.py
as they should, from what I can see.
I don't see any kind of error message while running QGIS.

How can I debug why I cannot see/use it in one machine, please?
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user