[postgis-users] st_band with out-db raster data

Mateusz Loskot mateusz at loskot.net
Fri Nov 1 08:40:08 PDT 2013


On 1 November 2013 15:10, Dilley, Andrew-P57500 <Andrew.Dilley at gdc4s.com> wrote:
> From that thread,
>
> "We need to do away with the entire in-db and out-db notion and just return the pixel values."
>
> I guess this is what I mean.  Should st_band be doing this?

I understand this is not easy to follow the thread and the comments
posted to the #2217 ticket. However, the conclusion you can draw from
those discussions is that the raster WKB format as well as
the default behaviour of basic API does not change -
PostGIS raster keeps to return server path

http://trac.osgeo.org/postgis/ticket/2217#comment:23
"""
The WKB format is currently defined (version 0) is unable to properly
handle out-db raster bands for clients.
"""

Hence, there is related ticket that adds extra parameter to override
default behaviour of the APIs

http://trac.osgeo.org/postgis/ticket/2222

I'm not a heavy user of out-db rasters, but I *perhaps* there are other APIs
like ST_Band, that should be updated according as ST_Binary has
been changed as result of the #2222 ticket.

Anyway, I'm just trying to explain you the current situation, but
I'll leave the decisions about API changes to Pierre and Bborie.

> (I'm admittedly very new to postgis so maybe this a stupid question).

IMO, no question is stupid.

Best regards,
-- 
Mateusz  Loskot, http://mateusz.loskot.net


More information about the postgis-users mailing list