Skip to content

The street name is interpreted as the PAO if no house number is specified #18

@giacecco

Description

@giacecco

@pezholio @MurrayData see the example below, that's quite a nasty bug!

.../~$ curl --data "address=romney rd,greenwich,london,se10 9nf" https://sorting-office.openaddressesuk.org/address
{"saon":null,"paon":"romney rd","street":null,"locality":{"name":"Greenwich","url":"http://alpha.openaddressesuk.org/localities/aLeYqQ"},"town":{"name":"London","url":"http://alpha.openaddressesuk.org/towns/8cCmEn"},"postcode":{"name":"SE10 9NF","url":"http://alpha.openaddressesuk.org/postcodes/UbmIQs"},"provenance":{"activity":{"executed_at":"2015-02-24T18:44:43+00:00","processing_scripts":"https://github.com/OpenAddressesUK/sorting_office","derived_from":[{"type":"userInput","input":"romney rd,greenwich,london,se10 9nf","inputted_at":"2015-02-24T18:44:43+00:00","processing_script":"https://github.com/OpenAddressesUK/sorting_office/tree/99a1300937c61af3c447b41037f813060d41b216/lib/sorting_office/address.rb"},{"type":"Source"
.../~$ 

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions