优化
This commit is contained in:
@@ -28,6 +28,7 @@ def sync(province):
|
||||
count = 0
|
||||
errors = list()
|
||||
for index, item in shape_df[shape_df['shape'].notna()].iterrows():
|
||||
print(index)
|
||||
ret = DIDATA_DEV_ELASTIC_CLIENT.fetch_all_geo_points('didata_enterprise', item['shape']['coordinates'][0], field='gaode_location')
|
||||
for info in ret:
|
||||
source = info['_source']
|
||||
|
||||
Reference in New Issue
Block a user