2

Using QGIS 2.12.1-Lyon on OSX Yosemite, I am following this tutorial.

I cannot add any polygon on the map : I can draw the polygon, but as soon as I right-click, the polygon disepear, even if the Features Attributes windows is prompted.

Editing the feature (Polygon is stretched in order to reach the screenshot tool) enter image description here

After right-clicking enter image description here

Am I doing something wrong or is there a bug ?

2
  • Did you click ok? Commented Dec 16, 2015 at 18:06
  • Yes, obviously, and I enter a name. But the polygon disappears once I right click to finish the creation. And giving a name and clicking ok does not solve the problem.
    – Jean
    Commented Dec 16, 2015 at 22:44

2 Answers 2

3

I'm guessing that your Countries layer has a categorized renderer applied - judging by the 'expand arrow' next to the layer name.

So - when you're adding a feature, though you are adding geometry, you need to give it a name that has a value in the category you're renderer is based on.

Since you haven't added any values at all, the polygon won't have a symbol in the renderer, and hence it won't show up until you add a name (again, depending on what field is being used to symbolize the Countries layer).

1
  • 1
    @JeanRene great! I hope it works!!! (might want to point out that error to the creators of the tutorial, just in case others are having that issue!) Commented Dec 16, 2015 at 22:52
1

You could be not completing the polygon completely. If you are drawing features at the zoom level that you have in your screen shot, it's very possible that you are not actually finishing the polygon (at this level you can be 100s of feet off and it looks like you are right on top of the starting point.

Or It could be possible that when you are creating your polygon, it is saving at the origin. Open your attribute table to see if the data actually saved or not.

If you could update your question to let us know if 1) your zoom level when you are sketching and 2) if the drawings appear in your attribute table, it would be helpful.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.