Quote WD ID in Overpass query
This commit is contained in:
parent
cf2a80b390
commit
22a620d934
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ def overpass_query(wd_ids):
|
||||||
|
|
||||||
|
|
||||||
def overpass_selector(wd_id):
|
def overpass_selector(wd_id):
|
||||||
return ' nwr["wikidata"=' + wd_id + ']({{bbox}});\n nwr[~":wikidata$"~' + wd_id + ']({{bbox}});'
|
return ' nwr["wikidata"="' + wd_id + '"]({{bbox}});\n nwr[~":wikidata$"~"' + wd_id + '"]({{bbox}});'
|
||||||
|
|
||||||
|
|
||||||
def overpass_selectors(wd_ids):
|
def overpass_selectors(wd_ids):
|
||||||
|
|
Loading…
Reference in a new issue