Skip to content

Commit

Permalink
Updated samples in Overview and Power Users Developers folders. (#34)
Browse files Browse the repository at this point in the history
* Fix wrong location in comment

* Merge dev branch into master for 0.2 Beta and Holistic Testing (#24)

* Updated publishing samples to reflect changes made to source code

* Updated Publihing SDs, shp, csv samples to reflect latest API changes

* Publisher sample updates - added samples for web maps and web scene (#3)

* Updated notebook title to match filename

* Added a new sample to showcase publishing web maps and web scenes

* Fixed credentials

* Updated sample titled "Using and updating GIS content" (#4)

* Updated notebook title to match filename

* Added a new sample to showcase publishing web maps and web scenes

* Fixed credentials

* Updated the sample with additional examples

* Fixed credentials

* Added an example for line featuers. Added some text explaining what smart mapping is

* Additional widgets to minimize scrolling. Fixed geocoder usage following API update

* Updated geocoder usage to match API updates

* Updated the sample to match gp service update. Added a bit more text explaining the usage of gp tools (#12)

* Minor - updated sample to search for desired item to add instead of a fixed index (#13)

* GIS analysts - sample illustrating spatial analysis using ArcGIS Python API (#14)

* Initial commit

* Furnished the sample with spatial analysis examples

* Fixes for API changes. Added summary text and elaborated a few steps (#15)

* new sample to showcase big data anlaysis using NYC taxi example (#16)

* Updated hurricane tracks sample to match API changes (#17)

* Updated hurricane tracks sample to match API changes and added descriptive text

* updated credentials

* Updated sample to match API changes, added explanatory text (#19)

* clean up sample (#18)

* clean up sample (#20)

* Remove usage statistics notebook as the API isnt available

This requires work on the portal backend as well as it does not yet
support ASM.

* bug fixes and added descriptive text (#22)

* synced raster product sample in 05 Content Publishers folder to match that in 04 GIS Analysts and Data Scientists (#21)

Thanks, @AtmaMani

* Updated Overview page - updated sample TOC (#23)

* doc updates

* apidoc update for 0.2 beta release

* updated install instructions

* Updated samples download link to point to v0.2-beta release (#25)

* fixed wrong import

* fixed execution count

* Overview page for samples - added download instructions

* Smart Mapping - bug fixes

* Update 'map widget and its basemaps' sample - sample download link

* Updates for 'using geometry service' - added download link

* Expanded the overview page download instructions

* Updates for 'Using GP tools' and 'Using the GIS' samples
  • Loading branch information
AtmaMani authored and rohitgeo committed Oct 24, 2016
1 parent a87f03a commit 34d6ea2
Show file tree
Hide file tree
Showing 7 changed files with 266 additions and 235 deletions.
13 changes: 12 additions & 1 deletion guide/gis module/class gis.GIS.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,18 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.2"
"version": "3.4.4"
},
"widgets": {
"state": {
"07e9f1fdb725402795ab6e7a03c84c6a": {
"views": []
},
"0adef0d3fd2540c4a63f9cfa1f8c4c57": {
"views": []
}
},
"version": "1.1.2"
}
},
"nbformat": 4,
Expand Down
16 changes: 11 additions & 5 deletions samples/01 Get Started/Overview.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,17 @@
"source": [
"# Samples\n",
"\n",
"These samples demonstrate various features of the ArcGIS Python API. The samples are categorized by the user profile they are most relevant to. Each sample is in the form of a [Jupyter Notebook](http://jupyter-notebook.readthedocs.io/en/latest/notebook.html), that can be viewed online, or downloaded and run interactively. See the [Getting Started](https://developers.arcgis.com/python/guide/Install-and-set-up/) section in the Guide to learn how to download and run the sample notebooks on your computer.\n",
"These samples demonstrate various features of the ArcGIS Python API. The samples are categorized by the user profile they are most relevant to. Each sample is in the form of a [Jupyter Notebook](http://jupyter-notebook.readthedocs.io/en/latest/notebook.html), that can be viewed online, or downloaded and run interactively. \n",
"\n",
"The sample notebooks contain Python code along with narrative text and rich media (images, videos, widgets, etc). The result of code execution is captured and presented along with the code, using rich media representations. This makes the notebook format a great way to record the steps of your analysis, and present and share the results of your analysis with others.\n",
"## Download and run the sample notebooks\n",
"To run the sample notebooks locally, you need the ArcGIS Python API installed on your computer. See the [Getting Started](https://developers.arcgis.com/python/guide/Install-and-set-up/) section in the Guide to learn how to download and run the API.\n",
"\n",
"Once the API is installed, you can download the samples either as an [archive](https://github.com/Esri/arcgis-python-api/archive/v0.3-beta.zip) or clone the [arcgis-python-api](https://github.com/Esri/arcgis-python-api) GitHub repository. \n",
"\n",
"Next, extract the archive if you downloaded as an archive then open your terminal application and enter the directory with the samples. Then start Jupyter notebook application. Refer to [Using the Jupyter Notebook environment](https://developers.arcgis.com/python/guide/Using-the-Jupyter-Notebook-environment) tutorial in the Guide for instructions on how to do this and to get yourself familiar with the notebook environment.\n",
"\n",
"## List of sample notebooks\n",
"The sample notebooks contain Python code along with narrative text and rich media (images, videos, widgets, etc). The output from code execution is captured and presented along with the code, using rich media representations. This makes the notebook format a great way to record the steps of your analysis, and present and share the results of your analysis with others.\n",
"\n",
"The samples illustrate some of the following functionality (and much more):\n",
"\n",
Expand Down Expand Up @@ -36,9 +44,7 @@
"* Creating Raster Information Product using Raster GeoAnalytics\n",
"* Publishing SDs, Shapefiles and CSVs\n",
"* Publishing web maps and web scenes\n",
"* Using and updating GIS content\n",
"\n",
"You can also [download all samples](https://github.com/Esri/arcgis-python-api/archive/v0.2-beta.zip) from the [arcgis-python-api](https://github.com/Esri/arcgis-python-api) GitHub repository, and run them interactively on your computer."
"* Using and updating GIS content"
]
}
],
Expand Down
32 changes: 15 additions & 17 deletions samples/02 Power Users & Developers/Smart Mapping.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Refer here for instructions to [download and run this sample locally](https://developers.arcgis.com/python/sample-notebooks/#Download-and-run-the-sample-notebooks) on your computer"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -98,12 +105,12 @@
"cell_type": "code",
"execution_count": 5,
"metadata": {
"collapsed": true
"collapsed": false
},
"outputs": [],
"source": [
"import arcgis.lyr\n",
"freeway_feature_service = arcgis.lyr.FeatureService(freeway_item.url)"
"freeway_feature_service = arcgis.lyr.FeatureService(freeway_item.url, gis)"
]
},
{
Expand Down Expand Up @@ -293,15 +300,6 @@
" \"renderer\":\"HeatmapRenderer\",\n",
" \"opacity\":0.75})"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
}
],
"metadata": {
Expand All @@ -325,24 +323,24 @@
},
"widgets": {
"state": {
"35942984559e4cb1bf11d7d73960b5d1": {
"1b3ba9dcf82343a893741a62dbe00f66": {
"views": [
{
"cell_index": 3
"cell_index": 23
}
]
},
"580de5cf9dfd4d5fa2d11492a0fcd172": {
"4238eab0649c4d148b9a396ee5714904": {
"views": [
{
"cell_index": 22
"cell_index": 4
}
]
},
"c63ba306c7b3467eae3f72f9130ba005": {
"f74ba469354e4f8fb54bf944d64179c9": {
"views": [
{
"cell_index": 17
"cell_index": 18
}
]
}
Expand Down

0 comments on commit 34d6ea2

Please sign in to comment.