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
require([ | |
"widgets/propWidget", | |
"dojo/parser", | |
"esri/config", | |
"dojo/_base/array", | |
"dojo/domReady!" | |
], function (propWidget, parser, esriConfig, array) { | |
appGlobals = {}; | |
console.log(propWidget) | |
try { |
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
define([ | |
"dojo/_base/declare", | |
"dijit/_WidgetBase", | |
"dijit/layout/BorderContainer", | |
"widgets/mapLayers", | |
"widgets/ecgi", | |
"widgets/searchBar", | |
"dojo/string", | |
"esri/map", | |
"esri/dijit/FeatureTable", |
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
var root = location.href.slice(0, location.href.lastIndexOf('/')); | |
console.log(root) | |
dojoConfig = { | |
isDebug: true, | |
parseOnLoad: true, | |
async: true, | |
baseURL: root, | |
foo: 'bar', |
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
<!DOCTYPE html> | |
<style> | |
html, body { | |
height: 100%; | |
margin: 0px; | |
padding: 0px; | |
width: 100%; | |
right: 1px; | |
overflow: hidden !important; | |
font-size: 9px !important; |
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
from datetime import datetime, date, time, timedelta | |
timein = (raw_input("Time in: ")) | |
if ":" in timein: | |
hour = int(timein[0]) | |
minutes = int(timein[-2:]) | |
start = timedelta(hours = hour, minutes = minutes) | |
else: | |
start = timedelta(hours=(int(timein))) | |
leavetime = raw_input("Time you are leaving: ") |
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
#------------------------------------------------------------------------------- | |
# Name: Update Master Table | |
# Purpose: Ensures that the master and new table are identical(matching the new table) | |
# | |
# Author: kara | |
#------------------------------------------------------------------------------- | |
import arcpy |
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
#------------------------------------------------------------------------------- | |
# Name: Return attachment URLs for a feature service | |
# Purpose: Iterates through features in a feature service and pulls all attachments IDs | |
# | |
# Author: Kara Manseau | |
# | |
# Created: 16/04/2014 | |
#------------------------------------------------------------------------------- | |
import requests |
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 | |
from arcpy import da | |
import os | |
mxd = arcpy.mapping.MapDocument(r"") | |
fileLocation =(r"") | |
df = arcpy.mapping.ListDataFrames(mxd, "zzz")[0] | |
print 'Set Variables' |