[postgis-devel] [PostGIS] #1150: Prevent people from inserting entries in spatial_ref_sys with no proj4text

PostGIS trac at osgeo.org
Mon Feb 20 21:20:25 PST 2012


#1150: Prevent people from inserting entries in spatial_ref_sys with no proj4text
----------------------+-----------------------------------------------------
  Reporter:  robe     |       Owner:  strk         
      Type:  defect   |      Status:  reopened     
  Priority:  medium   |   Milestone:  PostGIS 1.5.4
 Component:  postgis  |     Version:  1.5.X        
Resolution:           |    Keywords:  windows      
----------------------+-----------------------------------------------------
Changes (by robe):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 Still crashes for me:


 {{{
 insert into spatial_ref_sys (srid, proj4text) values (500001,NULL);
 insert into spatial_ref_sys (srid, proj4text) values (500002,
 '+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs');
 select '#1150', st_astext(st_transform('SRID=500002;POINT(0 0)',500001));

 }}}

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