Changeset - 4e939a809e5c
[Not reviewed]
default
0 1 0
Luca Allulli (luca) - 2 years ago 2019-03-02 17:49:07
luca@skeed.it
* Servizi: improved use of ESRI geocoder
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
servizi/infopoint.py
Show inline comments
...
 
@@ -234,7 +234,7 @@ def geocode_place_esri(request, composit
 
		single = False
 
		s0 = res[0]['score']
 
		s1 = res[1]['score']
 
		if (s0 == 100 and s1 < 100) or s0 - s1 > ESRI_GEOCODER_MIN_DELTA:
 
		if s0 == 100 or s0 - s1 > ESRI_GEOCODER_MIN_DELTA:
 
			single = True
 
	if single:
 
		r = res[0]
0 comments (0 inline, 0 general)