How to write a good query? ( /search/2/geocode)

Hi.
I have problem quering for geocode.

For example my query

/search/2/geocode/VIA%20SAN%20CASSIANO%20N.%2039%20PIUBEGA%2046040.JSON?key=…&language=it-IT&countrySet=IT&limit=1

return a place in south Italy (Puglia region) when instead the address is of the northen city of Piubega.

What I’m doing wrong?

If I search the same query string on mydrive.tomtom.com I got the right answer

actually this street is “Strada San Cassiano” - that is why geocoding shows results from other municipality at first.

1 Like

Via e Stada are used as same word and very exchangeable in italian (like street and road) so error of this kind happen a lot.

So why mydrive.tomtom.com solve it right?
image

Gmap too solve it right.

Is there a way to query geocoding stating specific address part? ex: ?stree=&city= so to prevent this kind of errors?

MyDrive uses Fuzzy Search and those results are POIs.

1 Like