[gdal-dev] Clipping shapefiles

Matthew Huck matthew.huck at gmail.com
Wed Sep 3 22:55:04 EDT 2008


  Hi,  I've got a reasonably large shapefile that I wish to break down
into areas that match the topographic maps in NZMG. I've got a python
script that creates a shapefile with each topomap as a polygon in it
(and I can create a shapefile per topo map too if required). What I
can't work out how to do is to clip my master shapefile by the smaller
shapefiles. I've seen ideas of copying across the features if they
intersect with the clipping box, but the data is contour lines so I
want to "cut" the contour lines at the boundry of the clipping boxes.
Any ideas on the best way to do it, I can get MapWindow to do it
(sometimes, but it crashes frequently).
 Cheers
 Matthew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080904/7b7da9a7/attachment-0001.html


More information about the gdal-dev mailing list