Tuesday, 14 February 2017

Removing green Xs and red lines in QGIS?


I'm using QGIS 2.18.15 and have somehow ended up with the following on my screen. I've deselected every layer and these green X's and red lines persist. I cannot "undo" to remove them.


What are they & how do I get rid of them?


They may have originally been related to a duplicate node or something like that, but I have no idea what's going on.


enter image description here



Answer




You are in the middle of editing or creating a new line feature. If you toggle the layer visibility you still see the half-created feature, and if you toggle editing off in that layer you'll still see it!


If you re-activate the layer visibility of whichever layer it is, and re-enable editing, you might find you need to finish creating the element before saving the layer. Delete the feature if you don't need it.


The green crosses are self-intersections that show this is an invalid geometry - you should also have seen a warning like "Add feature: segments 0 and 2 of line 0 intersect at -2.35695756492, 0.44230006192 Geometry has 1 errors. Validation finished"


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...