I need a script or program, in whatever language you want, that:
1) grabs the full list of municipalities (city, town, villages) names of USA (for single states), Canada, UK, Germany, France, Italy, Spain, Australia, from Wikipedia;
2) gets their latitude/longitude from Google Maps.
Note: queries for USA municipalities must indicate the state too (e.g. "Sayreville, NJ, USA") for increased precision. The others must be in the form "Rome, Italy";
3) create a table, one for each state (country or US state), of the straight-line distances from each of them to each of them, using this ready algorithm [url removed, login to view] (or another that takes into account the actual polar flattening of the earth and the equatorial bulge...)
Full source code and ownership required. Escrow offered.
7 freelancers estão ofertando em média $84 para este trabalho
Hi, I can supply this list. Algorithm used for calculating the distance will NOT assume earth to be perfect sphere. Documentation of algorithm will be provided along with complete source code. Regards, Gogetter