Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#1223 closed task (wontfix)

Unknown SRID to NULL

Reported by: strk Owned by: pramsey
Priority: medium Milestone: PostGIS 2.0.0
Component: postgis Version: master
Keywords: Cc:


I suggest we have ST_SRID() return null for a geometry/geography with unknown srid and that we either provide an ST_UnsetSRID or allow calling ST_SetSRID with a null argument as SRID.

If we did this from the beginning we'd have no problem going from -1 to 0...

Change History (2)

comment:1 Changed 9 years ago by pramsey

Resolution: wontfix
Status: newclosed

No, absolutely not. We're either not changing our external unknown SRID (leave at -1) or we're changing it to 0. So far the balance seems to be back to returning to -1. If we did anything other than -1 in the beginning we'd be better, but that's not on the table. We have -1 pretty set into stone in places it seems.

comment:2 Changed 9 years ago by robe

I want 0.

Note: See TracTickets for help on using tickets.