Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

Commit

Permalink
Merge branch 'release/0.5.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
lewfish committed Jan 26, 2018
2 parents 103c1b2 + fc61329 commit d930919
Show file tree
Hide file tree
Showing 14 changed files with 1,499 additions and 64 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
0.5.0
------

- Add RV integration for creating project files and running predictions on prjects
- Support analysis preview and raw export
- Add option to allow for raw (non-color-corrected) exports
- Updates to posting projects

0.4.1
-----

Expand Down
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Usage

.. code-block:: python
from rf.api import API
from rasterfoundry.api import API
refresh_token = '<>'
api = API(refresh_token=refresh_token)
Expand Down Expand Up @@ -45,6 +45,7 @@ Then, enable widgets and leaflet in in jupyter notebooks:

.. code:: bash
$ jupyter nbextension install --py --symlink --sys-prefix widgetsnbextension
$ jupyter nbextension enable --py --sys-prefix widgetsnbextension
$ jupyter nbextension install --py --symlink --sys-prefix ipyleaflet
$ jupyter nbextension enable --py --sys-prefix ipyleaflet
Expand Down
63 changes: 63 additions & 0 deletions examples/Analyses.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"from rasterfoundry.api import API\n",
"refresh_token = '<Refresh Token>'\n",
"api = API(refresh_token=refresh_token)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"analyses = api.analyses\n",
"analysis = analyses[0]\n",
"analyses"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"m = analysis.get_map()\n",
"\n",
"projects = api.projects\n",
"project = projects[0]\n",
"project.compare(analysis, m)\n",
"m"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.4"
}
},
"nbformat": 4,
"nbformat_minor": 2
}

0 comments on commit d930919

Please sign in to comment.