tries to define the srid if not defined in geometry