pgSRID function

Find (or create) PostGIS SRID based on CRS object.