Giter VIP home page Giter VIP logo

Comments (7)

hassansin avatar hassansin commented on August 28, 2024

I'm getting following for the above address:

{ street: 'N95W18000 Appleton',
  type: 'Ave',
  city: 'Menomonee Falls',
  state: 'WI',
  zip: '53051' }

Is it supposed to be different?

from parse-address.

simpixelated avatar simpixelated commented on August 28, 2024

Not sure how common this is, but when there's a street type in the name of the street, I'm getting incorrect results. e.g. "3180 N Harbor Dr, San Diego, CA 92101, USA" results in:

{number: "3180", street: "N", type: "Harbor"}

Will need to dig into the code to see if there's an easy fix, but maybe you could look for two occurrences of type and assume the first one is meant to be part of the street name?

from parse-address.

cgirod3 avatar cgirod3 commented on August 28, 2024

+1 to ^. I came here with a similar issue, 34 E Terrace Ave, Flagstaff, Arizona 86001, United States fails to parse, likely due to Terrace being a type? Not sure if this is being monitored still.

Also potentially unrelated, 540 E, Ogden, Utah 84404 fails to parse though is valid

from parse-address.

aannecchiarico avatar aannecchiarico commented on August 28, 2024

Fails to parse highway addresses for example: "112 LEE RD 795"

from parse-address.

cody-lettau avatar cody-lettau commented on August 28, 2024

Has anyone figured out a fix for these issues?

from parse-address.

liamhession avatar liamhession commented on August 28, 2024

The case of "3180 N Harbor Dr, San Diego, CA 92101, USA" not being parsed correctly, plus others I've seen, is fixed by removing the ", USA" portion. So if you input "3180 N Harbor Dr, San Diego, CA 92101" at http://hassansin.github.io/parse-address/ you'll see it parsed as desired.

from parse-address.

canand2810 avatar canand2810 commented on August 28, 2024

Hello all this address => 2631 HIGHWAY J BOURBON MO 65441 is getting parsed like below
"number": "2631",
"street": "HIGHWAY",
"city": "J BOURBON",
"state": "MO",
"zip": "65441"
}
But i think the street should be HIGHWAY J. Is there a fix for this

from parse-address.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.