[Qgis-user] Split features not working for me

2020-04-16 Thread Iain
I am trying to split a line feature using the "split features" tool on the Editing toolbar in QGIS 10.4. The manual advice on how to do this is as follows To split line or polygon features: Select the Split Features tool. Draw a line across the feature(s) you want to split. If a se

Re: [Qgis-user] Split features

2020-03-22 Thread Christine
Christine wrote > ... I cannot achieve a splitting of features with my specific > lineZ feature dataset at all and I have no idea why. Couldn't find an > entry > of a known bug or problem for this, ... Have found a roundabout with the creation of an overlay layer (close buffer polygons around the

[Qgis-user] Split features

2020-03-22 Thread Christine
Dear colleagues, since a while I am struggling with the 'split features' tool that doesn't like to split my line features (lineZ). Have already checked for geometry problems in my dataset (geopackage), the data are projected (dataset and project CRS are the same). The split featurs tool works fin

Re: [Qgis-user] Split features tool behavior

2017-06-20 Thread Bernhard Ströbl
Hi Andreas, good it works, thanks for testing. For the tracing function (I have no idea how much work that would be, either): You are welcome to file an enhancement ticket for this as I am planning to overhaul the plugin once QGIS 3.0 is released. Bernhard Am 20.06.2017 um 09:24 schrieb Andrea

Re: [Qgis-user] Split features tool behavior

2017-06-20 Thread Andreas Wicht
Hi Bernhard, perfect! Both works for me. A nice-to-have for the future would also be the utilization of the tracing function in case tracing is enabled. I can not assess how much work that would mean. cheers On 19 June 2017 at 18:05, Bernhard Ströbl wrote: > Hi Andreas, > has been fixed; split

Re: [Qgis-user] Split features tool behavior

2017-06-19 Thread Bernhard Ströbl
Hi Andreas, has been fixed; split feature now uses the highlight color, too Please update your plugin Bernhard Am 19.06.2017 um 10:05 schrieb Andreas Wicht: Hi Bernhard, I can consistently produce a python error when splitting a Multipart Feature and then clicking "No to all": UnboundLocalErr

Re: [Qgis-user] Split features tool behavior

2017-06-19 Thread Andreas Wicht
Hi Bernhard, I can consistently produce a python error when splitting a Multipart Feature and then clicking "No to all": UnboundLocalError: local variable 'newGeoms' referenced before assignment Traceback (most recent call last): File "C:\Users\Andreas.Wicht\.qgis2\python\plugins\DigitizingTo

Re: [Qgis-user] Split features tool behavior

2017-06-18 Thread Bernhard Ströbl
Hi Andreas, the color is currently defined in the code. I did not find any setting to apply. AFAIK only selection color can be defined by the user, but it might be misleading if you have a selected feature and then have split parts colored exactly the same. - Wait a minute I just found the "H

Re: [Qgis-user] Split features tool behavior

2017-06-17 Thread Andreas Wicht
Hi Bernhard, just got to test the new version. It works now as expected. Thank you a lot for the good work there! Is the highlight color of the currently "selected" part (when you choose which part should form the new feature) defined in the code or does it use a color, which is set in the QGIS s

Re: [Qgis-user] Split features tool behavior

2017-06-15 Thread Bernhard Ströbl
FYI I implemented a new "Split features" tool in DigitizingTools [1]. It should replace "Split features" and "Split parts" in core, see [2] Bernhard [1] http://plugins.qgis.org/plugins/DigitizingTools/ [2] https://github.com/bstroebl/DigitizingTools/wiki/Usage Am 02.06.2017 um 10:48 schrieb Ber

Re: [Qgis-user] Split features tool behavior

2017-06-02 Thread Bernhard Ströbl
Hi Andreas, --snip--- Chaining those 2 tools manually produces exactly the output I would expect. - I use "Split Parts" and receive the halves which form the invalid geometry - then I use "Split off one part and add it as a new feature" on the part which I want to separate - make sure the pri

Re: [Qgis-user] Split features tool behavior

2017-06-01 Thread Andreas Wicht
Hi Bernhard, > In my tests only the halves of the part that was split became new features, > the rest of the mulit-part feature stays multipart, so all the islands would > stay in the feature and you would only have to merge one half with the > island multi polygon. Yes, you are right. >> For Ar

Re: [Qgis-user] Split features tool behavior

2017-05-31 Thread Bernhard Ströbl
Hi Andreas, Am 31.05.2017 um 18:02 schrieb Andreas Wicht: Hi Bernhard, I dug deeper and it seems that I can always split the part once. Any further splitting of any part results in the invalid geometry error. https://issues.qgis.org/issues/12799 describes why. Exactly. So when you split the

Re: [Qgis-user] Split features tool behavior

2017-05-31 Thread Andreas Wicht
Hi Bernhard, >>> I dug deeper and it seems that I can always split the part once. Any >>> further >>> splitting of any part results in the invalid geometry error. >>> https://issues.qgis.org/issues/12799 describes why. >> >> >> Exactly. So when you split the polygon and save the edits you will >>

Re: [Qgis-user] Split features tool behavior

2017-05-31 Thread Bernhard Ströbl
Hi Andreas, my comments below Am 31.05.2017 um 13:04 schrieb Andreas Wicht: On 31 May 2017 at 12:23, Bernhard Ströbl wrote: Hi Andreas, I dug deeper and it seems that I can always split the part once. Any further splitting of any part results in the invalid geometry error. https://issues.qgis.

Re: [Qgis-user] Split features tool behavior

2017-05-31 Thread Andreas Wicht
On 31 May 2017 at 12:23, Bernhard Ströbl wrote: > Hi Andreas, > I dug deeper and it seems that I can always split the part once. Any further > splitting of any part results in the invalid geometry error. > https://issues.qgis.org/issues/12799 describes why. Exactly. So when you split the polygon

Re: [Qgis-user] Split features tool behavior

2017-05-31 Thread Bernhard Ströbl
Hi Andreas, I dug deeper and it seems that I can always split the part once. Any further splitting of any part results in the invalid geometry error. https://issues.qgis.org/issues/12799 describes why. IMHO splitting a part once is ok because you might want to delete this newly created part or

Re: [Qgis-user] Split features tool behavior

2017-05-31 Thread Tobias Wendorff
Yes, Bernhard is right. Actually, this might be caused by rounding issues (or by the limit of floating point calculations). I often have problems with topology when working with another projection. The direct and its invers calculation hardly is the same. Am Mi, 31.05.2017, 10:53 schrieb Bernhar

Re: [Qgis-user] Split features tool behavior

2017-05-31 Thread Andreas Wicht
Hi Bernhard On 31 May 2017 at 10:53, Bernhard Ströbl wrote: > Andreas, > when loading your shape file into a new project the project is set to > EPSG:4326 because your data are in EPSG:4326 > Your screenshots indicate that you are working in another projection.In That was just for a better visua

Re: [Qgis-user] Split features tool behavior

2017-05-31 Thread Bernhard Ströbl
Andreas, when loading your shape file into a new project the project is set to EPSG:4326 because your data are in EPSG:4326 Your screenshots indicate that you are working in another projection. In EPSG:4326 split parts works flawlessly, when I use a projection I get the invalid geometries error

Re: [Qgis-user] Split features tool behavior

2017-05-30 Thread James Wood
Hey Andreas, I haven't experienced the invalid geometry as you describe, but I did find that my QGIS install had some issues. I have upgraded to 2.18.9 on Win10. If you have a sample of your data available, I would be happy to try to corroborate. James Sent from my iPhone > On May 29, 2017, at

Re: [Qgis-user] Split features tool behavior

2017-05-30 Thread Bernhard Ströbl
Hi Andreas, I have no problem with invalid geometries in my PostGIS test layers with split parts using QGIS 2.14.15 on Linux. Without having your data I cannot tell why yours are invalid. Anyway you might try DigitizingTools plugin which has a tool that deletes a part of a multi feature and i

Re: [Qgis-user] Split features tool behavior

2017-05-30 Thread Andreas Wicht
On 29 May 2017 at 13:16, Andreas Wicht wrote: > On 28 May 2017 at 14:43, James Wood wrote: >> On the digitizing toolbar, try "Split Parts" instead of "Split Features" on >> multipart polygons. > > Thank you for the hint, James. Somehow I always thought that this > function is only suitable for s

Re: [Qgis-user] Split features tool behavior

2017-05-29 Thread Andreas Wicht
On 28 May 2017 at 14:43, James Wood wrote: > On the digitizing toolbar, try "Split Parts" instead of "Split Features" on > multipart polygons. Thank you for the hint, James. Somehow I always thought that this function is only suitable for separating an existing part from a feature (never used it

Re: [Qgis-user] Split features tool behavior

2017-05-28 Thread James Wood
Hey Andreas, On the digitizing toolbar, try "Split Parts" instead of "Split Features" on multipart polygons. HTH, James Sent from my iPhone > On May 22, 2017, at 06:49, Andreas Wicht wrote: > > Hi all, > > I have a question regarding the behavior of the "split features" tool > when it comes

[Qgis-user] Split features tool behavior

2017-05-22 Thread Andreas Wicht
Hi all, I have a question regarding the behavior of the "split features" tool when it comes to multipart polygons. For that I created a small example (see split_features_1.png). The polygon "1" is a multipart polygon as shown in the screenshot. Let's say a user wants to split the lower polygon in

Re: [Qgis-user] Split features using Geopackage layer?

2016-10-21 Thread Chris Buckmaster
Ah that’s fine thank you Andreas and Even. Chris From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Neumann, Andreas Sent: 19 October 2016 13:55 To: Even Rouault Cc: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] Split features using Geopackage layer? As far as I know

Re: [Qgis-user] Split features using Geopackage layer?

2016-10-19 Thread Nyall Dawson
On 19 October 2016 at 22:55, Neumann, Andreas wrote: > As far as I know, Nyall Dawson is currently working on fixing this, as part > of his work on unique value constraints (provider provided or qgis provided > where the provider doesn't support it). But not sure about the details. > Certainly, Po

Re: [Qgis-user] Split features using Geopackage layer?

2016-10-19 Thread Neumann, Andreas
As far as I know, Nyall Dawson is currently working on fixing this, as part of his work on unique value constraints (provider provided or qgis provided where the provider doesn't support it). But not sure about the details. Certainly, PostgreSQL and Geopackage are top priorities for that. And his w

Re: [Qgis-user] Split features using Geopackage layer?

2016-10-19 Thread Even Rouault
Le mercredi 19 octobre 2016 14:14:40, Chris Buckmaster a écrit : > Hi > > I have a geopackage polygon layer and I am trying to split a simple feature > within it. > > When I try to do it, I get an error message 'failed to insert, UNIQUE > constraint failed'. > > Is this a known issue with splitt

[Qgis-user] Split features using Geopackage layer?

2016-10-19 Thread Chris Buckmaster
Hi I have a geopackage polygon layer and I am trying to split a simple feature within it. When I try to do it, I get an error message 'failed to insert, UNIQUE constraint failed'. Is this a known issue with splitting features using the geopackage format, it could it be how the layer is set up

Re: [Qgis-user] split features tool on postgres layer causes pkey violation

2015-11-26 Thread Bernhard Ströbl
Hi, I cannot confirm this behaviour neither with 2.8 on Win7 nor with 2.10 on Linux. When asking the new features with the "i" tool after splitting, one keeps its pk value the other displays nextval("my_sequence"). Maybe the problem is that features have received pk values by other means then

[Qgis-user] split features tool on postgres layer causes pkey violation

2015-11-25 Thread Janneke van Dijk
Dear all, When using the split features tool in 2.10 and 2.12 on a postgres layer (both on windows 7 and windows xp) I receive the following error after trying to save the edits: " Could not commit changes to layer a_streets Errors: ERROR: 1 feature(s) not added. Provider errors: PostGIS

Re: [Qgis-user] split features

2013-05-14 Thread Al Tongco
Also having problem with Split Features. I can split if split line is horizontal, otherwise it won't. Am I missing something? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/split-features-tp4995360p5053176.html Sent from the Quantum GIS - User mailing list archive at Nabbl

Re: [Qgis-user] split features

2012-08-15 Thread skampus
yes, andreas, it is as you say. but if you don't cross it happens as first post reports: nothin' happens! definitevely you must cross the boundaries. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/split-features-tp4995360p4995477.html Sent from the Quantum GIS - User maili

Re: [Qgis-user] split features

2012-08-15 Thread Andreas Neumann
Hi, I believe that the QGIS split function requires the crossing, even if snapping is perfect. You can snap and CROSS at the same time. No problem. Did you try it? Andreas On Wed, 15 Aug 2012 06:56:44 -0700 (PDT), skampus wrote: this thread comes properly. as you said, in order to split a

Re: [Qgis-user] split features

2012-08-15 Thread skampus
this thread comes properly. as you said, in order to split a features you have to CROSS the element. if you have a polygon to be splitted at vertices, i don't understand why you have to cross it. if you set properly snapping, it's simple to draw splitting segment that snap perfectly to vertices of

Re: [Qgis-user] split features

2012-08-15 Thread Andre Joost
Am 15.08.12 13:19, schrieb michael chiverton: Hi qgisers, When digitizing in qgis, how is the split features option utilized. everytime i try to split my features (similar to cut polygons in arcgis) i get nothing. it doesnt split the feature. is there some trick to this that i am missing? T

Re: [Qgis-user] split features

2012-08-15 Thread Andreas Neumann
Hi, How did you split? You have to draw a split line with at least two points that actually crosses one or more polygons or lines. The other question: do you use a recent build of QGIS? Andreas On Wed, 15 Aug 2012 04:19:04 -0700, michael chiverton wrote: Hi qgisers,   When digitizing in qgi

[Qgis-user] split features

2012-08-15 Thread michael chiverton
Hi qgisers, When digitizing in qgis, how is the split features option utilized. everytime i try to split my features (similar to cut polygons in arcgis) i get nothing. it doesnt split the feature. is there some trick to this that i am missing? thanks, mike