[postgis-devel] [PostGIS] #1152: SRID_MAXIMUM should be raised to at least 999999999 in liblwgeom.h and gserialized_get_srid () should be patched (was: SRID_MAXIMUM should be raised to at least 999999999 in liblwgeom.h)

PostGIS trac at osgeo.org
Thu Aug 4 00:55:50 PDT 2011


#1152: SRID_MAXIMUM should be raised to at least 999999999 in liblwgeom.h and
gserialized_get_srid () should be patched
----------------------------+-----------------------------------------------
 Reporter:  vince           |       Owner:  pramsey      
     Type:  defect          |      Status:  new          
 Priority:  medium          |   Milestone:  PostGIS 2.0.0
Component:  postgis         |     Version:  trunk        
 Keywords:  srid liblwgeom  |  
----------------------------+-----------------------------------------------

Comment(by vince):

 Besides, the function gserialized_get_srid() in g_serialized.c should be
 patched since it assumes wrongly that SRID are at maximum 21 bits long
 (310024140 = 0x127A97CC).

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1152#comment:1>
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