Closed derekeder closed 11 years ago
often incorrect geocoding, only use results we are confident about
resolved by checking the 'formatted_address' from Google geocode result and throwing out anything that doesn't contain ADDRESS_SUFFIX. In our case, thats ', Chicago, IL'
if gc and gc['status'] == 'OK' and settings.LEGISLATION['ADDRESS_SUFFIX'] in gc['results'][0]['formatted_address']: # return result else: # return nothing
All pieces of legislation seem to have the same geo-point.