Alpha Video Training
Results 1 to 7 of 7

Thread: US States-Cities-Zipcodes

  1. #1
    "Certified" Alphaholic CharlesParker's Avatar
    Real Name
    Charles Parker
    Join Date
    Dec 2012
    Location
    New Orleans, LA
    Posts
    2,117

    Default US States-Cities-Zipcodes

    Trying to be helpful and contribute:

    I do not know if this is already on here somewhere, and potentially an easy find online elswhere but if not - here it is for the taking.

    This is all of the US City, State, and Zipcodes in one csv file.

    Hope it helps someone.

    Note: I have an extra field in this you can toss called costX. I ued that field as a cost multiplier for distance travel. In other words if you were pricing a job in a certain zipcode (think distance from office) and this zipcode would or could potentially cost you more because it was harder to service or a greater distance to travel you could increase the multiplier.
    OR you can just toss the extra field and use this as you see fit.


    Enjoy.
    US State_City_Zipcode.zip

  2. #2
    Member
    Real Name
    Gary Schepp
    Join Date
    May 2006
    Posts
    196

    Default Re: US States-Cities-Zipcodes

    If anyone uses it make sure to pad left the zipcode with any missing zeros.

  3. #3
    "Certified" Alphaholic DaveM's Avatar
    Real Name
    Dave Mason
    Join Date
    Jul 2000
    Location
    Hudson, FL
    Posts
    6,023

    Default Re: US States-Cities-Zipcodes

    The extra field I use in mine is for county. Counties in certain states have extra sales taxes. Actually, mine has county, rate, maximum fields for later computations.
    I use it when the the user places the zip code, it does a lookup on city and state. The one area of potential error is that some zip codes cross county lines.
    example: Florida, zip code 34434 is listed as levi county, Dunnellon, but is actually citrus county, citrus springs and the tax rates for the counties are different.
    citrus county has a cty tax of 1% up to 5000.00 and levi has none.
    A car dealer is required to pay that 50.00 even if they did not collect it on a sale of 5000 or more.
    staxzip.png
    Last edited by DaveM; 04-24-2014 at 02:31 PM.
    Dave Mason
    dave@aldausa.com
    Skype is dave.mason46

  4. #4
    "Certified" Alphaholic MoGrace's Avatar
    Real Name
    Robin
    Join Date
    Mar 2006
    Location
    Los Angeles
    Posts
    3,685

    Default Re: US States-Cities-Zipcodes

    Hi Dave,
    If your zip code database only contained cities in Florida, that would make sense to add the county field - you could then have a city listed twice with same zip but different counties. But would you do it that way if you were keeping data for all the states? Because in my town we not only pay tax according to state/ county, but also city.
    Robin

    Discernment is not needed in things that differ, but in those things that appear to be the same. - Miles Sanford

  5. #5
    "Certified" Alphaholic CharlesParker's Avatar
    Real Name
    Charles Parker
    Join Date
    Dec 2012
    Location
    New Orleans, LA
    Posts
    2,117

    Default Re: US States-Cities-Zipcodes

    Glad to see my addition has been helpful!~ BTW counties and "parishes" are listed as well. Basically theres alot of goofy stuff out there. Take Alaska for instance - they have boroughs, what does it cost to operate a service/sales business there by zipcode? lol I cannot imagine!
    so like gary, david, and robin pointed out there is a lot to consider when dealing with this area. I hope that this csv file serves as a good starting point for many people, but still you need to research your needs and adopt it according to your needs!

  6. #6
    "Certified" Alphaholic DaveM's Avatar
    Real Name
    Dave Mason
    Join Date
    Jul 2000
    Location
    Hudson, FL
    Posts
    6,023

    Default Re: US States-Cities-Zipcodes

    Robin, My zip database is over 12 years old. I chose to leave municipalities out of it. I have a separate area in my tax handling where the amount is added. Many times, the out of state taxes and tag/title fees have to be entered by hand. It is just a fact of life. Can you imagine the research to look up all the different scenarios that are out there? Fortunately, Dealers have a way to get the phone numbers to find all the information needed and can get most from a huge book kept up by NADA.
    example: SC charges 4% up to like $5000 and then none to 10,000 and then 6% all above 10,000. Then some townships have a separate tax, but not separate countiy taxes.
    Dealing with(I think on memory) Delaware was a state tax, then county, then city, then township inside the city. And tags were also weird with extra stickers for each at 5.00+ each. Forgive if it was not Delaware?
    Dave Mason
    dave@aldausa.com
    Skype is dave.mason46

  7. #7
    Member
    Real Name
    Gary Schepp
    Join Date
    May 2006
    Posts
    196

    Default Re: US States-Cities-Zipcodes

    Yep! There are zips that cross county lines. In my area we have a zip that crosses 4 county lines. And several that cross 2 county lines. I use zip lookup solely to provide the city and state. After that, I do the county lookup with USPS since they do the mail delivery.

Similar Threads

  1. Dialog w. dropdown for states
    By Peter.Greulich in forum Application Server Version 11 - Web/Browser Applications
    Replies: 5
    Last Post: 06-24-2012, 05:29 PM
  2. How to sort a subtable of Zipcodes?
    By rsisson in forum Alpha Five Version 7
    Replies: 3
    Last Post: 05-30-2006, 05:18 PM
  3. Any Twin Cities, MN A5 developers?
    By Bob Tahmaseb in forum Alpha Five Version 6
    Replies: 3
    Last Post: 12-09-2004, 08:45 PM
  4. conditional mask for zipcodes
    By barry webb in forum Alpha Five Version 4
    Replies: 2
    Last Post: 12-04-2002, 07:01 AM
  5. Fractional Zipcodes for Advanced Forms
    By Steve Dentler in forum Code Archive
    Replies: 0
    Last Post: 06-03-2001, 09:21 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •