Incorrect Parsing of Street Address
johnmellis opened this issue · 0 comments
johnmellis commented
I'm having an issue with the parsing of street information in geocod.io requests. It appears that the endpoint is chopping off the remainder of the street and only returning the number in it's initial lookup.
The address format appears to be correct in my request and the returned response query from the endpoint.
Request
{
"id": "c813a8a5-f758-1008-7394-5702ae933bd1",
"lat": null,
"lng": null,
"street": "1567 SW Chandler Ave.",
"city": "Bend",
"country": "USA",
"zip": "97702",
"state": "Oregon"
}
Response
"response": {
"input": {
"address_components": {
"number": "1567",
"city": "Bend",
"state": "OR",
"country": "US"
},
"formatted_address": "1567, Bend, OR"
},
"results": [
{
"address_components": {
"city": "Bend",
"county": "Deschutes County",
"state": "OR",
"zip": "97701",
"country": "US"
},
"formatted_address": "Bend, OR 97701",
"location": {
"lat": 44.082037,
"lng": -121.227125
},
"accuracy": 0.33,
"accuracy_type": "place",
"source": "TIGER/Line® dataset from the US Census Bureau"
},
{
"address_components": {
"city": "Bend",
"county": "Deschutes County",
"state": "OR",
"zip": "97702",
"country": "US"
},
"formatted_address": "Bend, OR 97702",
"location": {
"lat": 43.998448,
"lng": -121.260298
},
"accuracy": 0.33,
"accuracy_type": "place",
"source": "TIGER/Line® dataset from the US Census Bureau"
},
...