[QGIS-Developer] Processing Split with lines algorithm broken

Alexandre Neto senhor.neto at gmail.com
Wed Nov 15 02:13:41 PST 2017


+1

Nathan Woodrow <madmanwoo at gmail.com> escreveu no dia quarta, 15/11/2017 às
05:10:

> IMO go with the principle of least astonishment.  I think the expected
> outcome is single part features as it's not clear that you need to run
> another step.
>
> - Nathan
>
> On Wed, Nov 15, 2017 at 2:48 PM, Nyall Dawson <nyall.dawson at gmail.com>
> wrote:
>
>> On 15 November 2017 at 00:33, matteo <matteo.ghetta at gmail.com> wrote:
>> > Hi devs,
>> >
>> > the algorithm Split with lines seems not working. No output error but
>> > both lines or polygons in output are not split. The same algorithm with
>> > the same data works in QGIS 2.18
>>
>> I suspect it's working OK, but you're hitting a change in 3.0 where
>> the output of this algorithm is a multi-line, with the individual
>> split parts still forming a single feature. You need to run multiparts
>> to singleparts on it afterward.
>>
>> ....However....
>>
>> This was a change I requested in
>> https://github.com/qgis/QGIS/pull/3798, since it seemed like a logical
>> move. Having used this algorithm extensively since (and also been
>> confused in thinking that the algorithm was broken!) I'm not convinced
>> this was the right move anymore, and think that we should probably
>> always output single-part features from this algorithm.
>>
>> What's everyone's thoughts?
>>
>> Nyall
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

-- 
Alexandre Neto
---------------------
@AlexNetoGeo
http://sigsemgrilhetas.wordpress.com
http://gisunchained.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20171115/38a3453e/attachment-0001.html>


More information about the QGIS-Developer mailing list