[Qgis-user] QGIS will display invalid geometries when under their extent ?

2016-03-21 Thread Andrea Peri
Hi,
I report some days ago about a trouble on a line geometry that will
disappear when zoom.
So I open a ticket with a sample.

http://hub.qgis.org/issues/14524

In the discussion will say that qgis could not be able to display any
invalid geometry (disabling it ?) when the extent is molesser then
canvas extent.

I need to know if this is true.
Because this mean that with QGIS WILL NEVER possible to resolve an
invalid geometry editing it.
This beacause qgis simply remove it when zoom forward the invalid vertex point.

I need to know if this is true or a miss something.

thx.

-- 
-
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-
___
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] Looking QGIS expert

2016-03-21 Thread Dr . Rodríguez-Vargas , A .

Dear Qgis users:

I am biologist working in nature conservation issues, and I want to 
promote QGIS use in professional terms in my university (Autonomous 
University of Chiriqui, Chiriqui Province, Panama). I am looking an 
expert in QGIS, enabled for to do a seminar for one or two months. If 
someone is interested please write me soon your interest letter with a 
CV. If You can talk in Spanish language is a plus.


Please also send me your fee expectations for one or two months and your 
best time for do the seminar between March and July 2017.


We are able too for to pay the international flight and accommodation.

--
Dr. Ariel Rodríguez-Vargas

Aviso:

Este correo electrónico puede contener información confidencial y/o 
privilegiada. Si usgted no es el destinatario (o ha recibido este correo 
electrónico por error), por favor notifique al remitente inmediatamente y 
destruya este e-mail. Una copia no autorizada, la divulgación o distribución 
del material contenido en este correo electrónico es estrictamente confidencial.

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte
Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.
 
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the

material in this e-mail is strictly confidential.

___
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] Atlas: Filter Empty Pages

2016-03-21 Thread Andreas Neumann

Hi Albin,

You can do this dynamically. The Atlas filter also accepts geometry 
relationship functions. Have a look at the QGIS expression editor.


You can try with the intersects / within / overlaps tests and test 
$geometry against @atlas_geometry.


Your filter could look like:

within( $geometry,  @atlas_geometry )

Can you please report back if that works?

Greetings,
Andreas



On 21.03.2016 14:47, Albin Blaschka wrote:

Am 21.03.2016 um 14:20 schrieb Bernd Vogelgesang:
sounds maybe to easy, but why don't you just make a spatial query on 
your coverage grid to select and save those elements which do have 
points inside (Grid Layer Contains Points Layer e.g.) and then use 
that new coverage layer to produce your Atlas?


Or do you search for a more clever approach?

Cheers
Bernd


Hello Bernd, Joris & List!

Ah, yes - that would be a possibility, which I did not think of - 
Thank you both!
...but in general I was on the quest for a "more clever" meaning here 
"dynamic" approach, I have to admit: So, the aim would be in future, 
just opening the project, printing the atlas without further 
intervention and getting an "up-to-date" atlas...

But in the meanwhile, it should be ok with the "manual" approach.

Thanks and greetings!
Albin

Am 21.03.2016, 13:53 Uhr, schrieb Albin Blaschka 
:

Hello List!

I am starting to use the Atlas feature for the first time and had the 
following problem:
I have a coverage-layer (a vector grid) and a point layer (collection 
sites). At the moment, there are grid cells in which no site (point) 
is located.
My problem is: I would like to filter those "empty" 
atlas-elements/pages out. In other words, if the atlas-page contains 
no element of the point layer, it should not get printed/produced.

I tried myself and failed, I googled and failed...

Is this possible and if yes, how?

Thanks in advance,
Albin




___
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] Atlas: Filter Empty Pages

2016-03-21 Thread Andreas Neumann

hm - actually, I was wrong.

It is not so easy to filter dynamically - as $geometry equals 
@atlas_geometry and you don't have a relation with the points.


My next try would be to use a "Virtual Layer" and add a spatial 
relationship between your atlas coverage layer (the grid) and a column 
containing the count of points within the atlas feature.


See 
https://www.qgis.org/en/site/forusers/visualchangelog214/index.html#feature-virtual-layers


You need QGIS 2.14 to use the virtual layers.

You can add a virtual column to the atlas coverage layer that uses a 
spatial relation, group by and count. If the count is zero you can 
filter that coverage feature away.


This should hopefully work. Let us know if you are stuck.

Andreas

On 21.03.2016 16:41, Andreas Neumann wrote:

Hi Albin,

You can do this dynamically. The Atlas filter also accepts geometry 
relationship functions. Have a look at the QGIS expression editor.


You can try with the intersects / within / overlaps tests and test 
$geometry against @atlas_geometry.


Your filter could look like:

within( $geometry,  @atlas_geometry )

Can you please report back if that works?

Greetings,
Andreas



On 21.03.2016 14:47, Albin Blaschka wrote:

Am 21.03.2016 um 14:20 schrieb Bernd Vogelgesang:
sounds maybe to easy, but why don't you just make a spatial query on 
your coverage grid to select and save those elements which do have 
points inside (Grid Layer Contains Points Layer e.g.) and then use 
that new coverage layer to produce your Atlas?


Or do you search for a more clever approach?

Cheers
Bernd


Hello Bernd, Joris & List!

Ah, yes - that would be a possibility, which I did not think of - 
Thank you both!
...but in general I was on the quest for a "more clever" meaning here 
"dynamic" approach, I have to admit: So, the aim would be in future, 
just opening the project, printing the atlas without further 
intervention and getting an "up-to-date" atlas...

But in the meanwhile, it should be ok with the "manual" approach.

Thanks and greetings!
Albin

Am 21.03.2016, 13:53 Uhr, schrieb Albin Blaschka 
:

Hello List!

I am starting to use the Atlas feature for the first time and had 
the following problem:
I have a coverage-layer (a vector grid) and a point layer 
(collection sites). At the moment, there are grid cells in which no 
site (point) is located.
My problem is: I would like to filter those "empty" 
atlas-elements/pages out. In other words, if the atlas-page contains 
no element of the point layer, it should not get printed/produced.

I tried myself and failed, I googled and failed...

Is this possible and if yes, how?

Thanks in advance,
Albin




___
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 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] Atlas: Filter Empty Pages

2016-03-21 Thread Joris Hintjens
Use Spatial Query to  select the non-empty elements.
1) Give the non-empty elements a new property (with table editor) (1 as opposed 
to 0 for the empty ones)
2) Or save the selected elements as a new layer

if 1) then filter these elements in the filter option in the atlas configuration

hope it works 
Joris
> Op 21 mrt. 2016, om 14:47 heeft Albin Blaschka 
>  het volgende geschreven:
> 
> Am 21.03.2016 um 14:20 schrieb Bernd Vogelgesang:
>> sounds maybe to easy, but why don't you just make a spatial query on your 
>> coverage grid to select and save those elements which do have points inside 
>> (Grid Layer Contains Points Layer e.g.) and then use that new coverage layer 
>> to produce your Atlas?
>> 
>> Or do you search for a more clever approach?
>> 
>> Cheers
>> Bernd
> 
> Hello Bernd, Joris & List!
> 
> Ah, yes - that would be a possibility, which I did not think of - Thank you 
> both!
> ...but in general I was on the quest for a "more clever" meaning here 
> "dynamic" approach, I have to admit: So, the aim would be in future, just 
> opening the project, printing the atlas without further intervention and 
> getting an "up-to-date" atlas...
> But in the meanwhile, it should be ok with the "manual" approach.
> 
> Thanks and greetings!
> Albin
> 
>> Am 21.03.2016, 13:53 Uhr, schrieb Albin Blaschka 
>> :
>> Hello List!
>> 
>> I am starting to use the Atlas feature for the first time and had the 
>> following problem:
>> I have a coverage-layer (a vector grid) and a point layer (collection 
>> sites). At the moment, there are grid cells in which no site (point) is 
>> located.
>> My problem is: I would like to filter those "empty" atlas-elements/pages 
>> out. In other words, if the atlas-page contains no element of the point 
>> layer, it should not get printed/produced.
>> I tried myself and failed, I googled and failed...
>> 
>> Is this possible and if yes, how?
>> 
>> Thanks in advance,
>> Albin
> 
> -- 
> | Dr.rer.nat. Albin Blaschka
> | Etrichstrasse 26, A-5020 Salzburg
> | * www.standortsanalyse.net *
> | * www.researchgate.net/profile/Albin_Blaschka *
> | - It's hard to live in the mountains, hard but not hopeless!
> 
> ___
> 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 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] Atlas: Filter Empty Pages

2016-03-21 Thread Albin Blaschka

Am 21.03.2016 um 14:20 schrieb Bernd Vogelgesang:
sounds maybe to easy, but why don't you just make a spatial query on 
your coverage grid to select and save those elements which do have 
points inside (Grid Layer Contains Points Layer e.g.) and then use 
that new coverage layer to produce your Atlas?


Or do you search for a more clever approach?

Cheers
Bernd


Hello Bernd, Joris & List!

Ah, yes - that would be a possibility, which I did not think of - Thank 
you both!
...but in general I was on the quest for a "more clever" meaning here 
"dynamic" approach, I have to admit: So, the aim would be in future, 
just opening the project, printing the atlas without further 
intervention and getting an "up-to-date" atlas...

But in the meanwhile, it should be ok with the "manual" approach.

Thanks and greetings!
Albin

Am 21.03.2016, 13:53 Uhr, schrieb Albin Blaschka 
:

Hello List!

I am starting to use the Atlas feature for the first time and had the 
following problem:
I have a coverage-layer (a vector grid) and a point layer (collection 
sites). At the moment, there are grid cells in which no site (point) 
is located.
My problem is: I would like to filter those "empty" 
atlas-elements/pages out. In other words, if the atlas-page contains 
no element of the point layer, it should not get printed/produced.

I tried myself and failed, I googled and failed...

Is this possible and if yes, how?

Thanks in advance,
Albin


--
| Dr.rer.nat. Albin Blaschka
| Etrichstrasse 26, A-5020 Salzburg
| * www.standortsanalyse.net *
| * www.researchgate.net/profile/Albin_Blaschka *
| - It's hard to live in the mountains, hard but not hopeless!

___
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] Atlas: Filter Empty Pages

2016-03-21 Thread Uwe Fischer
Hello Albin,

you need to filter out the empty elements (grid cells) in the coverage layer 
(those ones that have no overlap to the points). After that you can swap the 
selection set to get the non-empty grid cells that are to be printed and give 
those (as memory layer if no repeated use) to the atlas generator as new 
coverage layer.

Mit freundlichen Grüßen,

UWE FISCHER

-Ursprüngliche Nachricht-
Von: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] Im Auftrag von Albin 
Blaschka
Gesendet: Montag, 21. März 2016 13:53
An: qgis-user 
Betreff: [Qgis-user] Atlas: Filter Empty Pages


Hello List!

I am starting to use the Atlas feature for the first time and had the following 
problem:
I have a coverage-layer (a vector grid) and a point layer (collection sites). 
At the moment, there are grid cells in which no site (point) is located.
My problem is: I would like to filter those "empty" atlas-elements/pages out. 
In other words, if the atlas-page contains no element of the point layer, it 
should not get printed/produced.
I tried myself and failed, I googled and failed...

Is this possible and if yes, how?

Thanks in advance,
Albin

-- 
| Dr.rer.nat. Albin Blaschka
| Etrichstrasse 26, A-5020 Salzburg
| * www.standortsanalyse.net *
| * www.researchgate.net/profile/Albin_Blaschka *
| - It's hard to live in the mountains, hard but not hopeless!

___
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 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] Atlas: Filter Empty Pages

2016-03-21 Thread Bernd Vogelgesang

Hi Albin,

sounds maybe to easy, but why don't you just make a spatial query on your  
coverage grid to select and save those elements which do have points  
inside (Grid Layer Contains Points Layer e.g.) and then use that new  
coverage layer to produce your Atlas?


Or do you search for a more clever approach?

Cheers
Bernd

Am 21.03.2016, 13:53 Uhr, schrieb Albin Blaschka  
:




Hello List!

I am starting to use the Atlas feature for the first time and had the  
following problem:
I have a coverage-layer (a vector grid) and a point layer (collection  
sites). At the moment, there are grid cells in which no site (point) is  
located.
My problem is: I would like to filter those "empty" atlas-elements/pages  
out. In other words, if the atlas-page contains no element of the point  
layer, it should not get printed/produced.

I tried myself and failed, I googled and failed...

Is this possible and if yes, how?

Thanks in advance,
Albin




--
Dipl-Geogr. Bernd Vogelgesang
Siedlerstraße 2
91083 Baiersdorf
Tel.: 09133-825374
___
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] Atlas: Filter Empty Pages

2016-03-21 Thread Albin Blaschka


Hello List!

I am starting to use the Atlas feature for the first time and had the 
following problem:
I have a coverage-layer (a vector grid) and a point layer (collection 
sites). At the moment, there are grid cells in which no site (point) is 
located.
My problem is: I would like to filter those "empty" atlas-elements/pages 
out. In other words, if the atlas-page contains no element of the point 
layer, it should not get printed/produced.

I tried myself and failed, I googled and failed...

Is this possible and if yes, how?

Thanks in advance,
Albin

--
| Dr.rer.nat. Albin Blaschka
| Etrichstrasse 26, A-5020 Salzburg
| * www.standortsanalyse.net *
| * www.researchgate.net/profile/Albin_Blaschka *
| - It's hard to live in the mountains, hard but not hopeless!

___
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] DB Manager geometry problems

2016-03-21 Thread Chris Buckmaster
Thanks Karl-Magnus – for some reason I thought they already had privileges but 
they didn’t, thanks again!

Chris

From: Karl-Magnus Jönsson [mailto:karl-magnus.jons...@kristianstad.se]
Sent: 21 March 2016 06:27
To: Chris Buckmaster; qgis-user@lists.osgeo.org
Subject: SV: DB Manager geometry problems

Hi Chris

Appears that the user can’t access the view geometry_columns in the public 
schema. The information is accessed from there. Grant select privileges.

Karl-Magnus Jönsson │GIS-utvecklare
Miljö- och samhällsbyggnadsförvaltningen, avd. Geografisk information
Kristianstads kommun
291 80 Kristianstad
Besöksadress: Västra Storgatan 12
Tel 044-13 54 16 │ Mobil: 0733-13 54 16 │karl-magnus.jons...@kristianstad.se
www.kristianstad.se

Från: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] För Chris Buckmaster
Skickat: den 18 mars 2016 16:34
Till: qgis-user@lists.osgeo.org
Ämne: [Qgis-user] DB Manager geometry problems

Hi

I have several datasets loaded into PostGIS 2.0 with the owner as ‘superuser’ 
that has full permissions. I have then assigned select permissions to some 
other users, but I am not sure if they completely have the access they require 
as the DB Manager doesn’t show the spatial reference, and it says there is no 
entry in geometry_columns (attached are two screenshots which show what I get).

For my superuser connection, the geometry symbol is next to the layer name and 
it has all of the geometry information in the window, but for one of my select 
only users it does not show – do I need to give my select only users permission 
to access other tables in PostGIS? I have noticed that for larger datasets it 
takes quite a bit longer for the datasets to be loaded into PostGIS as well 
which leads me to believe that perhaps they are not accessing the spatial 
indexes or something?

Thanks, Chris

___
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] Fwd: processing toolbar problems

2016-03-21 Thread Azzurra Lentini
Hello to all,

Every time I open QGIS Essen 2.14 I get an error message telling me that:

PROCESSING  will be disabled because it crashed QGIS during last startup.
Please report an issue and re-enable the plugin when the problem has been
solved.


I tried from PLUGINS: MANAGE and INSTALL PLUGINS

to unistall this processing and I tried to upgrade this processing toolbar
​but it give me error message:


Couldn't load plugin 'processing'

ImportError: cannot import name ogrConnectionString

Traceback (most recent call last):
  File "C:/PROGRA~1/QGISES~1/apps/qgis/./python\qgis\utils.py", line
281, in loadPlugin
__import__(packageName)
  File "C:/PROGRA~1/QGISES~1/apps/qgis/./python\qgis\utils.py", line
572, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/Azzurra
Hydro/.qgis2/python/plugins\processing\__init__.py", line 29, in
from processing.tools.general import *
  File "C:/PROGRA~1/QGISES~1/apps/qgis/./python\qgis\utils.py", line
572, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)

  File "C:/Users/Azzurra Hydro/.qgis2/python/plugins\process
​




PLease do you know what can I do??


thanks to all
​, Azzurra​


-- 
Dr. Hydrogeologist
AZZURRA LENTINI
Expert of evaluation environmental hazards
GIS application
Haity Mobile Tel: 0050946057393
++
Italy Mobile Tel.: **(39) 338 24 40 676
++
SKYPE azzurrahydro
++
azzurralent...@gmail.com
++
*Par respect pour l'environnement,*

*n'imprimez ce mail qu'en cas d'absolue nécessité*





​




-- 
Dr. Hydrogeologist
AZZURRA LENTINI
Expert of evaluation environmental hazards
GIS application
Haity Mobile Tel: 0050946057393
++
Italy Mobile Tel.: **(39) 338 24 40 676
++
SKYPE azzurrahydro
++
azzurralent...@gmail.com
++
*Par respect pour l'environnement,*

*n'imprimez ce mail qu'en cas d'absolue nécessité*
___
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