[fix] properties/polygon key split
This commit is contained in:
@@ -316,10 +316,7 @@ class PolygonIndex(object):
|
|||||||
|
|
||||||
contains = poly.contains(point)
|
contains = poly.contains(point)
|
||||||
if contains:
|
if contains:
|
||||||
if not data:
|
properties = json.loads(self.polygons_db.Get(self.properties_key(i)))
|
||||||
data = json.loads(self.polygons_db.Get(self.properties_key(i)))
|
|
||||||
|
|
||||||
properties = data['properties']
|
|
||||||
if not return_all:
|
if not return_all:
|
||||||
return properties
|
return properties
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user