Converting City or Zip Code Data to Coordinates

2193
4
04-08-2019 09:50 AM
JamesStewart-Moore1
New Contributor III

I am wondering if anyone is aware of a tool/method to convert city data or zip code data into coordinated, either will suffice. I have a .csv file with approximately 750k rows of data that include "city" and "zipcode" fields. I would like to be able to find a way to associate each row with coordinates, so that I can display it.. other than looking up coordinates from Google 750k times.

Thank You!

0 Kudos
4 Replies
JoeBorgione
MVP Esteemed Contributor

What is your area of interest?  Can you get a feature class of the cities and or zip codes?  For example, where I work we have all the City Polygons and all the Zip codes as polygons in feature classes:  for me at least, I can extract the xy centroid of each.  

If you have the reference data, life is so much easier!

can't wait to retire....
JamesStewart-Moore1
New Contributor III

The file contains data from across the United States, including HI and AK, so the data would need to contain city/zip info for all 50 states.

This might be a good place to start, though. Thanks!

0 Kudos
JoeBorgione
MVP Esteemed Contributor

Check the ESRI Living Atlas in AGOL: they have zipcodes and states...

can't wait to retire....
0 Kudos
PavanYadav
Occasional Contributor II

You can geocode your table. See this tutorial: https://pro.arcgis.com/en/pro-app/help/data/geocoding/tutorial-geocode-a-table-of-addresses.htm

Note, you can geocode in ArcGIS Online or ArcGIS Pro (ArcMap) but if you're using Esri World Geocoding Service, you will charged with credits. 

If you don't want to spend Esri Credits, you can create your own Locator using publicly available data e.g. from data.gov. Zip Codes - ZipCodes - Data.gov. See this help document on how to build a locator: https://pro.arcgis.com/en/pro-app/help/data/geocoding/create-a-locator.htm