See the JSDoc comment at the top of index.ts for details
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Scale levels from https://developers.arcgis.com/documentation/demos/zoom-calculator/zoomCalculator.html | |
| from collections import OrderedDict | |
| from typing import Literal, TypedDict, NamedTuple | |
| class ScaleItemDict(TypedDict): | |
| scale: float | |
| suggestion: str |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * @typedef SpatialReference | |
| * @property {number} wkid | |
| * @property {?number} latestWkid | |
| */ | |
| /** | |
| * @typedef Field | |
| * @property {string} name | |
| * @property {string} type |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Try the following command sequence: | |
| git lfs uninstall | |
| git reset --hard | |
| git lfs install | |
| git lfs pull | |
| # In case if this is not working (because this was not working for me), the following hack may work: | |
| git rm --cached -r . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Tests if a command exists. | |
| function commandExists($commandName) { | |
| return $null -ne (Get-Command $commandName -ErrorAction SilentlyContinue) | |
| } | |
| # Tests to see if a module is installed on the computer. | |
| function moduleExists($moduleName) { | |
| return $null -ne (Get-Module $moduleName -ListAvailable) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Black": "#000000", | |
| "White": "#FFFFFF", | |
| "Red": "#880000", | |
| "Cyan": "#AAFFEE", | |
| "Violet / purple": "#CC44CC", | |
| "Green": "#00CC55", | |
| "Blue": "#0000AA", | |
| "Yellow": "#EEEE77", | |
| "Orange": "#DD8855", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pip list --outdated --format json | ConvertFrom-Json | foreach { $_.name } | Out-File outdated.txt | |
| pip install -r .\outdated.txt --update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <link rel="stylesheet" href="min.css"> | |
| <meta charset="utf-8" /> | |
| <meta | |
| name="viewport" | |
| content="initial-scale=1,maximum-scale=1,user-scalable=no" | |
| /> | |
| <!-- | |
| ArcGIS API for JavaScript, https://js.arcgis.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using ESRI.ArcGIS.Carto; | |
| using ESRI.ArcGIS.esriSystem; | |
| using ESRI.ArcGIS.Geodatabase; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Text.RegularExpressions; | |
| namespace Wsdot.ArcGis.Extensions | |
| { | |
| public static class Extensions |
NewerOlder