[fix] only care about levels in Quattroshapes index, not Zetashapes

This commit is contained in:
Al
2015-11-26 23:45:50 -05:00
parent 0eb0042826
commit b0667d0032

View File

@@ -328,8 +328,7 @@ class NeighborhoodReverseGeocoder(RTreePolygonIndex):
name = pattern.sub(repl, name)
normalized_qs_names[i] = name
level = props.get(QuattroshapesReverseGeocoder.LEVEL)
if is_neighborhood and level != 'neighborhood':
if is_neighborhood and idx is qs and props.get(QuattroshapesReverseGeocoder.LEVEL) != 'neighborhood':
continue
if not contains_ideographs: