Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.82 KB

CONTRIBUTING.md

File metadata and controls

54 lines (37 loc) · 1.82 KB

Contributing guidelines

Guidelines:

  1. Approximately adhere to Orange's contributing guidelines.

Building GeoJSON files

To re-build JSON files due to upstream region shape changes, wget & unzip the following into orangecontrib/geo/geojson:

Admin0 (countries)

Admin1 (states, regions, municipalities)

Admin2 (US counties)

You also need to install mapshaper, isoquery and ogr2ogr (for Ubuntu it comes with the gdal-bin package)

Then run the following:

git checkout master

cd orangecontrib/geo/geojson
./make-geojson.sh

git add admin*.json
git commit -m "Add binary GeoJSON files"

Building package

When building the source distribution package, the following workflow works for me:

git checkout master
git checkout -b build

python setup.py sdist
# ... upload built tgz

git checkout --force master
git branch -D build