When I search for a specific housenumber that isn`t matched yet, nominatim will only return a location somewhere on this street. Is there something like a 'matching level' to help me indicate those results? asked 02 Nov '15, 10:12 mmyers |
One Answer:
Yes, if you request a answered 02 Nov '15, 10:53 Frederik Ramm ♦ |
Thanks, but this rank is not related to my search query. I am looking for a criteria to determine the results quality according to the address I entered.
I am processing many requests automatically and want only to use exact matches.
If your query contains a house number and you get a
place_rank
of 30 then it is an exact match, and if you get a different place rank then it is not. -- If your query is less precise, i.e. you are only asking for a road in the first place, then you have to analyse your queries before (i.e. you have to know what place_rank your query is asking for) and then compare the rank you got with what you expected.Yes, that is the problem.
I am getting queries as non-structured requests (at least street + housenumber) and have problems to decide if a street or a house is meant. For example: There are streetnames including numbers, like 'portstreet 4', where the number is not a housenumber.
I was thinking nominatim could identify that the result is not matching the whole query and presenting this in some kind of quality.
Guess I have to solve this by forcing structured requests.