Skip to content

Commit 8b314e4

Browse files
committed
remove code - change stac items version extensions
1 parent 2a30267 commit 8b314e4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

data_loader/data_loader.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,10 @@ def load_items():
3939

4040
for feature in feature_collection["features"]:
4141
try:
42-
feature["stac_extensions"] = []
43-
feature["stac_version"] = "1.0.0"
4442
feature["collection"] = collection
4543
resp = requests.post(
4644
f"{STAC_API_BASE_URL}/collections/{collection}/items", json=feature
4745
)
48-
4946
if resp.status_code == 200:
5047
print(f"Status code: {resp.status_code}")
5148
print(f"Added item: {feature['id']}")

0 commit comments

Comments
 (0)