Extracting geography from trade data