[gdal-dev] clipping multiple shapefiles from a set of clipping polygons

Ari Jolma ari.jolma at gmail.com
Mon Oct 8 04:28:21 PDT 2012


On 10/08/2012 02:13 PM, maning sambale wrote:
> HI,
>
> I have a shapefile polygon that contains administrative boundaries and
> a several shapefile of various features.  I want to create separate
> shapefiles of each layer feature for each administrative boundaries in
> the clipping layer.
>
> For example,
>
> AdminPoly1
>   - AdminPoly1_point.shp
>   - AdminPoly1_line.shp
>   - AdminPoly1_poly.shp
>
> AdminPoly2
>   - AdminPoly1_point.shp
>   - AdminPoly1_line.shp
>   - AdminPoly1_poly.shp
>
> and so on.
>
> Any advice?

Maning,

The new layer methods may be what you're looking for: 
http://trac.osgeo.org/gdal/wiki/LayerAlgebra

Ari

>



More information about the gdal-dev mailing list