Skip to content

Commit a6800c8

Browse files
authored
Release 0.2.0 (#15)
* doc fix * Update issue templates * link to reference doc * add .gitattributes files * add support for using spatially enabled dataframes (arcgis) * add notebook * update notebook * updates * bump version
1 parent ba36ede commit a6800c8

File tree

15 files changed

+526
-8
lines changed

15 files changed

+526
-8
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
src-docs/* linguist-vendored
2+
tests/* linguist-vendored
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: bug
6+
assignees: apulverizer
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
A code sample (attach or link to any necessary data)
15+
16+
**Expected behavior**
17+
A clear and concise description of what you expected to happen.
18+
19+
**Screenshots**
20+
If applicable, add screenshots to help explain your problem.
21+
22+
**Desktop (please complete the following information):**
23+
- OS: [e.g. Windows]
24+
- Version [e.g. 22]
25+
- Python Version [e.g. 3.7]
26+
27+
**Additional context**
28+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ WORKDIR $HOME
2626

2727
# Configure conda env
2828
RUN conda create -n allagash python=3.7 \
29-
&& conda install --name allagash -y geopandas=0.4.1 jupyter=1.0.0 matplotlib=3.1.1 pytest=5.0.1 \
29+
&& conda install -c esri --name allagash -y geopandas=0.4.1 jupyter=1.0.0 matplotlib=3.1.1 pytest=5.0.1 arcgis=1.6.2 shapely=1.6.4 \
3030
&& /opt/conda/envs/allagash/bin/pip install pulp==1.6.10 nbval==0.9.2 \
3131
&& /opt/conda/envs/allagash/bin/pip install allagash --no-deps \
3232
&& conda clean -a -f -y

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Allagash [![build status](https://github.com/apulverizer/allagash/workflows/build/badge.svg)](https://github.com/apulverizer/allagash/actions)
2-
A spatial optimization library for covering problems
2+
A spatial optimization library for covering problems. Full documentation is available [here](https://apulverizer.github.io/allagash)
33

44
### Running Locally
55
1. Clone the repo `git clone git@github.com:apulverizer/allagash.git`

environment.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: allagash
22
channels:
33
- defaults
4+
- esri
45
dependencies:
6+
- arcgis=1.6.2
7+
- shapely=1.6.4
58
- geopandas=0.4.1
69
- jupyter=1.0.0
710
- pip>=19.1.1

src-doc/examples.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ Examples
66
:caption: Examples
77

88
examples/LSCP
9-
examples/MCLP
9+
examples/MCLP
10+
examples/Using ArcGIS

src-doc/examples/Using ArcGIS.ipynb

Lines changed: 224 additions & 0 deletions
Large diffs are not rendered by default.

src-doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Allagash |release|
77
=============================
88

9-
Allagash can be used to generate and solve spatial optimization problems using `GeoPandas <http://geopandas.org>`_ and `PuLP <https://pythonhosted.org/PuLP/>`_.
9+
Allagash can be used to generate and solve spatial optimization problems using `GeoPandas <http://geopandas.org>`_ or the `ArcGIS API for Python <https://developers.arcgis.com/python/>`_ (if installed) in conjunction with `PuLP <https://pythonhosted.org/PuLP/>`_.
1010

1111
The focus is on coverage problems though other optimization models may be added over time. Coverage modeling is generally used to find the best spatial configuration of a set of facilities that provide some level of service to units of demand. It is often necessary to “cover” demand within a prescribed time or distance.
1212

src-doc/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ You can launch a Jupyter notebook by running:
1818

1919
.. code-block:: console
2020
21-
docker pull allagash/apulverizer:latest
21+
docker pull apulverizer/allagash:latest
2222
docker run -i -t --user=allagash -p 8888:8888 apulverizer/allagash:latest /bin/bash -c "jupyter notebook --ip='*' --port=8888 --no-browser"
2323
2424
Installing locally

0 commit comments

Comments
 (0)