[postgis-devel] [PostGIS] #1505: Deal with database dumps containing geometries with SRID > MAX_SRID

PostGIS trac at osgeo.org
Fri Feb 10 08:22:20 PST 2012


#1505: Deal with database dumps containing geometries with SRID > MAX_SRID
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  high     |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 So, early testing immediately hit the known limit:

   WARNING: SRID value 20123123 converted to 999123
   WARNING: SRID value 1123123123 converted to 999123
 ERROR:  duplicate key value violates unique constraint
 "spatial_ref_sys_pkey"

 That's converting using modulo over the reserved space composed by 1000
 slots.
 With same algorithm used by postgis_restore.pl and core.

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