Opened 13 years ago

Closed 13 years ago

Last modified 13 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:

Description

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 by pramsey, 13 years ago

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 by robe, 13 years ago

I want 0.

Note: See TracTickets for help on using tickets.