Error message added for locations outside sf