diff --git a/scripts/geodata/neighborhoods/reverse_geocode.py b/scripts/geodata/neighborhoods/reverse_geocode.py index 5582e2fe..4c699813 100644 --- a/scripts/geodata/neighborhoods/reverse_geocode.py +++ b/scripts/geodata/neighborhoods/reverse_geocode.py @@ -420,6 +420,8 @@ class NeighborhoodReverseGeocoder(RTreePolygonIndex): if boundaries is existing_neighborhood_boundaries: containing_component = AddressFormatter.SUBURB + skip_node = True + break else: containing_ids = [(boundary['type'], boundary['id']) for boundary in existing_osm_boundaries[poly_index + 1:]]