[postgis-devel] [PostGIS] #1482: ERROR: Negative SRID is not for GEOGRAPHY at character 69

PostGIS trac at osgeo.org
Wed Jan 18 03:06:18 PST 2012


#1482: ERROR:  Negative SRID is not for GEOGRAPHY at character 69
----------------------+-----------------------------------------------------
  Reporter:  strk     |       Owner:  pramsey      
      Type:  defect   |      Status:  closed       
  Priority:  blocker  |   Milestone:  PostGIS 2.0.0
 Component:  postgis  |     Version:  trunk        
Resolution:  fixed    |    Keywords:               
----------------------+-----------------------------------------------------
Changes (by strk):

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


Comment:

 I guess the sanest thing is to consider UNKNOWN as omitted, which is using
 the default of 4326.
 Done so with r8862.

 Remember: 0 == omitted == UNKNOWN

 We discussed about 0 being the same as omitted with geometry as well,
 didn't we ?
 When I complained about being able to do : 'SRID=4326;POINT(0
 0)'::geometry(point, 0);

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