Opened 6 years ago

Last modified 3 years ago

#3192 new enhancement

Automatically convert SRID<0 to SRID=0 in topology.topology

Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS Fund Me
Component: topology Version: master
Keywords: Cc:

Description

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.

Change History (2)

comment:1 Changed 6 years ago by strk

Milestone: PostGIS 2.2.0PostGIS Future
Priority: highmedium
Type: defectenhancement

comment:2 Changed 3 years ago by robe

Milestone: PostGIS FuturePostGIS Fund Me

Milestone renamed

Note: See TracTickets for help on using tickets.