Closed qgib closed 5 years ago
Author Name: Giovanni Manghi (@gioman)
this used to work, isn't it?
Author Name: Pedro Venâncio (Pedro Venâncio)
Hi Giovanni,
Yes, at this time I can not tell what the last 'version' that worked, but definitely it used to work.
Author Name: Giovanni Manghi (@gioman)
Author Name: Victor Olaya (@volaya)
Fixed. The problem was that it was using the value of the other true/false field for the "use all" field. And, checking in github, the history of that file in SEXTANTE says it has been like that since the very first day...so I guess it never worked right :-)
You will see that now there is no "use selected" option. I am removing them and adding them as a global option, so algorithms are more compact and can be written with less code. This algorithm is adapted already, but I still have to work on the other fTools ones.
Author Name: Pedro Venâncio (Pedro Venâncio)
Hi Victor,
Funny, I almost swore that had seen him working properly! :)
Thank you very much!
Author Name: Pedro Venâncio (Pedro Venâncio)
Author Name: Anita Graser (@anitagraser)
I'm testing with current nighly and "dissolve all" yes does not dissolve all features.
Also, it makes no sense that I have to specify a "Unique ID field" if I want to dissolve all. (In model builder GUI)
Author Name: Anita Graser (@anitagraser)
It's really odd, because if I run Dissolve directly in the toolbox and select "dissolve all" NO, then it does dissolve all ...
Author Name: Pedro Venâncio (Pedro Venâncio)
Hi,
Anita Graser wrote:
It's really odd, because if I run Dissolve directly in the toolbox and select "dissolve all" NO, then it does dissolve all ...
I can not confirm this. With dissolve all set to NO, it works ok. But with dissolve all set to YES, the geometries appears dissolved, but the attribute table has the same number of registers than the original layer minus 1, and the attributes of the first register appears repeated n-1 times. See the image attached.
Another issue is to dissolve big datasets. In case, I tried with a shapefile with 8612 records, and after 2 hours, there is no result.
Author Name: Giovanni Manghi (@gioman)
Another issue is to dissolve big datasets. In case, I tried with a shapefile with 8612 records, and after 2 hours, there is no result.
this is known issue, the qgis dissolve is very bad and until its code will be revised it basically necessary to use GRASS or SAGA... and with sextante is easy :)
Author Name: Giovanni Manghi (@gioman)
Anita Graser wrote:
It's really odd, because if I run Dissolve directly in the toolbox and select "dissolve all" NO, then it does dissolve all ...
I also cannot confirm this, tested with different datasets on both Linux and Windows. Please reopen if necessary.
Author Name: Salvatore Larosa (@slarosa)
Giovanni Manghi wrote:
I also cannot confirm this, tested with different datasets on both Linux and Windows. Please reopen if necessary.
do rows in attributes table are dissolved too ?
Author Name: Giovanni Manghi (@gioman)
do rows in attributes table are dissolved too ?
no :(
Author Name: Filipe Dias (@fsdias)
Still true?
Author Name: Giovanni Manghi (@gioman)
Filipe Dias wrote:
Still true?
yes
Author Name: Pedro Venâncio (Pedro Venâncio)
Yes Filipe.
Author Name: Giovanni Manghi (@gioman)
Author Name: Giovanni Manghi (@gioman)
Author Name: Pedro Venâncio (Pedro Venâncio)
I think this was fixed in this https://github.com/qgis/QGIS/blob/116089e6ec0bd9bfd15395206bd6e880561da859/python/plugins/processing/algs/qgis/Dissolve.py
Reopen if necessary.
Author Name: Pedro Venâncio (Pedro Venâncio) Original Redmine Issue: 6918 Affected QGIS version: 2.4.0 Redmine category:processing/qgis Assignee: Victor Olaya
New description:
the qgis:dissolve tool ("dissolve all" option) does not dissolve the attributes, just the geometries. The original tool in the vector menu is ok
Old description:
Hi,
'Dissolve all' option is not taking effect. The result of the following commands is exactly the same.
sextante.runalg("qgis:dissolve","/home/pedro/Comunicacoes/Encontro_SMPC/Dados_Geograficos/Cont_AAd_CAOP20121/Cont_AAd_CAOP20121_dlxhgmil_3_Pinhel.shp",False,True,"Freguesia",None)
sextante.runalg("qgis:dissolve","/home/pedro/Comunicacoes/Encontro_SMPC/Dados_Geograficos/Cont_AAd_CAOP20121/Cont_AAd_CAOP20121_dlxhgmil_3_Pinhel.shp",False,False,"Freguesia",None)
I'm using QGIS master (today's Github) on Linux.