[postgis-tickets] [PostGIS] #3192: Automatically convert SRID<0 to SRID=0 in topology.topology

PostGIS trac at osgeo.org
Thu Jul 2 01:27:04 PDT 2015


#3192: Automatically convert SRID<0 to SRID=0 in topology.topology
----------------------+---------------------------
 Reporter:  strk      |      Owner:  strk
     Type:  defect    |     Status:  new
 Priority:  high      |  Milestone:  PostGIS 2.2.0
Component:  topology  |    Version:  trunk
 Keywords:            |
----------------------+---------------------------
 I just found that the topology built by the testsuite (load_topology.sql)
 succeeds in writing a -1 value in topology.topology.srid field.

 This, in turn, can confuse clients:
 http://hub.qgis.org/issues/12802

 As we gently convert -1 to 0 in other cases, I think it would be nice to
 do it also in the topology.topology.srid case.

 Since people might already have -1's in their db, part of this would be
 converting existing values, updating the table.

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3192>
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-tickets mailing list