In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Zip Code from string to spacial

robshiffer
7 - Meteor

I'm trying to use the distance tool to calculate the difference between two zip codes (5 digit), but my zips are coming in as string. I tried using the select tool to convert the data to spacial, but when I do it just gives me null values for the zip code. Any suggestions on how to convert the string zip to a spacial?

1 REPLY 1
MarqueeCrew
20 - Arcturus
20 - Arcturus

@robshiffer,

 

I think that you might want to download shape files from the US Census here.  You can read the data and create a ZIP Code table and use the Centroid from the shapes to perform your calculations.  The unzipped files have a ".shp" file.  Input that file to get you where you need to go.

 

Cheers,

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Labels
Top Solution Authors