Douglas-Pecker is definitely the right approach. There are several easy ways to access its implementation in PostGIS and QGIS, which I thought I would add here for those who come across this post with a similar question. The goal is to start with something like this:

and end up with something like this:

In PostGIS, Douglas-Pecker is implemented as simplify , the syntax described in detail here at bostongis.org is some option:
SELECT transform(simplify(transform(the_geom, 2249), 500),4326) from the_geo_table
This worked very well even for a complete national dataset, with some errors that seem due to invalid base data. It also turns out that in QGIS, the menu item Tools > Geometry Tools > Simplify Geometries exports a simplified shapefile of any geometry and adds it as a layer to the current project.
This is a fairly fundamental set of tools, and I asked the question too low, although it was nice to learn basic math, there is a good explanation here : http://www.mappinghacks.com/code/PolyLineReduction/ along with sample code that is not too necessary!
unmounted Dec 05 '09 at 9:25 2009-12-05 09:25
source share