[fix] only care about levels in Quattroshapes index, not Zetashapes
This commit is contained in:
@@ -328,8 +328,7 @@ class NeighborhoodReverseGeocoder(RTreePolygonIndex):
|
|||||||
name = pattern.sub(repl, name)
|
name = pattern.sub(repl, name)
|
||||||
normalized_qs_names[i] = name
|
normalized_qs_names[i] = name
|
||||||
|
|
||||||
level = props.get(QuattroshapesReverseGeocoder.LEVEL)
|
if is_neighborhood and idx is qs and props.get(QuattroshapesReverseGeocoder.LEVEL) != 'neighborhood':
|
||||||
if is_neighborhood and level != 'neighborhood':
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if not contains_ideographs:
|
if not contains_ideographs:
|
||||||
|
|||||||
Reference in New Issue
Block a user