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

2012-10-10 Thread maning sambale
Dear Eli, Thanks for this. I tried your suggestion: ogr2ogr -overwrite -f 'ESRI shapefile' clipped_roads.shp roads.shp -clipsrc province.shp -clipsrclayer province -clipsrcsql 'SELECT * FROM province WHERE provname='\''SomeName'\''' ERROR 6: GEOS support not enabled. ERROR 6: GEOS support not en

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

2012-10-09 Thread Eli Adam
On Tue, Oct 9, 2012 at 3:41 AM, maning sambale wrote: > I see, is there a scripting workaround using 1.9? ogr2ogr has various -clip. options. It looks like you could specify using a particular feature in the AdminPoly to do this (presumably GEOS support is required?). ogr2ogr -f "ESRI shape

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

2012-10-09 Thread maning sambale
I see, is there a scripting workaround using 1.9? On Mon, Oct 8, 2012 at 9:14 PM, Etienne Tourigny wrote: > generally speaking new features do not go into current stable version > (1.9), they will be incorporated into next stable version (probably > 2.0). > > Etienne > > On Mon, Oct 8, 2012 at 9:

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

2012-10-08 Thread Etienne Tourigny
generally speaking new features do not go into current stable version (1.9), they will be incorporated into next stable version (probably 2.0). Etienne On Mon, Oct 8, 2012 at 9:57 AM, Ari Jolma wrote: > On 10/08/2012 03:21 PM, maning sambale wrote: > > Thanks! Is this implemented already in the

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

2012-10-08 Thread Ari Jolma
On 10/08/2012 03:21 PM, maning sambale wrote: Thanks! Is this implemented already in the stable build? It's currently only in the trunk version. Ari Maning Sambale (mobile) On Oct 8, 2012 7:28 PM, "Ari Jolma" > wrote: On 10/08/2012 02:13 PM, maning sambal

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

2012-10-08 Thread maning sambale
Thanks! Is this implemented already in the stable build? Maning Sambale (mobile) On Oct 8, 2012 7:28 PM, "Ari Jolma" wrote: > 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 feat

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

2012-10-08 Thread Ari Jolma
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, A

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

2012-10-08 Thread maning sambale
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_