[gdal-dev] gdal_polygonize and polygon edges

Jeff Lacoste jefflacostegdal at gmail.com
Wed Feb 20 07:23:42 PST 2013


Thanks Mateusz. Is this limited to polylines only ? not polygons ?


On Wed, Feb 20, 2013 at 10:19 AM, Mateusz Loskot <mateusz at loskot.net> wrote:

> On 20 February 2013 15:08, Jeff Lacoste <jefflacostegdal at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130220/f81f6543/attachment.html>


More information about the gdal-dev mailing list