Generate distance tables via a local server