[Gdal-dev] downsampling shapefiles ?

strk strk at keybit.net
Sat Sep 10 16:20:17 EDT 2005


On Fri, Sep 09, 2005 at 10:16:29PM -0400, Frank Warmerdam wrote:
> On 9/9/05, Christian G. Tveen <cgt at navicon.dk> wrote:
> > Hi,
> > 
> > I have a number of very fine grained shape files. Is it possible to have
> > gdal in some way downsample these files to be more usable for overview
> > purposes ?
> 
> Christian, 
> 
> No, there is no support for geometric simplification in OGR.  I
> just checked GEOS's API documentation and I don't see anything
> there either.  I think I have heard there is something in PostGIS
> for generalization but I didn't check into it. 

The simplify() PostGIS function implements the Douglas-Peuker
line simplification algorithm.

--strk;



More information about the Gdal-dev mailing list