Timeline for Wrong order of the geometry parts in the result of QgsGeometry.difference()
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 19, 2023 at 7:00 | vote | accept | Kalak | ||
Jan 18, 2023 at 15:21 | comment | added | user30184 | I do not know if the QGIS function is made to sort the parts or if you have been lucky for all these years. With PostGIS I have been using postgis.net/docs/ST_Normalize.html but even that would not probably do what you want. | |
Jan 18, 2023 at 15:05 | comment | added | Kalak | Especially since I can confidently say (that process and others using that same principle have been working perfectly for years) that on windows the result is always ordered | |
Jan 18, 2023 at 14:58 | comment | added | Kalak | I get what you are saying but I find this quite bothersome. I understand the utility of multilinestring and them becoming default type. However A function that breaks the order of the vertices in the geometry makes it a lot harder to do what I want since I will have to split my linestring into individual multilinestrings (hopeful not loosing the order there) do the difference on each then rebuild from all the results hoping the multilinestring haven't split further with the difference operations .... that's quite the nightmare | |
Jan 18, 2023 at 14:46 | history | answered | user30184 | CC BY-SA 4.0 |