[postgis-devel] ST_DumpPoints erasing srid

Rémi Cura remi.cura at gmail.com
Wed Feb 26 01:45:35 PST 2014


Great news,
thanks !

I'll upgrade as soon as I can access git.

Cheers,

Rémi-C


2014-02-26 3:41 GMT+01:00 Paragon Corporation <lr at pcorp.us>:

>   Remi,
>
> This issue was fixed in 2.1.1 (came in 2.1.0) so I assume you are running
> 2.1.0 and should probably upgrade if you can. Related tickets are:
>
> http://trac.osgeo.org/postgis/ticket/2433
> http://trac.osgeo.org/postgis/ticket/2550
>
> Hope that helps,
> Regina
>
>
>  ------------------------------
> *From:* postgis-devel-bounces at lists.osgeo.org [mailto:
> postgis-devel-bounces at lists.osgeo.org] *On Behalf Of *Rémi Cura
> *Sent:* Tuesday, February 25, 2014 10:32 AM
> *To:* PostGIS Development Discussion
> *Subject:* Re: [postgis-devel] ST_DumpPoints erasing srid
>
>  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
>>
>
>
> _______________________________________________
> 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/20140226/a983e93b/attachment.html>


More information about the postgis-devel mailing list