4

I am trying to clip a layer but it gives empty output (No error message, just an empty layer)

The desired input layer is a hexagonal grid (148980 features) created in MMQGIS in EPSG: 32629.

The clipping layer is a layer that I created myself, by merging two line vectors and then using the tool Lines to Polygons, also in EPSG: 32629, which you can see below.

clipping layer

Both layers are quite large, since they represent a portion of the Exclusive Economic zone of Portugal (around 100 000km2)

I'm working in QGIS 2.18.16

closed as off-topic by nmtoken, whyzar, Vince, Andre Silva, neogeomat Mar 18 '18 at 7:22

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This problem cannot or can no longer be reproduced. Changes to the system or to the asker's circumstances may have rendered the question obsolete, or the question does not include a procedure to enable potential answerers to reproduce the same symptoms. Such questions are off-topic as they are unlikely to help future readers, but editing them to include more details can lead to re-opening." – nmtoken, whyzar, Vince, Andre Silva
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    Clip sometimes is a bitch, try intersect. – Erik Mar 12 '18 at 10:44
  • 3
    Try running the Geometry Checker tool to check if your layer is valid. – Joseph Mar 12 '18 at 11:19
  • 1
    try clipping with a smaller polygon first. – neogeomat Mar 12 '18 at 11:22
  • @ErikLohmann Intersect gave me an invalid features error (Even when I selected to Ignore Null geometries). I tried to check the geometry as Joseph recommended and I found out that my grid layer is okay, but the test in my self-drawn vector layer crashed my computer so I suppose that would be the issue. I am going to create a new one and see what happens. Thanks for the input! – Ricardo Simões Mar 12 '18 at 16:06

Browse other questions tagged or ask your own question.