[postgis-devel] Error in Raster Docs

Stephen Mather stephen at smathermather.com
Mon Dec 9 20:29:47 PST 2013


:D  Not until I'm done writing... .

On Mon, Dec 9, 2013 at 11:28 PM, Bborie Park <dustymugs at gmail.com> wrote:
> Yes. You are correct. I see that problem here on 2.1. Ticket?
>
> -bborie
>
>
> On Mon, Dec 9, 2013 at 8:15 PM, Stephen Mather <stephen at smathermather.com>
> wrote:
>>
>> http://www.postgis.net/docs/manual-2.1/RT_ST_AsRaster.html
>>
>>
>> SELECT ST_AsPNG(ST_AsRaster(ST_Buffer(ST_Point(1,5),10),150, 150,
>> '2BUI'));
>>
>> ERROR:  The pixel type of band 1 in the raster is not 8BUI or 16BUI.
>> The PNG format can only be used with 8BUI and 16BUI pixel types.
>> ********** Error **********
>>
>> ERROR: The pixel type of band 1 in the raster is not 8BUI or 16BUI.
>> The PNG format can only be used with 8BUI and 16BUI pixel types.
>> SQL state: P0001
>>
>>
>> ... Unless this is a function of my PNG driver... .
>>
>> Best,
>> Steve
>> _______________________________________________
>> 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



More information about the postgis-devel mailing list