Skip to content

Instantly share code, notes, and snippets.

@nickpeihl
Last active April 5, 2017 16:24
Show Gist options
  • Select an option

  • Save nickpeihl/c4bc06c6216c37ec6dac to your computer and use it in GitHub Desktop.

Select an option

Save nickpeihl/c4bc06c6216c37ec6dac to your computer and use it in GitHub Desktop.

Revisions

  1. nickpeihl revised this gist Apr 5, 2017. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -2,8 +2,8 @@

    2) Open the browser developer console - <kbd>ctrl</kbd> + <kbd>shift</kbd> + <kbd>k</kbd> on Firefox or <kbd>ctrl</kbd> + <kbd>shift</kbd> + <kbd>i</kbd> on Chrome.

    3) Type the following into the browser console: `window.api.map.addLayer(L.tileLayer('http://tileify-ags.herokuapp.com/tiles/{z}/{x}/{y}?url=http%3A%2F%2Fgis.apfo.usda.gov%2Farcgis%2Frest%2Fservices%2FNAIP%2FGeorgia_2015_1m%2FImageServer&renderingRule=%7B%20%20%20%22rasterFunction%22%20%3A%20%22NDVI%22%2C%20%20%20%22rasterFunctionArguments%22%20%3A%20%7B%20%20%20%20%20%22VisibleBandID%22%20%3A%202%2C%20%20%20%20%20%22InfraredBandID%22%20%3A%203%20%20%20%7D%2C%20%20%20%22variableName%22%20%3A%20%22Raster%22%20%7D'));`
    3) Type the following into the browser console: `window.api.map.addLayer(L.tileLayer('http://tileify-ags.herokuapp.com/tiles/{z}/{x}/{y}?url=https%3A%2F%2Fgis.apfo.usda.gov%2Farcgis%2Frest%2Fservices%2FNAIP%2FGeorgia_2015_1m%2FImageServer&renderingRule=%7B%20%20%20%22rasterFunction%22%20%3A%20%22NDVI%22%2C%20%20%20%22rasterFunctionArguments%22%20%3A%20%7B%20%20%20%20%20%22VisibleBandID%22%20%3A%202%2C%20%20%20%20%20%22InfraredBandID%22%20%3A%203%20%20%20%7D%2C%20%20%20%22variableName%22%20%3A%20%22Raster%22%20%7D'));`

    4) Try replacing the ArcGIS Image Service URL with a different URL from [here](http://gis.apfo.usda.gov/arcgis/rest/services/NAIP). Be sure to encode the URL correctly. For help encoding go [here](http://tileify-ags.herokuapp.com)
    4) Try replacing the ArcGIS Image Service URL with a different URL from [here](https://gis.apfo.usda.gov/arcgis/rest/services/NAIP). Be sure to encode the URL correctly. For help encoding go [here](http://tileify-ags.herokuapp.com)

    [More info on ArcGIS Image Service Raster Functions](http://resources.arcgis.com/en/help/rest/apiref/israsterfunctions.html)
  2. nickpeihl revised this gist Aug 3, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@

    2) Open the browser developer console - <kbd>ctrl</kbd> + <kbd>shift</kbd> + <kbd>k</kbd> on Firefox or <kbd>ctrl</kbd> + <kbd>shift</kbd> + <kbd>i</kbd> on Chrome.

    3) Type the following into the browser console: `window.api.map.addLayer(L.tileLayer('http://tileify-ags.herokuapp.com/tiles/{z}/{x}/{y}?url=http%3A%2F%2Fgis.apfo.usda.gov%2Farcgis%2Frest%2Fservices%2FNAIP%2FGeorgia_2015_1m%2FImageServer&renderingRule=%7B%20%20%20%22rasterFunction%22%20%3A%20%22NDVI%22%2C%20%20%20%22rasterFunctionArguments%22%20%3A%20%7B%20%20%20%20%20%22VisibleBandID%22%20%3A%200%2C%20%20%20%20%20%22InfraredBandID%22%20%3A%203%20%20%20%7D%2C%20%20%20%22variableName%22%20%3A%20%22Raster%22%20%7D'));`
    3) Type the following into the browser console: `window.api.map.addLayer(L.tileLayer('http://tileify-ags.herokuapp.com/tiles/{z}/{x}/{y}?url=http%3A%2F%2Fgis.apfo.usda.gov%2Farcgis%2Frest%2Fservices%2FNAIP%2FGeorgia_2015_1m%2FImageServer&renderingRule=%7B%20%20%20%22rasterFunction%22%20%3A%20%22NDVI%22%2C%20%20%20%22rasterFunctionArguments%22%20%3A%20%7B%20%20%20%20%20%22VisibleBandID%22%20%3A%202%2C%20%20%20%20%20%22InfraredBandID%22%20%3A%203%20%20%20%7D%2C%20%20%20%22variableName%22%20%3A%20%22Raster%22%20%7D'));`

    4) Try replacing the ArcGIS Image Service URL with a different URL from [here](http://gis.apfo.usda.gov/arcgis/rest/services/NAIP). Be sure to encode the URL correctly. For help encoding go [here](http://tileify-ags.herokuapp.com)

  3. nickpeihl revised this gist Feb 19, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    1) Go here: http://geojson.io/#map=18/34.12668/-84.11506

    2) Open the browser developer console
    2) Open the browser developer console - <kbd>ctrl</kbd> + <kbd>shift</kbd> + <kbd>k</kbd> on Firefox or <kbd>ctrl</kbd> + <kbd>shift</kbd> + <kbd>i</kbd> on Chrome.

    3) Type the following into the browser console: `window.api.map.addLayer(L.tileLayer('http://tileify-ags.herokuapp.com/tiles/{z}/{x}/{y}?url=http%3A%2F%2Fgis.apfo.usda.gov%2Farcgis%2Frest%2Fservices%2FNAIP%2FGeorgia_2015_1m%2FImageServer&renderingRule=%7B%20%20%20%22rasterFunction%22%20%3A%20%22NDVI%22%2C%20%20%20%22rasterFunctionArguments%22%20%3A%20%7B%20%20%20%20%20%22VisibleBandID%22%20%3A%200%2C%20%20%20%20%20%22InfraredBandID%22%20%3A%203%20%20%20%7D%2C%20%20%20%22variableName%22%20%3A%20%22Raster%22%20%7D'));`

  4. nickpeihl revised this gist Feb 19, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@

    2) Open the browser developer console

    3) Type the following into the browser console: `window.api.map.addLayer(L.tileLayer('http://tileify-ags.herokuapp.com/tiles/{z}/{x}/{y}?url=http%3A%2F%2Fgis.apfo.usda.gov%2Farcgis%2Frest%2Fservices%2FNAIP%2FGeorgia_2013_1m%2FImageServer&renderingRule=%7B%20%20%20%22rasterFunction%22%20%3A%20%22NDVI%22%2C%20%20%20%22rasterFunctionArguments%22%20%3A%20%7B%20%20%20%20%20%22VisibleBandID%22%20%3A%200%2C%20%20%20%20%20%22InfraredBandID%22%20%3A%203%20%20%20%7D%2C%20%20%20%22variableName%22%20%3A%20%22Raster%22%20%7D'));`
    3) Type the following into the browser console: `window.api.map.addLayer(L.tileLayer('http://tileify-ags.herokuapp.com/tiles/{z}/{x}/{y}?url=http%3A%2F%2Fgis.apfo.usda.gov%2Farcgis%2Frest%2Fservices%2FNAIP%2FGeorgia_2015_1m%2FImageServer&renderingRule=%7B%20%20%20%22rasterFunction%22%20%3A%20%22NDVI%22%2C%20%20%20%22rasterFunctionArguments%22%20%3A%20%7B%20%20%20%20%20%22VisibleBandID%22%20%3A%200%2C%20%20%20%20%20%22InfraredBandID%22%20%3A%203%20%20%20%7D%2C%20%20%20%22variableName%22%20%3A%20%22Raster%22%20%7D'));`

    4) Try replacing the ArcGIS Image Service URL with a different URL from [here](http://gis.apfo.usda.gov/arcgis/rest/services/NAIP). Be sure to encode the URL correctly. For help encoding go [here](http://tileify-ags.herokuapp.com)

  5. nickpeihl revised this gist Nov 13, 2015. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -5,3 +5,5 @@
    3) Type the following into the browser console: `window.api.map.addLayer(L.tileLayer('http://tileify-ags.herokuapp.com/tiles/{z}/{x}/{y}?url=http%3A%2F%2Fgis.apfo.usda.gov%2Farcgis%2Frest%2Fservices%2FNAIP%2FGeorgia_2013_1m%2FImageServer&renderingRule=%7B%20%20%20%22rasterFunction%22%20%3A%20%22NDVI%22%2C%20%20%20%22rasterFunctionArguments%22%20%3A%20%7B%20%20%20%20%20%22VisibleBandID%22%20%3A%200%2C%20%20%20%20%20%22InfraredBandID%22%20%3A%203%20%20%20%7D%2C%20%20%20%22variableName%22%20%3A%20%22Raster%22%20%7D'));`

    4) Try replacing the ArcGIS Image Service URL with a different URL from [here](http://gis.apfo.usda.gov/arcgis/rest/services/NAIP). Be sure to encode the URL correctly. For help encoding go [here](http://tileify-ags.herokuapp.com)

    [More info on ArcGIS Image Service Raster Functions](http://resources.arcgis.com/en/help/rest/apiref/israsterfunctions.html)
  6. nickpeihl revised this gist Nov 13, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -4,4 +4,4 @@

    3) Type the following into the browser console: `window.api.map.addLayer(L.tileLayer('http://tileify-ags.herokuapp.com/tiles/{z}/{x}/{y}?url=http%3A%2F%2Fgis.apfo.usda.gov%2Farcgis%2Frest%2Fservices%2FNAIP%2FGeorgia_2013_1m%2FImageServer&renderingRule=%7B%20%20%20%22rasterFunction%22%20%3A%20%22NDVI%22%2C%20%20%20%22rasterFunctionArguments%22%20%3A%20%7B%20%20%20%20%20%22VisibleBandID%22%20%3A%200%2C%20%20%20%20%20%22InfraredBandID%22%20%3A%203%20%20%20%7D%2C%20%20%20%22variableName%22%20%3A%20%22Raster%22%20%7D'));`

    4) Try replacing the ArcGIS Image Service URL with a different URL (from [here](http://gis.apfo.usda.gov/arcgis/rest/services/NAIP)). Be sure to encode the URL correctly. For help encoding go [here](http://tileify-ags.herokuapp.com)
    4) Try replacing the ArcGIS Image Service URL with a different URL from [here](http://gis.apfo.usda.gov/arcgis/rest/services/NAIP). Be sure to encode the URL correctly. For help encoding go [here](http://tileify-ags.herokuapp.com)
  7. nickpeihl revised this gist Nov 13, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -4,4 +4,4 @@

    3) Type the following into the browser console: `window.api.map.addLayer(L.tileLayer('http://tileify-ags.herokuapp.com/tiles/{z}/{x}/{y}?url=http%3A%2F%2Fgis.apfo.usda.gov%2Farcgis%2Frest%2Fservices%2FNAIP%2FGeorgia_2013_1m%2FImageServer&renderingRule=%7B%20%20%20%22rasterFunction%22%20%3A%20%22NDVI%22%2C%20%20%20%22rasterFunctionArguments%22%20%3A%20%7B%20%20%20%20%20%22VisibleBandID%22%20%3A%200%2C%20%20%20%20%20%22InfraredBandID%22%20%3A%203%20%20%20%7D%2C%20%20%20%22variableName%22%20%3A%20%22Raster%22%20%7D'));`

    4) Try replacing the ArcGIS Image Service URL with a different URL (from [here](http://gis.apfo.usda.gov/arcgis/rest/services/NAIP). Be sure to encode the URL correctly. For help encoding go [here](http://tileify-ags.herokuapp.com)
    4) Try replacing the ArcGIS Image Service URL with a different URL (from [here](http://gis.apfo.usda.gov/arcgis/rest/services/NAIP)). Be sure to encode the URL correctly. For help encoding go [here](http://tileify-ags.herokuapp.com)
  8. nickpeihl created this gist Nov 13, 2015.
    7 changes: 7 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    1) Go here: http://geojson.io/#map=18/34.12668/-84.11506

    2) Open the browser developer console

    3) Type the following into the browser console: `window.api.map.addLayer(L.tileLayer('http://tileify-ags.herokuapp.com/tiles/{z}/{x}/{y}?url=http%3A%2F%2Fgis.apfo.usda.gov%2Farcgis%2Frest%2Fservices%2FNAIP%2FGeorgia_2013_1m%2FImageServer&renderingRule=%7B%20%20%20%22rasterFunction%22%20%3A%20%22NDVI%22%2C%20%20%20%22rasterFunctionArguments%22%20%3A%20%7B%20%20%20%20%20%22VisibleBandID%22%20%3A%200%2C%20%20%20%20%20%22InfraredBandID%22%20%3A%203%20%20%20%7D%2C%20%20%20%22variableName%22%20%3A%20%22Raster%22%20%7D'));`

    4) Try replacing the ArcGIS Image Service URL with a different URL (from [here](http://gis.apfo.usda.gov/arcgis/rest/services/NAIP). Be sure to encode the URL correctly. For help encoding go [here](http://tileify-ags.herokuapp.com)