forked from edward/owl-map
Don't skip items that without a label in English
This commit is contained in:
parent
523e5f2179
commit
053a2174e9
|
@ -145,8 +145,6 @@ def get_items_in_bbox(bbox):
|
||||||
def get_markers(all_items):
|
def get_markers(all_items):
|
||||||
items = []
|
items = []
|
||||||
for item in all_items:
|
for item in all_items:
|
||||||
if "en" not in item.labels:
|
|
||||||
continue
|
|
||||||
locations = [list(i.get_lat_lon()) for i in item.locations]
|
locations = [list(i.get_lat_lon()) for i in item.locations]
|
||||||
image_filenames = item.get_claim("P18")
|
image_filenames = item.get_claim("P18")
|
||||||
item = {
|
item = {
|
||||||
|
|
Loading…
Reference in a new issue