Hello Marco,
Note that I'm currently working on a new Algorithm that supersede
dissolve tool.
Here is how it should look like :
Name : "Aggregate"
Parameters :
* input vector layer
* group_by expression (field name or complex expression, possible
to add conditions on geometry predicates)
* geometry aggregator : collect (multipart) or combine/union
(single part)
* Fields aggregators, for each field :
aggregate function, input field, delimiter (for the concatenate
aggregator)
output filed definition (type, length, precision)
with possibility to add/remove output fields, import the fields
from an existing layer
The UI should looks like the Refactor Fields algorithm.
With this it should be possible to set a neighborhood condition in the
group_by expression.
Cheers
Arnaud
Le 22/02/2017 à 10:32, Marco Grisolia a écrit :
Hi,
I recently answered to a question on GIS StackExchange [0]. In this
question, the asker was looking for a way for dissolving features
using an adjacency criterion instead of using common attribute field
(please, follow the link below for a better understanding). This
feature is already available in the analogous ArcGIS tool when
the"Create multipart features" option is enabled and I think it could
be of interest having an additional option like this in the "Dissolve"
tool main dialog for next releases.
I never submitted a feature request on the QGIS Project site but,
since there is already a (very rough) code and a general idea on how
to approach the issue, I didn't know if this was the case of adding it
there. Otherwise, let me know if I need to add it on the QGIS Project
site (if this is the case, I'm sorry for wasting your time).
Regards,
Marco
[0]
http://gis.stackexchange.com/questions/228267/merging-adjacent-lines-in-qgis
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer