[postgis-users] ST_Clip on a raster without band crashes the server

Bborie Park dustymugs at gmail.com
Tue Feb 24 07:24:34 PST 2015


File a bug. It shouldn't work for an empty raster.

On Tue, Feb 24, 2015 at 6:50 AM, Pierre Racine <Pierre.Racine at sbf.ulaval.ca>
wrote:

> Hi,
>
> I have:
>
> "POSTGIS="2.1.5 r13152" GEOS="3.4.2-CAPI-1.8.2 r0" PROJ="Rel. 4.8.0, 6
> March 2012" GDAL="GDAL 1.11.1, released 2014/09/24" LIBXML="2.7.8"
> LIBJSON="UNKNOWN" RASTER"
>
> and
>
> SELECT ST_Clip(ST_MakeEmptyRaster(42, 42, 0, 0, 1.0, 1.0, 0, 0, 4269),
> ST_MakeEnvelope(0, 0, 20, 20, 4269));
>
> crashed my server.
>
> Someone can confirm the bug?
>
> Thanks,
>
> Pierre
> _______________________________________________
> 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-users/attachments/20150224/e1ac0dc7/attachment.html>


More information about the postgis-users mailing list