[Gdal-dev] downsampling shapefiles ?

Frank Warmerdam fwarmerdam at gmail.com
Fri Sep 9 22:16:29 EDT 2005


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. 

I do think a "textbook" geometry simplification algorithm would be an
asset to GEOS, and I would be willing to expose it in some fashion
through ogr if it were available. 

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list