Grabs or enters srid from spatial_ref_sys and uses it when generating a table