On 20 February 2013 15:08, Jeff Lacoste <jefflacosteg...@gmail.com> wrote: > Thanks every one who responded to my post. > > Jeff: it appears that your approach involve smoothing the original grid > before generating contours (or polygons from it). Right ? It would be nice > if I could have the smoothing either as an after process operation or > ideally as an option within the polygons generation process itself. > > Daniel: Using 'SIA' technique sounds promising. Does it apply to polygons as > well ? or just polylines ? I would be interested to test (and later use if > applicable) your approach. > If would like an extra tester, please let me know. > > Graeme: Is your tracing technique a new algorithm different from > GDAL_Polygonize ? Is there a C/C++ code I can build or may be an .exe > utility I could use to try out ? > > p.s: i did not have a chance to try out ''Ramer-Douglas–Peucker' yet.
If you're after C++ code, check this: http://psimpl.sourceforge.net/ It shouldn't be a problem to stream OGR geometries through one of these algorithms. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev