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.

  • 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 9 '15 at 12:24
  • 5
    Have you verified that all of the data is in the same coordinate system? – hexamon Dec 9 '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 9 '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 3 at 6:39
4

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

  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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