Yep. In your ogr2ogr query string query try "select buffer(area, nn.nn) as geom from table where...;"
PostGIS will buffer it before sending it to GDAL for export to shapefile. Or if you are repeatedly doing this, create a view in PostGIS with the buffer, & select this with GDAL, whichever suits.... Brent Wood --- On Thu, 4/23/09, Roger André <ran...@gmail.com> wrote: > From: Roger André <ran...@gmail.com> > Subject: [gdal-dev] Is it possible to Buffer using ogr2ogr? > To: "gdal-dev" <gdal-dev@lists.osgeo.org> > Date: Thursday, April 23, 2009, 4:59 AM > Hi All, > > I'm trying to port some of my existing PostGIS based > workflow to ogr utilities and shapefiles. Is it possible > to buffer a feature that I've selected via the ogr2ogr > "-where" clause? I'd like end up with a > single, buffered feature in a stand-alone shapefile when > I'm done. > > > Thanks, > > Roger > > > -----Inline Attachment Follows----- > > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/gdal-dev _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev