Apply MAE (French Foreign Office) rules to OSM boundaries.
It will generate two geojson:
boundary.json
, with the international boundariesdisputed.json
, with the disputed areas
It also provides a list of country and city names.
- postgresql
- postgis
- python >= 3.6
-
Create a
mae
psql database with postgis enabledcreatedb mae psql mae -c 'CREATE EXTENSION postgis'
-
Create python virtualenv, activate it and install python dependencies
python -m venv mae source mae/bin/activate pip install -r requirements.txt
-
run the script:
python make.py all
areas
: define areas to be included/excluded from country boundaries, based on OSM keys on based on other areas name (usingincludes
)disputed
: list areas that are considered "disputed" by MAEcountries
: for each country (based on ISO code), list areas to include/exclude