[postgis-devel] [postgis-users] New function ST_DumpSegments?? (was : utility function : linestring -> setof segment)
Rémi Cura
remi.cura at gmail.com
Wed Oct 30 08:57:49 PDT 2013
Perfect,
what do you mean exactly by "testcase" and "documentation".
How many tests, of which kind, and what formatting for documentation?
As it is the first time, I don't know how to do it.
I wouldn't want to submit a bad patch !
Cheers,
Rémi-C
2013/10/30 Sandro Santilli <strk at keybit.net>
> On Wed, Oct 30, 2013 at 02:34:05PM +0100, Rémi Cura wrote:
> > Hey,
> > here is the function, safe for geometry collection and multilinestring as
> > well.
> > It mimics ST_DumpPoints.
> >
> > It doesn't work on polygon as we would first need a method STDumpLines.
>
> You have DumpRings which could be used.
>
> > Origine of segments is preserved inside the path when multi.
> > Could it be added to core ?
> > Shall I add a ticket?
>
> A ticket is welcome.
> Patch should include testcase and documentation.
>
> --strk;
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20131030/21a1a357/attachment.html>
More information about the postgis-devel
mailing list