Geofencing and Indoor positioning