This file contains 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
import arcpy | |
import os | |
workspace = r"<Path to workspace>" | |
outFile = r"C:\TEMP\dataPaths.txt" | |
dataPaths = open(outFile, "a") | |
for dirpath, dirnames, filenames in arcpy.da.Walk(workspace, | |
datatype="Any", |
This file contains 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
# Task Scheduler run as powershell -f "<path to script>" | |
# General Script Variables | |
$serverName = "<server name>" | |
$date = Get-Date -UFormat "%m/%d/%Y" | |
$imageName = "$serverName $date" | |
# Retrieve instance ID from EC2 Instance Metadata | |
$instanceID = (New-Object System.Net.WebClient).DownloadString("http://169.254.169.254/latest/meta-data/instance-id") |
This file contains 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
<?xml version="1.0" encoding="utf-8" ?> | |
<CacheInfo xsi:type='typens:CacheInfo' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xs='http://www.w3.org/2001/XMLSchema' xmlns:typens='http://www.esri.com/schemas/ArcGIS/10.1'> | |
<TileCacheInfo xsi:type='typens:TileCacheInfo'> | |
<SpatialReference xsi:type='typens:ProjectedCoordinateSystem'> | |
<WKT>PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator_Auxiliary_Sphere"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",0.0],PARAMETER["Standard_Parallel_1",0.0],PARAMETER["Auxiliary_Sphere_Type",0.0],UNIT["Meter",1.0],AUTHORITY["EPSG",3857]]</WKT> | |
<XOrigin>-20037700</XOrigin> | |
<YOrigin>-30241100</YOrigin> | |
<XYScal |
This file contains 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
import arcpy | |
arcpy.env.workspace = r'<path_to_gdb>' | |
dsList = arcpy.ListDatasets() | |
for ds in dsList: | |
fcList = sorted(arcpy.ListFeatureClasses(None, None, ds)) | |
print ('Feature Dataset: {0}\n').format(ds) |
This file contains 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
<!-- Links to external CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"></link> |
This file contains 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
<td style="width:2.7in; height:80px" valign="top" width="324"> | |
<p align="center"> | |
<a href="http://geo-precision.net" target="blank"> | |
<i class="fa fa-skyatlas fa-5x"></i> | |
</a> | |
</p> | |
<p align="center"> | |
<span class="linkText">Visit our website</span> | |
</p> | |
</td> |
This file contains 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
<style> | |
i { | |
color:#026893; | |
text-shadow: #d3d3d3 3px 5px 3px; | |
} | |
i:hover { | |
color: #77C144; | |
} | |
This file contains 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
<!-- Text and icon style --> | |
<style> | |
i { | |
color:#026893; | |
text-shadow: #d3d3d3 3px 5px 3px; | |
} | |
i:hover { | |
color: #77C144; | |
} |
This file contains 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
import arcpy | |
fc = r'C:\folder\database.gdb\featureClass' | |
# fMax = number of fields that you need to create | |
# fNum = starting points | |
fMax = 300 | |
fNum = 1 | |
while fNum <= fMax: |
This file contains 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
-- ---------------------------------------------------------------------------- | |
-- 1. SQL 101 | |
-- ---------------------------------------------------------------------------- | |
-- 1A. SELECT RECORDS | |
-- ---------------------------------------------------------------------------- | |
SELECT | |
* | |
FROM | |
PARCEL_TEST.DBO.PARCEL_EQ p |