[postgis-devel] [PostGIS] #1253: ST_Summary never reports an "S" flag (for SRID)

PostGIS trac at osgeo.org
Wed Nov 2 06:56:56 PDT 2011


#1253: ST_Summary never reports an "S" flag (for SRID)
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by pramsey):

 Remember to make the distinction between LWGEOM and GSERIALIZED.

 For GSERIALIZED, there is one SRID, it's at the start of the structure.
 All sub-components are assumed to share that SRID.

 For LWGEOM, every LWGEOM has an srid attribute, and during deserialization
 that attribute is filled in with the parent srid value and the flags are
 set appropriately to indicate the presence of an SRID.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1253#comment:2>
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-devel mailing list