Btw, giving a deeper look to the help provided in the code, I wonder if<br>"geom_to_wkt(line_merge(geom_from_wkt('MULTILINESTRING((0 0, 1 1),(1 1, 2 2))')))"<br>and especially MULTILINESTRING((0 0, 1 1),(1 1, 2 2))') is a valid multilinestring (a multipart feature whose parts already touch themselves). Shouldn't it be two separate linestrings?<br>Also, in the application function help line_merge(geometry) should instead be line_merge(geometry1, geometry2,.., geometry n), shouldn't it?<br>Let me know if I'm right, in which case I can provide a PR if needed.<br><br>Regards,<br>Harrissou<br><br>Le lundi 12 juin 2017, DelazJ <<a href="mailto:delazj@gmail.com">delazj@gmail.com</a>> a écrit :<br>> Hi Tobias,<br>><br>> I'm not sure what you did is the way to get what you expected (from what I've understood); I'd not be that confident on your process (note that I don't mean your result is false).<br>><br>> Line_merge function like most of the expression functions in QGIS (except aggregate ones) works feature by feature, meaning that it processes only the geometry you provide in the bracket and, in your expression, afaict, you simply provide the existing geometry (of each feature) --> this might actually return the same geometry. So it won't merge your five features into one, be it line or multi linestring.<br>><br>> As mentioned by Matthias, virtual layer or collect option in aggregate function (which I think is a 3.0 feature - didn't test it though) might be the solution if you want a single feature.<br>><br>> That said, doesn't the Symbol levels option (<a href="http://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/vector_properties.html#symbols-levels">http://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/vector_properties.html#symbols-levels</a>) already solve your issue? <br>> Looks like your change is simply for a better rendering/join of lines and it's what this option is designed for...<br>><br>> HTH,<br>> Harrissou<br>><br>> Envoyé depuis mon HTC<br>><br>> ----- Reply message -----<br>> De : "Tobias Wendorff" <<a href="mailto:tobias.wendorff@tu-dortmund.de">tobias.wendorff@tu-dortmund.de</a>><br>> Pour : "Matthias Kuhn" <<a href="mailto:matthias@opengis.ch">matthias@opengis.ch</a>><br>> Cc : <<a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>><br>> Objet : [Qgis-user] problems with 'geometry creator'<br>> Date : lun., juin 12, 2017 01:23<br>><br>> Hi Matthias,<br>><br>> Am So, 11.06.2017, 12:25 schrieb Matthias Kuhn:<br>>><br>>> Sometimes - if you are lucky - they even produce better<br>>> results for you than trying random things.<br>><br>> got it working - my MultiLinestring was buggy.<br>> So it wasn't "random trying", but an input error.<br>><br>> Best regards,<br>> Tobias<br>><br>> _______________________________________________<br>> Qgis-user mailing list<br>> <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>