Comments (7)
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.
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.
+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.
Fails to parse highway addresses for example: "112 LEE RD 795"
from parse-address.
Has anyone figured out a fix for these issues?
from parse-address.
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.
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)
- Doesn't identify 9 digit zips HOT 3
- Returns null if string contains "&" or "@" HOT 1
- address without street will interpret city as street
- Issue when it find 2 possible street type HOT 2
- Undefined is not a function.
- Feature Request: skip address normalization step
- Adding country at the end of an address makes parsed address set city to street and street to prefix HOT 1
- Parse-address is too awesome. Please reduce it's awesomeness so other options don't suck so much. HOT 1
- Are there any plans to support other countries (ie: Canada)? HOT 2
- [Bug] Parses following address incorrectly "'4505 ravenwood pl union city ga" HOT 1
- [Bug] parseLocation removes apostrophes from city names
- Addresses without Unit label drop unit number
- Using # as secondary designator results in inconsistent behavior
- Certain addresses in Alaska, USA are showing strange behavior
- [Bug] ParseLocation not returning "/" in the given addresses HOT 1
- Unit test fails
- Ignoring alphabets from the home number "21B-Mercury-Drive-Londonderry-NH-03053"
- Provide TypeScript definitions HOT 4
- [Bug] United State address parse error
- PO box without a street address HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parse-address.