[Qgis-user] Print Composer Filter

2019-05-27 Per discussione Xan Vieiro
Hi,


is it possible to filter a layer from print composer? I know an attribute
layer can be filtered from composer and even it is possible to do some kind
of filtering using Atlas, but I don't find a way to filter any feature from
print composer. Any ideas?


Thanks in advance.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Saving values by a Python-Script in a PostgreSQL-Database

2019-05-27 Per discussione Kai Borgolte
Hi Kai,

you can get messages from PostGIS by calling commitErrors():

if vlayer2.commitChanges():
print('ok commitChanges')
else:
print('not ok commitChanges')
for l in vlayer2.commitErrors():
print(l)

The messages gave me a subtle hint that the attribute definition has to
be more complete:

if vlayer2.addAttribute(QgsField(my_field_name2, QVariant.String,
'text', -1, -1)):
print('ok AddAttribute')

After this change commitChanges() succeeds. updateFields() continues to
fail without message. I think you don't need updateFields() because you
don't modify fields directly on the provider.
--
Kai Borgolte, Bonn
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Vertex tool not working on lines when style with 'attribute' assigned

2019-05-27 Per discussione Nicolas Cadieux

Hi,

I looked at the project you sent me.  If you add a rule with no filter, 
the vertex tool will work as all the lines are now shown. You can then 
hide these features by deselecting the "no filter lines" in the layer 
panel or by making the line transparent.


So basically, the vertex tool stops working if some of the lines are not 
covered by a rule that contains attribute($currentfeature, 
left(@layer_name,8)).  This should be added to the bug report.


If you change the rule "attribute($currentfeature, left(@layer_name,8)) 
= 'Y' AND Type = 'Chalk'"  to simply Type = 'Chalk'  and filter the 
lines by  Plan1801 ='Y', the vertex tool works and the result is the 
same.  Deactivate editing/right click on the layer in the layer panel, 
filter, Type = 'Chalk'. Reactivate editing.


I will send you the project directly.

Nicolas



On 2019-05-25 12:53 p.m., Nicolas Cadieux wrote:

Hi,

I am intrigued by how you are doing things but not sure I completely 
understand your method.  If you can send me test file with a project, 
I could test on my end to see if I can replicate the bug.  I must 
admit thought that this will take time on your end and the end result 
might just be that we have the same problem and no solution.


Can filtering the file in the layer panel (you can fight click and 
create a filter there) with the “Y” present change anything?


Nicolas

Le 25 mai 2019 à 05:36, Peter Cornelissen > a écrit :



Hi

I see what you mean and I have used it this way on other occasions, 
but unfortunately it doesn't help with my situation. I have fields 
Plan1801, Plan1802, Plan1803 etc and each line or polygon can be on 
any number of plans. So, I use the 'Y' present in the field to enable 
its visibility when that plan is displayed and I use the layer name 
and then the attribute to reference the relevant field in the style.


Peter

*From:* Nicolas Cadieux >

*Sent:* 24 May 2019 20:09
*To:* Peter Cornelissen
*Cc:* qgis-user@lists.osgeo.org 
*Subject:* Re: [Qgis-user] Vertex tool not working on lines when 
style with 'attribute' assigned

Hi,

Open the field calculator.  By default, you will have « create a new 
field ».  Select « create virtual field » and use the attribute 
there. The virtual will be updated on the fly and is part of the 
project file.  If you export the file, it will be saved as a true 
field in the Shape file (or what ever format you are using).


Nicolas

Le 24 mai 2019 à 14:31, Peter Cornelissen > a écrit :



Hi

I have reported it as a bug, but as yet no resolution or 
acknowledgement that it is a bug. I was offered possible solutions 
but in the end it was not really answering the problem I have and 
since then it is just there as an open issue.


I'm not really at a level to be quite sure what you mean by using a 
'virtual' field, could you please explain? The attribute method I am 
using was a solution given to me by someone else and as I say it 
worked fine when first used in version 2.8.


Peter

*From:* Nicolas Cadieux >

*Sent:* 24 May 2019 18:04
*To:* Peter Cornelissen
*Cc:* qgis-user@lists.osgeo.org 
*Subject:* Re: [Qgis-user] Vertex tool not working on lines when 
style with 'attribute' assigned

Hi,

This looks like a good bug report! I would do one.  Have you tried 
making a virtual field with the attributes?  This way, you can query 
two fields and not an attribute and a field. The end result would be 
the same but perhaps, without a bug... I have been doing that with 
no trouble for a couples of weeks now for a project.  Never tried 
doing it your way exactly.


Nicolas

Le 24 mai 2019 à 06:35, Peter Cornelissen > a écrit :



Has anyone else come across this?

Personally I think this is a bug or possibly something wrong with 
my installation, but I've not had any confirmation from the QGIS team.


If I have a styled line or polygon and use the 'attribute' 
expression in the filter, then once the shapefile has been saved, 
closed and then re-opened, then the vertex editor does not work and 
I cannot edit any of the lines or polygons in the shapefile and the 
only way I can is to open the same shapefile without a style of 
with one not using attribute in the filter. I use the same 
shapefile numerous times and use the layer name to  display 
specific lines as relevant to that layer.E.g.the table has a field 
called Plan1801, so the layer name starts Plan1801. An example of 
the style is: attribute($currentfeature, left(@layer_name,8)) = 'Y' 
AND Type = 'Chalk'), so if a record in the shapefile table has a 
'Y' in the Plan1801 column and 'Chalk' in the type column it will 
display as that 

Re: [Qgis-user] QGIS and GeForce

2019-05-27 Per discussione Mike Flannigan


I like what Nicolas said about this.

On a Windows desktop I upgraded from a Nvidia
Quadro P4000 graphics card (~$700)to a Geforce
GTX 1060 graphics card (~$550) almost 2 years ago.
I noticed a pretty good boost in performance, so I
assume the latter card is better than the former,
despite the costs shown.

Probably the greatest difference noticed was when
panning or zooming in and out with a Bing Maps QMS
layer turned on.



Mike



On 5/27/2019 4:01 AM, qgis-user-requ...@lists.osgeo.org wrote:

Message: 6
Date: Mon, 27 May 2019 08:14:21 +
From: Carolina Rey
To:"qgis-user@lists.osgeo.org"  
Subject: [Qgis-user] QGIS and GeForce
Message-ID:



Content-Type: text/plain; charset="iso-8859-1"

Dear all,

I would like to know if it is strongly recommended to have a GeForce graphic 
card to use QGIS for every usage or if it is only necessary if doing 
complicated 3D modellations. As you surely know, the GeForce on a good Laptop 
raises the price and I wouldn't like to by one with a lower quality to have 
this graphic card..

Thank you very much
Carolina


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Antw: Developing an "Action" that shows changed value of a form-field

2019-05-27 Per discussione Kai Behncke
Well, it`s not an action, but I found a solution a home-made formular:


from qgis.PyQt.QtWidgets import
QWidget,QLineEdit,QPushButton,QDialogButtonBox
from PyQt5.QtCore import *
from PyQt5.QtGui import *

def my_form_open(dialog, layer, feature):
 geom = feature.geometry()
 control = dialog.findChild(QLineEdit, "z")
 #layer = qgis.utils.iface.activeLayer()
 global myDialog
 myDialog = dialog
 global myFeature
 myFeature= feature
 buttonBox = dialog.findChild(QDialogButtonBox,"buttonBox")
 #buttonBox.accepted.disconnect(myDialog.accept)
 #Wire up our own signals.
 buttonBox.accepted.connect(validate)
 #buttonBox.rejected.connect(myDialog.reject)
 # Wire up our own signals.
 #pushButton.accepted.connect(validate)

def validate():
 
 qgis.utils.iface.messageBar().pushMessage("Autosave", u"Validalli :
")
 layer = qgis.utils.iface.activeLayer()
 #qgis.utils.iface.messageBar().pushMessage("Autosave", u"blba :
"+z.text())
 z = myDialog.findChild(QLineEdit, "z")
 myFeature['z'] = z.text()
 layer.updateFeature(myFeature)
 
 layer.commitChanges()



Mit freundlichen Grüßen
Im Auftrag

Kai Behncke
Geoinformation
Tel.: +49 5451 931-7125

E-Mail: kai.behn...@ibbenbueren.de 

Rathaus II
Roncallistraße 3-5
1. Stock, Raum 105
49477 Ibbenbüren



>>> "Kai Behncke"  27.05.2019 13:04 >>>
Dear users,

for a vector-layer I would like to produce an action, that shows the
changed value in a formular.

E.G. I am editing a vector-point-layer, click on a point, the fomular
is opening. I change a value (lets say 
the formular-field "z" had a value "test" and I change it to "test2").

Then I start my developed action.

I tried for example: 


from qgis.PyQt import QtWidgets

QtWidgets.QMessageBox.information(None, "Feature id", "feature id is [
$z ] '%Z%' '%z%' $z [z] $Z [Z] [%z%] [%Z%]")
--

but I always get the "old" value "test" and not the formular-changed
value "test2".

Has anybody an idea what I can do?

Thank you in advance, Kai

Mit freundlichen Grüßen
Im Auftrag

Kai Behncke
Geoinformation
Tel.: +49 5451 931-7125

E-Mail: kai.behn...@ibbenbueren.de 

Rathaus II
Roncallistraße 3-5
1. Stock, Raum 105
49477 Ibbenbüren



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] [QGIS-Developer] [Qgis-community-team] Redmine migration plan: friday 24 may 8:00 CET

2019-05-27 Per discussione Paolo Cavallini
Thanks, a big effort to solve a long standing deadlock.
All the best.

Il 27 maggio 2019 11:01:09 CEST, Tim Sutton  ha scritto:
>Thank you so much everyone involved!
>
>Regards
>
>Tim
>
>> On 26 May 2019, at 09:42, Régis Haubourg 
>wrote:
>> 
>> Oh yeah! 
>> Great work guys 
>> 
>> Le dim. 26 mai 2019 à 00:55, Richard Duivenvoorde
>mailto:rdmaili...@duif.net>> a écrit :
>> Update from migration team:
>> 
>> Migration of all Redmine issue is DONE !
>> 
>> https://github.com/qgis/QGIS/issues/
>
>> 
>> The interaction limitation has ended and you can start working on
>(your)
>> issues on GitHub.
>> 
>> Go, fix, enjoy and happy QGISsing on github!
>> 
>> Regards,
>> 
>> Richard Duivenvoorde
>> 
>> ps according to Jorge (aka 'migration team'), there is some minor
>> housekeeping to be done, but users and dev can... GO :-)
>> 
>> 
>> 
>> On 25/05/2019 14.56, Richard Duivenvoorde wrote:
>> > Update from mirgration team:
>> > 
>> > Hi @all,
>> > 
>> > The issue migration from Redmine to GitHub is going on smoothly
>(but slow).
>> > 
>> > The first phase (moving the issues) is finished. All 19845 issues
>are
>> > now on GitHub :-)
>> > 
>> > Since the issue ids have changed, we started a second run to
>replace
>> > old ids with the new ones. This second phase is faster than the
>> > first one. It will take about 9 to 10 hours (we are able to update
>> > +-2200 issues per hour and we have almost 20k issues).
>> > 
>> > To prevent people for changing or comment issues, we will keep the
>> > interaction limited to developers with push access, until the
>migration
>> > is complete. Developers with push access can do PR and MR (but can
>also
>> > enjoy the weekend ;-).
>> > 
>> > So, we expected to have the migration finished today by 22:00
>(GMT+1)
>> > (London time).
>> > 
>> > Thanks for your comprehension!
>> > 
>> > 
>> > On 22/05/2019 14.06, Richard Duivenvoorde wrote:
>> >> Hi All (lists),
>> >>
>> >> We propose to do the Redmine -> Github migration next friday 24th
>of may
>> >> at 8:00 CET (+2).
>> >>
>> >> More or less following this Migration plan:
>> >>
>> >>
>https://github.com/qgis/QGIS-Enhancement-Proposals/issues/141#issuecomment-478296818
>
>> >>
>> >> To be clear: this means http://issues.qgis.org
> cannot be used on friday,
>> >> untill the migration is finished and checked.
>> >>
>> >> If anybody has knowledge of an easy way to make Redmine readonly,
>please
>> >> let us know. Some googling to me only revealed changing the
>database
>> >> user or fiddling with the users in the db itself.
>> >>
>> >> Jorge will be in the lead for the Migration team
>> >> I (among others) will be around for QGIS Infra
>> >> Any help or encouragement is appreciated :-)
>> >>
>> >> Let's meet on IRC on friday morning, we can further decide on
>> >> communication if needed/wanted.
>> >>
>> >> If I miss something, please let us know.
>> >>
>> >> Regards,
>> >>
>> >> Richard Duivenvoorde
>> >> ___
>> >> QGIS-Developer mailing list
>> >> qgis-develo...@lists.osgeo.org
>
>> >> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>> >> Unsubscribe:
>https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>> >>
>> > 
>> > ___
>> > Qgis-user mailing list
>> > Qgis-user@lists.osgeo.org 
>> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
>> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
>> > 
>> 
>> ___
>> Qgis-community-team mailing list for organizing community resources
>such as documentation, translation etc..
>> qgis-community-t...@lists.osgeo.org
>
>> https://lists.osgeo.org/mailman/listinfo/qgis-community-team
>___
>> QGIS-Developer mailing list
>> qgis-develo...@lists.osgeo.org
>
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>—
>
>
>
>
>
>
>
>
>
>Tim Sutton
>
>Co-founder: Kartoza
>Ex Project chair: QGIS.org
>
>Visit http://kartoza.com  to find out about open
>source:
>
>Desktop GIS programming services
>Geospatial web development
>GIS Training
>Consulting Services
>
>Skype: timlinux 

Re: [Qgis-user] QGIS and GeForce

2019-05-27 Per discussione Nicolas Cadieux
Hi,

That is a good question I would like to see developers  (which I am not) 
answer.  Generally speaking, having a dedicated graphics card in a laptop will 
be an upgrade over a system that uses a cpu/gpu on the same chip, specially if 
the card has its own onboard memory.   As you know, the cost of a pro graphic 
card may be very high.  

A better option could (perhaps) be to look at gaming laptops with a dedicated 
RTX video card like a RTX 2060 or better.  This way, you could  spend  more on 
RAM or a bigger SSD that will make a bigger difference in speed. ATI Vega cards 
maybe a better option as OpenCL is now used to speed up QGIS and ATI has a 
better support for that standard.  I must admit thought that I have not been 
able to activate that option successfully on a Windows 10 machine with an 
RTX2060 but this will probably be fixed some day when this becomes more stable. 

For 3D AutoCad, it’s apparently faster with a pro card but I have never really 
noticed a difference.  Perhaps a content creator could comment on this. My 
experience on workstations is that a high end gaming card is a better choice 
than a lower end pro card at the same price point. Comments welcomed.

Nicolas

> Le 27 mai 2019 à 04:14, Carolina Rey  a écrit :
> 
> Dear all,
> 
> I would like to know if it is strongly recommended to have a GeForce graphic 
> card to use QGIS for every usage or if it is only necessary if doing 
> complicated 3D modellations. As you surely know, the GeForce on a good Laptop 
> raises the price and I wouldn't like to by one with a lower quality to have 
> this graphic card..
> 
> Thank you very much
> Carolina
> 
>   Libre de virus. www.avg.com
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Developing an "Action" that shows changed value of a form-field

2019-05-27 Per discussione Kai Behncke
Dear users,

for a vector-layer I would like to produce an action, that shows the
changed value in a formular.

E.G. I am editing a vector-point-layer, click on a point, the fomular
is opening. I change a value (lets say 
the formular-field "z" had a value "test" and I change it to "test2").

Then I start my developed action.

I tried for example: 


from qgis.PyQt import QtWidgets

QtWidgets.QMessageBox.information(None, "Feature id", "feature id is [
$z ] '%Z%' '%z%' $z [z] $Z [Z] [%z%] [%Z%]")
--

but I always get the "old" value "test" and not the formular-changed
value "test2".

Has anybody an idea what I can do?

Thank you in advance, Kai

Mit freundlichen Grüßen
Im Auftrag

Kai Behncke
Geoinformation
Tel.: +49 5451 931-7125

E-Mail: kai.behn...@ibbenbueren.de 

Rathaus II
Roncallistraße 3-5
1. Stock, Raum 105
49477 Ibbenbüren



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [QGIS-it-user] Polilinea 3d da cad e colonna z

2019-05-27 Per discussione Martina Savarese
Fatto. Spero di non essere stata troppo prolissa.
Se non è una cosa che pensate di implementare nell'immediato e pensate
possa essere utile, piu in là posso dare una mano facendo una lista dei
link da aggiungere per le funzioni, cosa che tornerebbe utile anche a me
per studiarmele meglio.
Martina

Il giorno dom 26 mag 2019 alle ore 14:02 Totò 
ha scritto:

> marti_ wrote
> > Ad ogni modo avrei un suggerimento per renderlo ancora più efficace:
> > mettendo nella sezione "elenco funzioni", per ogni funzione, i link agli
> > opportuni "esempi uso delle funzioni" sarebbe ancora migliore.
> > Nello specfico per esempio linkando nelle pagine delle funzioni "z" e
> > "point_n" gli esempi relativi.
> >
> > Martina
>
> Ciao Martina,
> l'idea mi piace (ci piace),
> ti chiedo una cortesia, puoi scrivere una issue qui:?
> https://github.com/gbvitrano/HfcQGIS/issues
>
> grazie
>
>
>
> -
> https://pigrecoinfinito.wordpress.com/
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
> ___
> QGIS-it-user mailing list
> QGIS-it-user@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/qgis-it-user
>
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [Qgis-user] problem with older version

2019-05-27 Per discussione Phil Wyatt
Hi Boaz,

 

When the layers didn’t appear when opening in the old version of QGIS, did you 
get any error message? Generally if a layer in a project cannot be found you 
get the opportunity to find it and reinstate it in the projects (handle bad 
layers).

 

Maybe in the newer version of QGIS you have ‘relative file paths’ set versus 
‘full file path’ – This is under PROJECT settings – Project, Settings, General 
tab, Save Paths

 



 

There are now a multitude of reasons why you may not be able to fully open a 
3.4 project in 2.18, especially when it comes to how layers are styled.

 

Cheers - Phil

 

From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Boaz 
Bar Ilan
Sent: Monday, 27 May 2019 6:22 PM
To: qgis-user
Subject: [Qgis-user] problem with older version

 

hi

 

I use win 10 

I used to work with  few previous versions of qgis  in the last 3 years

 few month ago I started using 3.4.5 and set out a  new project with this 
version

out of several reasons ( problem with synch my layers with the the local survey 
), I tried to use again 2.18.26 ( las palmas) 

while trying to open the last  project  ( which  I did with 3.4.5 ) I was 
amazed to see that   while opening the project, apart of  5 layer /directories 
out of 32 directories and dozens of sub directories and layers

the layers that did appear don't have something in common  in relation to what 
didn't appear.

I hope that I covered enough to get your help

I don't know what to write more

thanks

 boaz

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] problem with older version

2019-05-27 Per discussione DelazJ
Hi,
>From what I understand, he fails to open a 3.4 project in 2.18.
Unfortunately, this is "normal". Nothing amazing if I may. While 2.18 files
can be opened in 3.4 there's no guarantee for backwards compatibility, and
there's lesser since the API break (from 2.x to 3.0)
I'm not sure you can do anything with your project on 2.18.
The alternative is to stick to 3.4 and describe what were the issues you
faced and get them fixed (if QGIS is the culprit).

Regards,
Harrissou

Le lun. 27 mai 2019 à 11:05, Régis Haubourg  a
écrit :

> Hi,
> please share screenshot before / after and create an issue in
> https://github.com/qgib/QGIS/issues
> I suggest you to read carefully the issue template that will help you to
> be understood by other contributors around.
> I' afraid without more precise description, nobody can help
> Best regards
> Régis
>
> Le lun. 27 mai 2019 à 10:22, Boaz Bar Ilan  a
> écrit :
>
>> hi
>>
>> I use win 10
>> I used to work with  few previous versions of qgis  in the last 3 years
>>  few month ago I started using 3.4.5 and set out a  new project with this
>> version
>> out of several reasons ( problem with synch my layers with the the local
>> survey ), I tried to use again 2.18.26 ( las palmas)
>> while trying to open the last  project  ( which  I did with 3.4.5 ) I was
>> amazed to see that   while opening the project, apart of  5 layer
>> /directories out of 32 directories and dozens of sub directories and layers
>> the layers that did appear don't have something in common  in relation to
>> what didn't appear.
>> I hope that I covered enough to get your help
>> I don't know what to write more
>> thanks
>>  boaz
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] problem with older version

2019-05-27 Per discussione Régis Haubourg
Hi,
please share screenshot before / after and create an issue in
https://github.com/qgib/QGIS/issues
I suggest you to read carefully the issue template that will help you to be
understood by other contributors around.
I' afraid without more precise description, nobody can help
Best regards
Régis

Le lun. 27 mai 2019 à 10:22, Boaz Bar Ilan  a écrit :

> hi
>
> I use win 10
> I used to work with  few previous versions of qgis  in the last 3 years
>  few month ago I started using 3.4.5 and set out a  new project with this
> version
> out of several reasons ( problem with synch my layers with the the local
> survey ), I tried to use again 2.18.26 ( las palmas)
> while trying to open the last  project  ( which  I did with 3.4.5 ) I was
> amazed to see that   while opening the project, apart of  5 layer
> /directories out of 32 directories and dozens of sub directories and layers
> the layers that did appear don't have something in common  in relation to
> what didn't appear.
> I hope that I covered enough to get your help
> I don't know what to write more
> thanks
>  boaz
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] [QGIS-Developer] [Qgis-community-team] Redmine migration plan: friday 24 may 8:00 CET

2019-05-27 Per discussione Tim Sutton
Thank you so much everyone involved!

Regards

Tim

> On 26 May 2019, at 09:42, Régis Haubourg  wrote:
> 
> Oh yeah! 
> Great work guys 
> 
> Le dim. 26 mai 2019 à 00:55, Richard Duivenvoorde  > a écrit :
> Update from migration team:
> 
> Migration of all Redmine issue is DONE !
> 
> https://github.com/qgis/QGIS/issues/ 
> 
> The interaction limitation has ended and you can start working on (your)
> issues on GitHub.
> 
> Go, fix, enjoy and happy QGISsing on github!
> 
> Regards,
> 
> Richard Duivenvoorde
> 
> ps according to Jorge (aka 'migration team'), there is some minor
> housekeeping to be done, but users and dev can... GO :-)
> 
> 
> 
> On 25/05/2019 14.56, Richard Duivenvoorde wrote:
> > Update from mirgration team:
> > 
> > Hi @all,
> > 
> > The issue migration from Redmine to GitHub is going on smoothly (but slow).
> > 
> > The first phase (moving the issues) is finished. All 19845 issues are
> > now on GitHub :-)
> > 
> > Since the issue ids have changed, we started a second run to replace
> > old ids with the new ones. This second phase is faster than the
> > first one. It will take about 9 to 10 hours (we are able to update
> > +-2200 issues per hour and we have almost 20k issues).
> > 
> > To prevent people for changing or comment issues, we will keep the
> > interaction limited to developers with push access, until the migration
> > is complete. Developers with push access can do PR and MR (but can also
> > enjoy the weekend ;-).
> > 
> > So, we expected to have the migration finished today by 22:00 (GMT+1)
> > (London time).
> > 
> > Thanks for your comprehension!
> > 
> > 
> > On 22/05/2019 14.06, Richard Duivenvoorde wrote:
> >> Hi All (lists),
> >>
> >> We propose to do the Redmine -> Github migration next friday 24th of may
> >> at 8:00 CET (+2).
> >>
> >> More or less following this Migration plan:
> >>
> >> https://github.com/qgis/QGIS-Enhancement-Proposals/issues/141#issuecomment-478296818
> >>  
> >> 
> >>
> >> To be clear: this means http://issues.qgis.org  
> >> cannot be used on friday,
> >> untill the migration is finished and checked.
> >>
> >> If anybody has knowledge of an easy way to make Redmine readonly, please
> >> let us know. Some googling to me only revealed changing the database
> >> user or fiddling with the users in the db itself.
> >>
> >> Jorge will be in the lead for the Migration team
> >> I (among others) will be around for QGIS Infra
> >> Any help or encouragement is appreciated :-)
> >>
> >> Let's meet on IRC on friday morning, we can further decide on
> >> communication if needed/wanted.
> >>
> >> If I miss something, please let us know.
> >>
> >> Regards,
> >>
> >> Richard Duivenvoorde
> >> ___
> >> QGIS-Developer mailing list
> >> qgis-develo...@lists.osgeo.org 
> >> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer 
> >> 
> >> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer 
> >> 
> >>
> > 
> > ___
> > Qgis-user mailing list
> > Qgis-user@lists.osgeo.org 
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user 
> > 
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user 
> > 
> > 
> 
> ___
> Qgis-community-team mailing list for organizing community resources such as 
> documentation, translation etc..
> qgis-community-t...@lists.osgeo.org 
> 
> https://lists.osgeo.org/mailman/listinfo/qgis-community-team 
> ___
> QGIS-Developer mailing list
> qgis-develo...@lists.osgeo.org 
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer 
> 
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer 
> 
—









Tim Sutton

Co-founder: Kartoza
Ex Project chair: QGIS.org

Visit http://kartoza.com  to find out about open source:

Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services

Skype: timlinux 
IRC: timlinux on #qgis at freenode.net

I'd love to connect. Here's my calendar link  to 
make finding time easy.

___
Qgis-user mailing list

[Qgis-user] problem with older version

2019-05-27 Per discussione Boaz Bar Ilan
hi

I use win 10
I used to work with  few previous versions of qgis  in the last 3 years
 few month ago I started using 3.4.5 and set out a  new project with this
version
out of several reasons ( problem with synch my layers with the the local
survey ), I tried to use again 2.18.26 ( las palmas)
while trying to open the last  project  ( which  I did with 3.4.5 ) I was
amazed to see that   while opening the project, apart of  5 layer
/directories out of 32 directories and dozens of sub directories and layers
the layers that did appear don't have something in common  in relation to
what didn't appear.
I hope that I covered enough to get your help
I don't know what to write more
thanks
 boaz
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] QGIS and GeForce

2019-05-27 Per discussione Carolina Rey
Dear all,

I would like to know if it is strongly recommended to have a GeForce graphic 
card to use QGIS for every usage or if it is only necessary if doing 
complicated 3D modellations. As you surely know, the GeForce on a good Laptop 
raises the price and I wouldn't like to by one with a lower quality to have 
this graphic card..

Thank you very much
Carolina

[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png]
 Libre de virus. 
www.avg.com
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Saving values by Python-Script in a PostgreSQL-Table

2019-05-27 Per discussione Kai Behncke
Dear users,

I try to save attributes in PostgreSQL/PostGIS
by a Python Script.

So far I get a connection and I can set an additional attribute field
that I can fill with a value (it seems so).
But how can I save these values?


My script looks like:

from qgis.core import
QgsApplication,QgsVectorLayer,QgsVectorDataProvider,QgsDataSourceUri
from PyQt5.QtCore import *
from qgis.PyQt.QtSql import QSqlDatabase, QSqlQuery

uri2 = QgsDataSourceUri()
uri2.setConnection("server", "5432", "table", "user", "pw")
#set database schema, table name, geometry column
and optionaly subset(WHERE clause)
uri2.setDataSource ("public", "table", "geom")
# Defining the layer name and layer type for QGIS?
vlayer2=QgsVectorLayer (uri2.uri() ,"ww_manhole","postgres")
print (vlayer2.isValid())
if (vlayer2.startEditing()):
print ("ok startEditing")
else:
print("not ok")
 
my_field_name2 = 'new_field'
if (vlayer2.addAttribute(QgsField(my_field_name2, QVariant.String))):
print ("ok AddAttribute")
else:
print ("not ok2")

my_field_value2 = 'Hello world!'
for f in vlayer2.getFeatures():
print ("ok getFeature")
f[my_field_name2] = my_field_value2
if (vlayer2.updateFeature(f)):
print ("ok updatefeature")
else:
print ("not ok updatefeature")

if (vlayer2.updateFields()):
print ("ok updateFields") 
   else:
print ("not ok updateFields")
if (vlayer2.commitChanges()):
print ("ok commitChanges")
else:
print("not ok commitChanges")



The output shows that neither
updateFields works not commitChanges??
Could anybode help please?

Thank you very much, Kai

The output:

True
ok startEditing
ok AddAttribute
ok getFeature
ok updatefeature
not ok updateFields
not ok commitChanges

Mit freundlichen Grüßen
Im Auftrag

Kai Behncke
Geoinformation
Tel.: +49 5451 931-7125

E-Mail: kai.behn...@ibbenbueren.de 

Rathaus II
Roncallistraße 3-5
1. Stock, Raum 105
49477 Ibbenbüren



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Saving values by a Python-Script in a PostgreSQL-Database

2019-05-27 Per discussione Kai Behncke
Dear users,

I try to save attributes in PostgreSQL/PostGIS
by a Python Script.

So far I get a connection and I can set an additional attribute field
that I can fill with a value (it seems so).
But how can I save these values?


My script looks like:

from qgis.core import
QgsApplication,QgsVectorLayer,QgsVectorDataProvider,QgsDataSourceUri
from PyQt5.QtCore import *
from qgis.PyQt.QtSql import QSqlDatabase, QSqlQuery

uri2 = QgsDataSourceUri()
uri2.setConnection("server", "5432", "table", "user", "pw")
#set database schema, table name, geometry column
and optionaly subset(WHERE clause)
uri2.setDataSource ("public", "table", "geom")
# Defining the layer name and layer type for QGIS?
vlayer2=QgsVectorLayer (uri2.uri() ,"ww_manhole","postgres")
print (vlayer2.isValid())
if (vlayer2.startEditing()):
print ("ok startEditing")
else:
print("not ok")
 
my_field_name2 = 'new_field'
if (vlayer2.addAttribute(QgsField(my_field_name2, QVariant.String))):
print ("ok AddAttribute")
else:
print ("not ok2")

my_field_value2 = 'Hello world!'
for f in vlayer2.getFeatures():
print ("ok getFeature")
f[my_field_name2] = my_field_value2
if (vlayer2.updateFeature(f)):
print ("ok updatefeature")
else:
print ("not ok updatefeature")

if (vlayer2.updateFields()):
print ("ok updateFields") 
   else:
print ("not ok updateFields")
if (vlayer2.commitChanges()):
print ("ok commitChanges")
else:
print("not ok commitChanges")



The output shows that neither
updateFields works not commitChanges??
Could anybode help please?

Thank you very much, Kai

The output:

True
ok startEditing
ok AddAttribute
ok getFeature
ok updatefeature
not ok updateFields
not ok commitChanges

Mit freundlichen Grüßen
Im Auftrag

Kai Behncke
Geoinformation
Tel.: +49 5451 931-7125

E-Mail: kai.behn...@ibbenbueren.de 

Rathaus II
Roncallistraße 3-5
1. Stock, Raum 105
49477 Ibbenbüren



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Fix Geometries

2019-05-27 Per discussione Luigi Pirelli
I strongly agree, more than 1 year ago asked for translation to english to
allow better review... but no power users reviewed the document, and we
also were changing from 2.x to 3.x => that are some reason why it was never
pushed forward.

Probably we need a porting to 3.x and someone translating and taking care
to maintain it during the time in the documentation.

Luigi Pirelli

**
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Mastering QGIS 2nd Edition:
*
https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
* Hire me: http://goo.gl/BYRQKg
**


On Fri, 24 May 2019 at 18:15, Nicolas Cadieux 
wrote:

> Bonjour Alain,
>
> I read the document and it's useful.   IMHO, this should be included in
> the QGIS documentation in the future.
>
...


>
> Bonne journée!
>
> Nicolas Cadieux
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user