3

I've tried all of these solutions (How to clip a line layer based on polygons with QGIS?) and still can't clip a shapefile. I'm trying to create a coastal shapefile for one region (NW France) from a world coastline. I created a custom rectangle to use as the clip extent and used vector> geoprocessing> clip to attempt the clip. Still no progress. Has anyone had success using other techniques or can anyone see a problem with my method?

I'm using QGIS 2.12.

nmtoken
  • 13,355
  • 5
  • 38
  • 87
SPG
  • 191
  • 1
  • 12
  • 7
    Maybe there's geometry errors in either or both the shapefiles? A quick check is to use the Check Geometry Validity from the toolbar (Vector > Geometry Tools > Check Geometry Validity). Could you perhaps share your shapefiles on a public server so that others could test it? – Joseph Dec 09 '15 at 12:24
  • 5
    Have you verified that all of the data is in the same coordinate system? – hexamon Dec 09 '15 at 12:25
  • 1
    Resolved. The validity check brought up a number of issue with my custom polygon. After redrawing and using vector>geoprocessing>clip it worked – SPG Dec 09 '15 at 14:37
  • I am a new user of 36.8.1. I have the same problem using the QGIS top down tools. I found the work around by using the SAGA tool. – Papa smurf Aug 03 '19 at 06:39

1 Answers1

4

Resolved. The validity check brought up a number of issue with my custom polygon. After redrawing and using vector>geoprocessing>clip it worked

SPG
  • 191
  • 1
  • 12
  • Just had the same problem, tried everything like resaving the shapefile, restarting qgis. Checking validity found a problematic node. After I deleted it the clip worked as intended – Luffydude Sep 12 '17 at 13:57