[postgis-devel] [PostGIS] #1235: cast to unknown-srid typmod fails

PostGIS trac at osgeo.org
Thu Dec 22 16:41:35 PST 2011


#1235: cast to unknown-srid typmod fails
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by robe):

 For clarification:

 Recall we said that not specifying an srid (or using the unknonw one 0) is
 the same as allowing any srids?

 So what you have should in theory be the same as

 SELECT geom:geometry('multipolygon');

 That would keep the same srid as it had before -- namely 4326 in this
 case.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/1235#comment:3>
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