[fix] poly.context
This commit is contained in:
@@ -313,8 +313,9 @@ class NeighborhoodReverseGeocoder(RTreePolygonIndex):
|
|||||||
props['source'] = 'osm'
|
props['source'] = 'osm'
|
||||||
props['component'] = AddressFormatter.SUBURB
|
props['component'] = AddressFormatter.SUBURB
|
||||||
props['polygon_type'] = 'neighborhood'
|
props['polygon_type'] = 'neighborhood'
|
||||||
index.index_polygon(poly)
|
|
||||||
index.add_polygon(poly, props)
|
index.index_polygon(poly.context)
|
||||||
|
index.add_polygon(poly.context, props)
|
||||||
|
|
||||||
qs.matched = [False] * qs.i
|
qs.matched = [False] * qs.i
|
||||||
cth.matched = [False] * cth.i
|
cth.matched = [False] * cth.i
|
||||||
|
|||||||
Reference in New Issue
Block a user