[postgis-tickets] [PostGIS] #2217: [raster] ST_AsBinary semantic discrepancy

PostGIS trac at osgeo.org
Thu Feb 28 12:31:16 PST 2013


#2217: [raster] ST_AsBinary semantic discrepancy
---------------------+------------------------------------------------------
 Reporter:  mloskot  |       Owner:  dustymugs
     Type:  defect   |      Status:  new      
 Priority:  medium   |   Milestone:           
Component:  raster   |     Version:  trunk    
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by mloskot):

 Replying to [comment:16 dustymugs]:
 > > Let's turn this ticket this way:
 > >  * I'm a user.
 > >  * I have table with raster registered as out-db
 > >  * I call SQL API.
 > > How can I query and fetch complete blob of WKB data for the whole
 raster?
 >
 > Convert the raster with out-db bands to in-db (this functionality does
 not exist) and then call ST_AsBinary()?  That would abide by the WKB
 format...


 I'm sorry, but IMHO you simply don't understand the purpose of this
 format.
 The flag if data is stored in-database or out-database is for sole use by
 the raster implementation in PostGIS. It is for PostGIS to be able to
 locate physical storage, not for client (user of public SQL API). It is
 not even of interested of any client. Fullstop.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2217#comment:18>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list