score:2
In general, the point of departure is irrelevant. You're supposed to apply in the consulate in whose jurisdiction you reside, although some countries are stricter than others about this.
In any event, there's no requirement to travel directly from the country of residence to the country issuing the visa. How could there be? This would mean, for example, that someone who lives in Ethiopia, who has Schengen visa issued there by the French authorities, who wants to travel London to Paris, would have to do so by way of Addis Ababa.