Skip to content

Commit

Permalink
Zoom IDF on 75, 92, 93, 94 only
Browse files Browse the repository at this point in the history
  • Loading branch information
tgrandje committed Oct 18, 2024
1 parent f30cd9e commit 67e56db
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cartiflette/pipeline/prepare_cog_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,8 +491,11 @@ def find_from_pattern(target):
"CODE_ARM": "INSEE_ARM",
}

# Prepare field used for bringing IDF closer in further pipeline steps
return_dict = {}
ile_de_france = pd.DataFrame([{"REG": "11", "IDF": 1}])
ile_de_france = pd.DataFrame({"DEP": ["75", "92", "93", "94"]})
ile_de_france["IDF"] = 1

for label, df in [
("IRIS", iris),
("COMMUNE", cities),
Expand Down

0 comments on commit 67e56db

Please sign in to comment.