[postgis-tickets] [PostGIS] #2263: [raster] Audit usage of serialize/deserialize vs wkb/hexwkb

PostGIS trac at osgeo.org
Thu Apr 4 11:24:20 PDT 2013


#2263: [raster] Audit usage of serialize/deserialize vs wkb/hexwkb
-----------------------+----------------------------------------------------
 Reporter:  dustymugs  |       Owner:  dustymugs     
     Type:  task       |      Status:  new           
 Priority:  high       |   Milestone:  PostGIS Future
Component:  raster     |     Version:  trunk         
 Keywords:             |  
-----------------------+----------------------------------------------------
 An audit needs to be done to delineate the usage of serialize/deserialize
 and wkb/hexwkb.  At the present time, serialize/deserialize and wkb/hexwkb
 are the same and has possibly caused the blind usage of wkb/hexwkb when
 serialize/deserialize is appropriate and vice versa.

 The key difference between serialize/deserialize and wkb/hexwkb is:

 1. serialize/deserialize: Internal storage format.  The output seen from a
 query like the following should be of this format.

 {{{
 SELECT rast FROM mytable
 }}}

 2. wkb/hexwkb: Transport format.  This format is meant for use by and must
 be explicitly called for by clients.  To get wkb/hexwkb output, the
 clients must use ST_AsBinary().

 The rational for this is so that in the future, these two formats can
 deviate from each other (particularly the internal storage format).

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2263>
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