[fix] class var
This commit is contained in:
@@ -146,7 +146,7 @@ class ReverseGeocoder(RTreePolygonIndex):
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
have_all_props = True
|
have_all_props = True
|
||||||
if not have_all_props or not properties.get(NAME):
|
if not have_all_props or not properties.get(cls.NAME):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
poly_type = rec['geometry']['type']
|
poly_type = rec['geometry']['type']
|
||||||
|
|||||||
Reference in New Issue
Block a user