kent1D / mae-boundaries

Script to apply MAE (French Foreign Office) rules to OSM boundaries.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MAE boundaries

Apply MAE (French Foreign Office) rules to OSM boundaries.

It will generate two geojson:

  • boundary.json, with the international boundaries
  • disputed.json, with the disputed areas

System requirements

  • postgresql
  • postgis
  • python >= 3.6

Usage

  • Create a mae psql database with postgis enabled

      createdb mae
      psql mae -c 'CREATE EXTENSION postgis'
    
  • Create python virtualenv, activate it and install python dependencies

      python3 -m venv mae
      source mae/bin/activate
      pip install -r requirements.txt
    
  • run the script:

      python make.py process
    

About

Script to apply MAE (French Foreign Office) rules to OSM boundaries.


Languages

Language:Python 100.0%