extractLocation function

Extract location from coordinate request