Throw exception if baselines cross shorelines