Select to view content in your preferred language

Create Locator for Zip Codes

1091
3
02-28-2022 08:50 PM
SarahModlin
Emerging Contributor

Hi! I'm trying to create locator for zip codes for stores that accept SNAP EBT. The data is a standalone table, seen in one of the attachments. I want to use zip5 as the locator (since I want to map by the 5 digit zip-code). I have the error message "ERROR 002782 Selected Primary Table does not contain geometry"

I'm not sure how to get my standalone table onto the map and map by zip code if I can't do it through the locator

0 Kudos
3 Replies
JayantaPoddar
MVP Esteemed Contributor

Using the Snaplocations table, you could first create a Point Feature Class. XY Table To Point (Data Management)—ArcGIS Pro | Documentation

Then, use this point layer as your primary table (ROLE: Point Address).



Think Location
0 Kudos
SarahModlin
Emerging Contributor

So creating the point feature class worked. But I still get this error message "ERROR 002972: Unable to process the 'ZIP' record with ObjectID = 1."

0 Kudos
ShanaBritt
Esri Regular Contributor

If the point feature class you created represents a feature for each of the 5 digit zip codes, then you should use the Zip role in the Create Locator tool and map Zip5 to the Zip locator role field.

The other option is to search ArcGIS Online for the esri_dm (this is the owner) USA Zip Code Boundary Areas and download the layer package and build a locator with the data using the Zip (Postal) role in the Create Locator tool.

ShanaBritt_0-1657947454366.png

 

0 Kudos