[postgis-devel] ST_DumpPoints erasing srid

Rémi Cura remi.cura at gmail.com
Tue Feb 25 07:31:45 PST 2014


test case :


WITH the_geom AS (
     SELECT *
    FROM   ST_GeomFromText('multipoint(5.01 4.99, 15.05 10.04, 74 69, 24.2
24.1)',10) AS pointss )
    ,pointss AS (
    SELECT ST_DumpPoints(pointss)AS point, ST_SRID(pointss) AS srid
    FROM the_geom
    )
    SELECT ST_SRID((point).geom), srid
    FROM pointss

Seems to happen on every multipoint.

Cheers,

Rémi-C


2014-02-25 16:12 GMT+01:00 Sandro Santilli <strk at keybit.net>:

> On Tue, Feb 25, 2014 at 04:07:59PM +0100, Rémi Cura wrote:
>
> > Is it a known feature to have ST_DumpPoints put srid to 0?
>
> I'd call it a bug, if input is non-zero.
>
> --strk;
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20140225/a02a647e/attachment.html>


More information about the postgis-devel mailing list