[postgis-users] find_srid and null values

Nicolas RIBOT nri at scot.cnes.fr
Tue Aug 27 01:44:40 PDT 2002


> I think returning -1 would be a bad idea - it'll cause a world of pain
> later on.  The real problem is that you dont have an entry in the 
> geometry_columns table. 
> 
> You dont have to have an entry in spatial_ref_sys - you only need
> one if you are doing re-projection with transform().
> 
> If you always setup your spatial columns with addGeometryColumn(), you
> shouldnt have any problems.  (Dont forget to dropGeometryColumn() if
> you're going to delete a table)
> 

Ok,
I will add entry in the spatial_ref_sys table for each new
Postgis-enabled database.

Thanx for the answer.
Nicolas




More information about the postgis-users mailing list