Joined: 03/01/2018 01:54:38
I found 2,65 postal code which I am sure are more than 10 miles off from where they should be. My source of truth is the ZCTA shapefile published by the US federal government. https://www.census.gov/geo/reference/zctas.html
My method was to create centroids for each postal then join to the geonames postal data via the postal code. I calculated the distance from the geonames centroid to the ZCTA centroid using the haversine formula and output the postal, zcta_lat,zcta_lon if the distance was more than 10 miles.
Enclosed please find the postals which should be corrected. File is a CSV in postal,latitude,longitude format.
||csv of postal, correct lat, correct lon. The data in this file was computed from public domain data
|| 34 time(s)