g0vhk-io / hk-address-parser-lib

The universal javascript library for HKAddressParser
MIT License
8 stars 4 forks source link

Retrieve district from land records #17

Open Jojo109 opened 4 years ago

Jojo109 commented 4 years ago

Hello all,

I have a project which needs to return district for inputting address so I have tried to use this node module to complete the project.

However, returned records from node module sometimes miss district for inputting address. And I found that the reason missing district is returned record is land records from https://geodata.gov.hk/gs/api/[version]/locationSearch?q=[value].

So my question is there any method to return district each time when using node module. Thanks

cswbrian commented 4 years ago

Hi @Jojo109, can you give us a few examples for the address? We can have a look into that.

Jojo109 commented 4 years ago

@cswbrian Thanks for prompt reply. I think it is quite difficult for me to give few examples as there are mass of data. After quick scanning, here is one example below and node module returning land record without district. Thanks 大嶼山香港國際機場一號客運大樓第五層抵港大堂 5T058 舖