Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 824 Bytes

File metadata and controls

18 lines (13 loc) · 824 Bytes

Fork of Mapping river basins with R

forked from: https://github.com/milos-agathon/mapping-river-basins-with-r/blob/main/brazil-basins.png?raw=true

This forked repo converts the funcitonality of Milo's R script, and uses Python instead. It also adds the capability to be able to map any Country dynamically.

py/Main.py

Just update the inputs in py/main.py to any country, continent, resolution wanted.

Country codes are based on the world_country_borders privded by Gisco as key: "CNTR_ID". Source: https://gisco-services.ec.europa.eu/distribution/v2/countries/geojson/CNTR_RG_60M_2020_4326.geojson

Example Inputs:

res = "60M" country = "US" continent = "na"

Output

us-river-basins