geologic web services: planning and design sheena k. beaverson

68
Geologic Web Geologic Web Services: Services: Planning and Planning and Design Design Sheena K. Beaverson Sheena K. Beaverson

Post on 20-Dec-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Geologic Web Services: Planning and Design Sheena K. Beaverson

Geologic Web Geologic Web Services: Services:

Planning and Planning and DesignDesignSheena K. BeaversonSheena K. Beaverson

Page 2: Geologic Web Services: Planning and Design Sheena K. Beaverson

IntroductionIntroduction

Existing ISGS Map ServicesExisting ISGS Map Services Project PlanningProject Planning Navigation StrategiesNavigation Strategies Technical Nuts and BoltsTechnical Nuts and Bolts Current Needs and Future ProjectsCurrent Needs and Future Projects

Page 3: Geologic Web Services: Planning and Design Sheena K. Beaverson

IntroductionIntroduction AXL DesignAXL Design

Christopher McGarryChristopher McGarry MXD DesignMXD Design

Antigone Dixon-WarrenAntigone Dixon-Warren Steven GustisonSteven Gustison Christopher KoroseChristopher Korose

Database DesignDatabase Design Alison Lecouris (Oracle)Alison Lecouris (Oracle) Danial Nelson (ArcSDE)Danial Nelson (ArcSDE)

Beta Testing – many project participants, Beta Testing – many project participants, managementmanagement

Page 4: Geologic Web Services: Planning and Design Sheena K. Beaverson

Geologic Web Geologic Web ServicesServices

Existing Map ServicesExisting Map Services

Page 5: Geologic Web Services: Planning and Design Sheena K. Beaverson

IntroductionIntroduction

Illinois Digital Orthophoto quarter Illinois Digital Orthophoto quarter QuadranglesQuadrangles File viewing and downloadFile viewing and download Released on-line June, 2001Released on-line June, 2001 ArcIMS 3.0ArcIMS 3.0 .axl file calling multiple image catalogs.axl file calling multiple image catalogs Geography Network Challenge 3Geography Network Challenge 3rdrd Place Place

WinnerWinner Access to over 4,100 data filesAccess to over 4,100 data files Data files contained within .zip file bundlesData files contained within .zip file bundles

Page 6: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 7: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 8: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 9: Geologic Web Services: Planning and Design Sheena K. Beaverson

Existing Map ServicesExisting Map Services

Illinois Historic Aerial Photographs Illinois Historic Aerial Photographs File viewing and downloadFile viewing and download Released on-line September, 2003Released on-line September, 2003 ArcIMS 4.0, migrated to ArcIMS 4.0.1ArcIMS 4.0, migrated to ArcIMS 4.0.1 .axl file calling one image catalog (base .axl file calling one image catalog (base

imagery)imagery) Access to over 8,100 data files (25 counties)Access to over 8,100 data files (25 counties) Additional 20 counties to be addedAdditional 20 counties to be added Imagery in MrSID formatImagery in MrSID format

Page 10: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 11: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 12: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 13: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 14: Geologic Web Services: Planning and Design Sheena K. Beaverson

Existing Map ServicesExisting Map Services

Illinois Oil and Gas ResourcesIllinois Oil and Gas Resources Released on-line February, 2004Released on-line February, 2004 ArcIMS 4.0.1 and ArcMapServer 4.0.1ArcIMS 4.0.1 and ArcMapServer 4.0.1 .mxd file calling shapefiles, Arc/Info .mxd file calling shapefiles, Arc/Info

coverages, ArcSDE data layerscoverages, ArcSDE data layers Access to over 180,000 wells in IllinoisAccess to over 180,000 wells in Illinois

Oracle data pointsOracle data points Over 83,000 well records reviewed and Over 83,000 well records reviewed and

updatedupdated

Page 15: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 16: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 17: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 18: Geologic Web Services: Planning and Design Sheena K. Beaverson

Existing Map ServicesExisting Map Services

Illinois Natural Gamma Ray LogsIllinois Natural Gamma Ray Logs To be released on-line June, 2004To be released on-line June, 2004 ArcIMS 4.0.1 and ArcMapServer 4.0.1ArcIMS 4.0.1 and ArcMapServer 4.0.1 .mxd file calling shapefiles.mxd file calling shapefiles Access to about 350 individual logsAccess to about 350 individual logs

Page 19: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 20: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 21: Geologic Web Services: Planning and Design Sheena K. Beaverson

Existing Map ServicesExisting Map Services

Illinois Water WellsIllinois Water Wells To be released on-line June, 2004To be released on-line June, 2004 ArcIMS 4.0.1 and ArcMapServer 4.0.1ArcIMS 4.0.1 and ArcMapServer 4.0.1 .mxd file calling ArcSDE data layers.mxd file calling ArcSDE data layers Access to over 277,600 wells in IllinoisAccess to over 277,600 wells in Illinois

Oracle data pointsOracle data points No review of well records includedNo review of well records included

Page 22: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 23: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 24: Geologic Web Services: Planning and Design Sheena K. Beaverson

Existing Map ServicesExisting Map Services

ISGS-IDOT ExtranetISGS-IDOT Extranet Not released publiclyNot released publicly ArcIMS 4.0.1 and ArcMapServer 4.0.1 on PCArcIMS 4.0.1 and ArcMapServer 4.0.1 on PC Custom applications drive reporting of Custom applications drive reporting of

Preliminary Envronmental Site Assessments Preliminary Envronmental Site Assessments (PESAs)(PESAs)

MIDCARB – Midcontinent Interactive MIDCARB – Midcontinent Interactive Digital Carbon Atlas and Relational Digital Carbon Atlas and Relational dataBasedataBase Multi-state map service served from KansasMulti-state map service served from Kansas

Page 25: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 26: Geologic Web Services: Planning and Design Sheena K. Beaverson

Geologic Web Geologic Web ServicesServicesProject PlanningProject Planning

Page 27: Geologic Web Services: Planning and Design Sheena K. Beaverson

Project PlanningProject Planning

Data collection and assessmentData collection and assessment Assemble data layers and assess data formatAssemble data layers and assess data format Modify data layers accordingly (migrate into Modify data layers accordingly (migrate into

SDE?)SDE?) Construct data sub-sets via query, identify table joins, Construct data sub-sets via query, identify table joins,

add attributes for hyperlink fieldadd attributes for hyperlink field Gather information on cartographic displayGather information on cartographic display

Existing paper maps, symbol sets, attribute informationExisting paper maps, symbol sets, attribute information Identify criteria to address confidential data Identify criteria to address confidential data

pointspoints Identify criteria to address homeland security Identify criteria to address homeland security

concernsconcerns

Page 28: Geologic Web Services: Planning and Design Sheena K. Beaverson

Project PlanningProject Planning Educate mapping team about differences Educate mapping team about differences

between paper maps and cartographic mapsbetween paper maps and cartographic maps Scale dependant renderingScale dependant rendering Limited viewing areaLimited viewing area Screen real estateScreen real estate

Identify target audienceIdentify target audience General public, K-12 students, college studentsGeneral public, K-12 students, college students Field workers, drillers, exploration geologistsField workers, drillers, exploration geologists Internal staff or inter-agency team Internal staff or inter-agency team

(confidential data), screen proportions, fast internet (confidential data), screen proportions, fast internet connectionsconnections

Internet, Intranet, ExtranetInternet, Intranet, Extranet

Page 29: Geologic Web Services: Planning and Design Sheena K. Beaverson

Project PlanningProject Planning Identify modifications to template map Identify modifications to template map

serviceservice Are software upgrades needed?Are software upgrades needed? Have data storage routines changed Have data storage routines changed

significantly?significantly? Are new base data layers now available?Are new base data layers now available? Have instabilities emerged in original map Have instabilities emerged in original map

service that can be readily addressed?service that can be readily addressed? Initiation of a new project brings the Initiation of a new project brings the

temptation to upgrade existing map temptation to upgrade existing map services.services. Try not to be tempted by the dark side!Try not to be tempted by the dark side!

Page 30: Geologic Web Services: Planning and Design Sheena K. Beaverson

Project PlanningProject Planning

Meet with project staff to determine:Meet with project staff to determine: Must-have data layersMust-have data layers Possible additional data layersPossible additional data layers Data display order – ‘the data stack’Data display order – ‘the data stack’

This is an iterative processThis is an iterative process Avoid ‘what if I want…’ temptationsAvoid ‘what if I want…’ temptations

Can add additional data layers in the double Can add additional data layers in the double digits rangedigits range

Goal: guide web visitors to data quickly Goal: guide web visitors to data quickly and logicallyand logically

Page 31: Geologic Web Services: Planning and Design Sheena K. Beaverson

Project PlanningProject Planning

.mxd or .axl development Phase I.mxd or .axl development Phase I Add new base data, re-design display Add new base data, re-design display

parametersparameters Add project-specific data layersAdd project-specific data layers Review data stack with respect to emerging Review data stack with respect to emerging

cartographic issues and complexities in cartographic issues and complexities in symbologysymbology

Also an iterative processAlso an iterative process Modifications to original plan by Technical staff Modifications to original plan by Technical staff Preliminary feedback from mapping teamPreliminary feedback from mapping team

Page 32: Geologic Web Services: Planning and Design Sheena K. Beaverson

Project PlanningProject Planning

.mxd or .axl development Phase II.mxd or .axl development Phase II Program project-specific customizationsProgram project-specific customizations ArcIMSparam.js file arraysArcIMSparam.js file arrays

Data field attribute display set and field aliasingData field attribute display set and field aliasing Enable hyperlink layersEnable hyperlink layers Customized data layer labeling and added symbolsCustomized data layer labeling and added symbols

Customize html frames for web page displayCustomize html frames for web page display Resist the temptation to initiate Phase II Resist the temptation to initiate Phase II

programming until after the data stack is programming until after the data stack is finalizedfinalized Gives the impression of being ‘done’ far too soonGives the impression of being ‘done’ far too soon

Page 33: Geologic Web Services: Planning and Design Sheena K. Beaverson

Project PlanningProject Planning

Phase I Beta testing, content assessmentPhase I Beta testing, content assessment Solicit comments from your mapping team on Solicit comments from your mapping team on

any feature of the map service and web display.any feature of the map service and web display. Font selection, size, displayFont selection, size, display Display and interaction of data layersDisplay and interaction of data layers Data attribute labeling and orderData attribute labeling and order Appropriateness of scale dependant data layer displayAppropriateness of scale dependant data layer display Completeness and usability of overall interfaceCompleteness and usability of overall interface

This is the time to get nit-picky!This is the time to get nit-picky! Have ‘everything and kitchen sink’ impulses won out?Have ‘everything and kitchen sink’ impulses won out? Will our audience comprehend the story being Will our audience comprehend the story being

presented?presented?

Page 34: Geologic Web Services: Planning and Design Sheena K. Beaverson

Project PlanningProject Planning

Complete revisions from Phase I Beta testingComplete revisions from Phase I Beta testing Phase II Beta testing, debuggingPhase II Beta testing, debugging

Solicit comments from your mapping teamSolicit comments from your mapping team Have editorial points been addressed?Have editorial points been addressed? Have we created new problems as a result?Have we created new problems as a result? Did we miss anything big in Phase I?Did we miss anything big in Phase I?

Solicit input from map service developers you Solicit input from map service developers you knowknow If the buttons and navigation don’t make sense to If the buttons and navigation don’t make sense to

them, how will a wider audience be able to use the them, how will a wider audience be able to use the map?map?

Page 35: Geologic Web Services: Planning and Design Sheena K. Beaverson

Project PlanningProject Planning

Development of support resourcesDevelopment of support resources Metadata for data layers and map service itselfMetadata for data layers and map service itself Web pages to supply project informationWeb pages to supply project information Web page guide to interactive map componentsWeb page guide to interactive map components

Review of all web resources by editorial Review of all web resources by editorial staffstaff

Promote On-line releasePromote On-line release Navigation How-To presentations to target Navigation How-To presentations to target

audiencesaudiences

Page 36: Geologic Web Services: Planning and Design Sheena K. Beaverson

Geologic Web Geologic Web ServicesServices

Navigation StrategiesNavigation Strategies

Page 37: Geologic Web Services: Planning and Design Sheena K. Beaverson

Navigation StrategiesNavigation Strategies

Keep it simpleKeep it simple Web customers are familiar with browser Web customers are familiar with browser

toolstools Web customers are unfamiliar with GIS toolsWeb customers are unfamiliar with GIS tools

Using ESRI tool GIFs helps all interactive map Using ESRI tool GIFs helps all interactive map developers educate new usersdevelopers educate new users

Complex data stacks can get confusingComplex data stacks can get confusing ArcIMS to ArcMapServer to ArcSDE is a new ArcIMS to ArcMapServer to ArcSDE is a new

setupsetup Limit web navigation to map service through one Limit web navigation to map service through one

pointpoint

Page 38: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 39: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 40: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 41: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 42: Geologic Web Services: Planning and Design Sheena K. Beaverson

Geologic Web Geologic Web ServicesServices

Technical Nuts and BoltsTechnical Nuts and Bolts

Page 43: Geologic Web Services: Planning and Design Sheena K. Beaverson

Technical Nuts and BoltsTechnical Nuts and Bolts

Production Server and Production Server and Developmental ServerDevelopmental Server ArcIMS 4.0.1 UNIX machine, SunOS 5.8ArcIMS 4.0.1 UNIX machine, SunOS 5.8 ArcMapServer 4.0.1 on PCArcMapServer 4.0.1 on PC

IDOT Extranet, other Developmental IDOT Extranet, other Developmental ServersServers ArcIMS 4.0.1 on PC also with ArcIMS 4.0.1 on PC also with

ArcMapServer 4.0.1ArcMapServer 4.0.1

Page 44: Geologic Web Services: Planning and Design Sheena K. Beaverson

Technical Nuts and BoltsTechnical Nuts and Bolts

Natural Gamma-Ray Logs Map ServiceNatural Gamma-Ray Logs Map Service First map service designed on PC and First map service designed on PC and

ported to UNIXported to UNIX Naming convention discrepanciesNaming convention discrepancies

ArcIMSparam.js vs. arcimsparam.jsArcIMSparam.js vs. arcimsparam.js File content discrepanciesFile content discrepancies

selFieldList: #ID# and #SHAPE# vs. #Id# and selFieldList: #ID# and #SHAPE# vs. #Id# and #Shape# #Shape#

Page 45: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 46: Geologic Web Services: Planning and Design Sheena K. Beaverson

Technical Nuts and BoltsTechnical Nuts and Bolts

Fix for ArcMapServer image naming Fix for ArcMapServer image naming issue after successful creation of map issue after successful creation of map service with .mxd in administrator and service with .mxd in administrator and website creationwebsite creation navigate to the "javascript" directorynavigate to the "javascript" directory edit the javascript textfile "aimsXML.js:edit the javascript textfile "aimsXML.js:

a) find "function getURL" and "function a) find "function getURL" and "function getLegendURL".getLegendURL".

b) directly above the line "return theURL;" add the b) directly above the line "return theURL;" add the code:code:

//* ISGS ArcMap Server fix added here//* ISGS ArcMap Server fix added here theURL = theURL.toLowerCase();theURL = theURL.toLowerCase(); //* end fix//* end fix

Page 47: Geologic Web Services: Planning and Design Sheena K. Beaverson

The complete getURL functions should The complete getURL functions should look like:look like:

// get URL// get URL function getURL(theReply) {function getURL(theReply) { var theURL = "";var theURL = ""; var startpos = 0;var startpos = 0; var endpos = 0;var endpos = 0;

var pos = theReply.indexOf("OUTPUT");var pos = theReply.indexOf("OUTPUT"); if (pos != -1) {if (pos != -1) { theURL = theURL =

getInsideString(theReply,'url="',dQuote,pos,0,false);getInsideString(theReply,'url="',dQuote,pos,0,false); }} legendImage = getLegendURL(theReply);legendImage = getLegendURL(theReply);

//* ISGS ArcMap Server fix added here//* ISGS ArcMap Server fix added here theURL = theURL.toLowerCase();theURL = theURL.toLowerCase(); //* end fix//* end fix return theURL;return theURL; }} // getLegendURL// getLegendURL

Page 48: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 49: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 50: Geologic Web Services: Planning and Design Sheena K. Beaverson

Technical Nuts and BoltsTechnical Nuts and Bolts

Customizing the Toolbar Frame Customizing the Toolbar Frame outputoutput Show one tool per lineShow one tool per line Insert table cell with tool descriptionInsert table cell with tool description Re-order tool selectionRe-order tool selection Insert blank table cells for logical Insert blank table cells for logical

spacingspacing

Page 51: Geologic Web Services: Planning and Design Sheena K. Beaverson

Technical Nuts and BoltsTechnical Nuts and Bolts if (parent.MapFrame.useZoomIn) {if (parent.MapFrame.useZoomIn) { // Zoom In . . . requires aimsNavigation.js// Zoom In . . . requires aimsNavigation.js document.write('<td align="center" document.write('<td align="center"

valign="middle">');valign="middle">'); document.write('<img src="images/zoomin_1.gif" document.write('<img src="images/zoomin_1.gif"

width=16 height=16 hspace=1 vspace=0 border=0 width=16 height=16 hspace=1 vspace=0 border=0 alt=" ' + t.buttonList[16] + '" name="zoomin" alt=" ' + t.buttonList[16] + '" name="zoomin" onmousedown="parent.MapFrame.clickFunction(\'zooonmousedown="parent.MapFrame.clickFunction(\'zoomin\'); setToolPic(\'Zoom In\');" min\'); setToolPic(\'Zoom In\');" onmouseover="window.status=\' ' + t.buttonList[16] + onmouseover="window.status=\' ' + t.buttonList[16] + '\'">');'\'">');

// // isSecond = !isSecond;isSecond = !isSecond; document.writeln('</td><td><FONT document.writeln('</td><td><FONT

FACE="Arial" SIZE="-1">Zoom FACE="Arial" SIZE="-1">Zoom In</FONT></td>');In</FONT></td>');

if (isSecond) document.write('</tr><tr>');if (isSecond) document.write('</tr><tr>'); }}

Page 52: Geologic Web Services: Planning and Design Sheena K. Beaverson

Technical Nuts and BoltsTechnical Nuts and Bolts

Be careful when commenting out the Be careful when commenting out the useSelect ‘Select by Polygon’ sub-routineuseSelect ‘Select by Polygon’ sub-routine Gif swapping between plain tool and tool Gif swapping between plain tool and tool

outlined in red can be brokenoutlined in red can be broken Order for customizing the Toolbar FrameOrder for customizing the Toolbar Frame

Add line comments, tool per line modificationsAdd line comments, tool per line modifications Save finished file as a templateSave finished file as a template Customize tool orderCustomize tool order Check often!Check often! Save finished file as a 2Save finished file as a 2ndnd template template

Page 53: Geologic Web Services: Planning and Design Sheena K. Beaverson

Technical Nuts and BoltsTechnical Nuts and Bolts

if (parent.MapFrame.useSelect) {if (parent.MapFrame.useSelect) { // Graphic Selection tools . . . requires aimsSelect.js// Graphic Selection tools . . . requires aimsSelect.js document.write('<td align="center" valign="middle">');document.write('<td align="center" valign="middle">'); document.write('<img src="images/select_rect_1.gif" width=16 height=16 document.write('<img src="images/select_rect_1.gif" width=16 height=16

hspace=1 vspace=1 border=0 alt=" ' + t.buttonList[34] + '" name="rect" hspace=1 vspace=1 border=0 alt=" ' + t.buttonList[34] + '" name="rect" onmousedown="parent.MapFrame.clickFunction(\'selectbox\'); onmousedown="parent.MapFrame.clickFunction(\'selectbox\'); setToolPic(\'Select Rectangle\');" onmouseover="window.status=\' ' + setToolPic(\'Select Rectangle\');" onmouseover="window.status=\' ' + t.buttonList[34] + '\'">');t.buttonList[34] + '\'">');

// isSecond = !isSecond// isSecond = !isSecond document.writeln('</td><td><FONT FACE="Arial" SIZE="-1">Select document.writeln('</td><td><FONT FACE="Arial" SIZE="-1">Select

Multiple</FONT></td>');Multiple</FONT></td>'); if (isSecond) document.write('</tr><tr>');if (isSecond) document.write('</tr><tr>'); // document.write('<td align="center" valign="middle">');// document.write('<td align="center" valign="middle">'); // document.write('<img src="images/select_1.gif" width=16 height=16 // document.write('<img src="images/select_1.gif" width=16 height=16

hspace=0 vspace=1 border=0 alt=" ' + t.buttonList[35] + '" name="line" hspace=0 vspace=1 border=0 alt=" ' + t.buttonList[35] + '" name="line" onmousedown="parent.MapFrame.clickFunction(\'selectshape\'); onmousedown="parent.MapFrame.clickFunction(\'selectshape\'); setToolPic(\'Select Line/Polygon\');" onmouseover="window.status=\' ' + setToolPic(\'Select Line/Polygon\');" onmouseover="window.status=\' ' + t.buttonList[35] + '\'">');t.buttonList[35] + '\'">');

// // isSecond = !isSecond// // isSecond = !isSecond // document.writeln('</td>');// document.writeln('</td>'); // if (isSecond) document.write('</tr><tr>');// if (isSecond) document.write('</tr><tr>');

Page 54: Geologic Web Services: Planning and Design Sheena K. Beaverson

Technical Nuts and BoltsTechnical Nuts and Bolts

Customizing the Table of Contents Customizing the Table of Contents (TOC) Frame output(TOC) Frame output Insert display modifications on a line by Insert display modifications on a line by

line basis line basis Highlight colors for data layer typesHighlight colors for data layer types Insert symbolization graphics from Legend Insert symbolization graphics from Legend

view into Layer List Viewview into Layer List View This is a 1:1 ration, only 1 graphic symbol per This is a 1:1 ration, only 1 graphic symbol per

layerlayer

Can’t re-spin data stack or make Can’t re-spin data stack or make grouping modifications (ex: file folders) grouping modifications (ex: file folders) with these HTML methodswith these HTML methods

Page 55: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 56: Geologic Web Services: Planning and Design Sheena K. Beaverson

Technical Nuts and BoltsTechnical Nuts and Bolts

In ArcIMSparam.js file:In ArcIMSparam.js file:

var TocSwatch = new Array();var TocSwatch = new Array();

TocSwatch[0] = "#FFFFFF";TocSwatch[0] = "#FFFFFF"; TocSwatch[1] = "#FFFFFF";TocSwatch[1] = "#FFFFFF"; TocSwatch[2] = "#FFFFFF";TocSwatch[2] = "#FFFFFF"; TocSwatch[3] = "#999999";TocSwatch[3] = "#999999"; TocSwatch[4] = "#999999";TocSwatch[4] = "#999999"; TocSwatch[5] = "#999999";TocSwatch[5] = "#999999"; TocSwatch[6] = "#99CCFF";TocSwatch[6] = "#99CCFF"; TocSwatch[7] = "#99CCFF";TocSwatch[7] = "#99CCFF"; TocSwatch[8] = "#99CCFF";TocSwatch[8] = "#99CCFF";

ISGS
Name your new array.
ISGS
Insert array assignments for each data layer
Page 57: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 58: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 59: Geologic Web Services: Planning and Design Sheena K. Beaverson

Technical Nuts and BoltsTechnical Nuts and Bolts

In ArcIMSparam.js file:In ArcIMSparam.js file:

var TocSwatchUrl = new Array();var TocSwatchUrl = new Array();

TocSwatchUrl[0] = "swatches/county.jpg";TocSwatchUrl[0] = "swatches/county.jpg"; TocSwatchUrl[1] = "swatches/intstate.jpg";TocSwatchUrl[1] = "swatches/intstate.jpg"; TocSwatchUrl[2] = "swatches/ushwys.jpg";TocSwatchUrl[2] = "swatches/ushwys.jpg"; TocSwatchUrl[3] = "swatches/staterte.jpg";TocSwatchUrl[3] = "swatches/staterte.jpg"; TocSwatchUrl[4] = "swatches/quad.jpg";TocSwatchUrl[4] = "swatches/quad.jpg"; TocSwatchUrl[5] = "swatches/cook.jpg";TocSwatchUrl[5] = "swatches/cook.jpg"; TocSwatchUrl[6] = "swatches/dupage.jpg";TocSwatchUrl[6] = "swatches/dupage.jpg"; TocSwatchUrl[7] = "swatches/kane.jpg";TocSwatchUrl[7] = "swatches/kane.jpg"; TocSwatchUrl[8] = "swatches/kendall.jpg";TocSwatchUrl[8] = "swatches/kendall.jpg"; TocSwatchUrl[9] = "swatches/lake.jpg";TocSwatchUrl[9] = "swatches/lake.jpg"; TocSwatchUrl[10] = "swatches/mchenry.jpg";TocSwatchUrl[10] = "swatches/mchenry.jpg"; TocSwatchUrl[11] = "swatches/will.jpg";TocSwatchUrl[11] = "swatches/will.jpg";

Page 60: Geologic Web Services: Planning and Design Sheena K. Beaverson

Technical Nuts and BoltsTechnical Nuts and Bolts

TocSwatch and TocSwatchURL TocSwatch and TocSwatchURL variables defined in ArcIMSparam.js variables defined in ArcIMSparam.js filefile

In In toc.htmtoc.htm find the original layer find the original layer listing line:listing line: document.writeln('<td><font face="Arial" size="-1">' + t.LayerName[i] + '</font></td>');document.writeln('<td><font face="Arial" size="-1">' + t.LayerName[i] + '</font></td>');

Comment this out to replace with:Comment this out to replace with: document.writeln('<td ALIGN="CENTER"><img src="' + t.TocSwatchUrl[i] + '"></td>');document.writeln('<td ALIGN="CENTER"><img src="' + t.TocSwatchUrl[i] + '"></td>'); document.writeln('<td bgcolor="' + t.TocSwatch[i] + '"><font face="Arial" size="-2">' + document.writeln('<td bgcolor="' + t.TocSwatch[i] + '"><font face="Arial" size="-2">' +

t.LayerName[i] + '</font></td>');t.LayerName[i] + '</font></td>');

Page 61: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 62: Geologic Web Services: Planning and Design Sheena K. Beaverson

Existing Map Services: Existing Map Services: Water SuccessWater Success

Oracle well point locations are sourced from a Oracle well point locations are sourced from a derivative ArcSDE point layer.derivative ArcSDE point layer. This point layer will be automatically recreated on a weekly This point layer will be automatically recreated on a weekly

basis.basis. Updates and additions in the main Oracle database will be Updates and additions in the main Oracle database will be

obtained via ArcSDE point layer recreation.obtained via ArcSDE point layer recreation. The point layer also serves as a gateway to other The point layer also serves as a gateway to other

well data in Oracle.well data in Oracle. Through a table join based on unique API_NUMBER we can Through a table join based on unique API_NUMBER we can

obtain additional information about the wells. The point obtain additional information about the wells. The point layer contains more well types than we wish to display in layer contains more well types than we wish to display in this Map Service.this Map Service.

A DEFINITION QUERY on the point data layer in A DEFINITION QUERY on the point data layer in ArcMap selects the type of data to be shownArcMap selects the type of data to be shown water and related wellswater and related wells

Page 63: Geologic Web Services: Planning and Design Sheena K. Beaverson

Existing Map Services: Existing Map Services: Water FailureWater Failure

Attempted to get an Oracle VIEW (stored SQL query to Attempted to get an Oracle VIEW (stored SQL query to create a virtual table on-the-fly, and is recognized as a create a virtual table on-the-fly, and is recognized as a table...) to be spatially enabled as an x/y Event in ArcMap. table...) to be spatially enabled as an x/y Event in ArcMap.

Although we were successful, the best fix involved an Although we were successful, the best fix involved an unorthodox manipulation of the VIEW and its OBJECTID unorthodox manipulation of the VIEW and its OBJECTID based on the 'somewhat disconnected' table management based on the 'somewhat disconnected' table management between Oracle and ArcSDE after that VIEW was registered between Oracle and ArcSDE after that VIEW was registered with ArcSDE. with ArcSDE.

Incomplete 'manipulation' of the VIEW's OBJECTID resulted Incomplete 'manipulation' of the VIEW's OBJECTID resulted in the inability to display selected records in ArcIMS.in the inability to display selected records in ArcIMS.

Also, a VIEW created from a single table showed rapid Also, a VIEW created from a single table showed rapid response for selection queries from ArcIMS; a view created response for selection queries from ArcIMS; a view created from joined tables performed poorly. Data display (in whole-from joined tables performed poorly. Data display (in whole-table form) in ArcMap and ArcSDE was unavailable on the table form) in ArcMap and ArcSDE was unavailable on the manipulated VIEW; attempting to view the data caused the manipulated VIEW; attempting to view the data caused the software to hang yet IDENTIFY QUERIES from the map software to hang yet IDENTIFY QUERIES from the map frame worked as they should. frame worked as they should.

Page 64: Geologic Web Services: Planning and Design Sheena K. Beaverson

Geologic Web Geologic Web ServicesServices

Current Needs and Future Current Needs and Future ProjectsProjects

Page 65: Geologic Web Services: Planning and Design Sheena K. Beaverson

Current NeedsCurrent Needs Regrouping effortRegrouping effort

ISGS has tackled many programming hurdles in ISGS has tackled many programming hurdles in the past few months.the past few months.

This has been a Team Effort across multiple This has been a Team Effort across multiple sectionssections

Knowledge for each key piece resides with 1 or 2 peopleKnowledge for each key piece resides with 1 or 2 people No one person has done it all from start to finishNo one person has done it all from start to finish

Many small aspects within one map service would Many small aspects within one map service would be great in all the others (DOQs as base data)be great in all the others (DOQs as base data)

A template .axl and .mxd with base data would be A template .axl and .mxd with base data would be dreamydreamy

Data storage has changed drasticallyData storage has changed drastically Shapefiles and coverages to SDEShapefiles and coverages to SDE

Page 66: Geologic Web Services: Planning and Design Sheena K. Beaverson
Page 67: Geologic Web Services: Planning and Design Sheena K. Beaverson

Current NeedsCurrent Needs

Staff education effortStaff education effort Mapping staff need to become aware of Mapping staff need to become aware of

differences in paper map and interactive differences in paper map and interactive map design strategiesmap design strategies

Some staff feel threatened by Some staff feel threatened by unprecedented data access, within the unprecedented data access, within the historic scope of data saleshistoric scope of data sales

Management needs to establish Management needs to establish consistent rules and guidelines “give it consistent rules and guidelines “give it all away” vs. “we sell that data”all away” vs. “we sell that data”

Page 68: Geologic Web Services: Planning and Design Sheena K. Beaverson

Future ProjectsFuture Projects ILHAP ExpansionILHAP Expansion

20 more counties to be added by the fall20 more counties to be added by the fall New TOC designNew TOC design

ILH2O and ILOIL for an intranet audienceILH2O and ILOIL for an intranet audience If it’s that easy, make a version for ‘us’, If it’s that easy, make a version for ‘us’,

including all the data you filtered out.including all the data you filtered out. Easy ISGS oracle data access for ISGS mappersEasy ISGS oracle data access for ISGS mappers

Midwest Geological Sequestration Midwest Geological Sequestration ConsortiumConsortium

National Map activities for framework data National Map activities for framework data layerslayers