-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weird behavior when street name starts with a number #12
Comments
dakzilla
changed the title
Weird behavior when street name start with a number
Weird behavior when street name starts with a number
May 17, 2017
Test data: [
'470 6e Av',
[
'additionToAddress1' => '',
'streetName' => '6e Av',
'houseNumber' => '470',
'houseNumberParts' => [
'base' => '470',
'extension' => '',
],
'additionToAddress2' => ''
]
] |
svenmuennich
added
the
bug
Issues that describe an unexpected behaviour in an existing functionality.
label
May 18, 2017
svenmuennich
added
the
minor
"bug" issues that are neither "critical" nor "major".
label
Mar 1, 2018
Was this ever fixed @svenmuennich? We're experiencing similar issues. |
This issue is still relevant. Here's another example coming from #24: [
'13 2e Avenue',
[
'additionToAddress1' => '',
'streetName' => '2e Avenue',
'houseNumber' => '13',
'houseNumberParts' => [
'base' => '13',
'extension' => '',
],
'additionToAddress2' => ''
]
] |
Also relevant for Dutch addresses:
|
And certain American ones: VIISON\AddressSplitter\AddressSplitter::splitAddress('942 12th Ave');
// VIISON\AddressSplitter\Exceptions\SplittingException: Address '942 12th Ave' could not be splitted into street name and house number. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This example (in a French format) returns an exception: 470 6e Av:
InvalidArgumentException: Address '470 6e Av' could not be splitted into street name and house number
The same example, with an added comma after the house number also doesn't work correctly:
Most of the time, users will not include a comma after the civic number
The text was updated successfully, but these errors were encountered: