ArcGIS Server

  • View
    51

  • Download
    1

Embed Size (px)

DESCRIPTION

ArcGIS Server. What’s Interesting?. Cartography Caching Geoprocessing Security Future ArcGIS Explorer (a side note). Cartography. 2 Types of Browser Display Browser Blending - PowerPoint PPT Presentation

Text of ArcGIS Server

  • ArcGIS Server

  • Whats Interesting?CartographyCachingGeoprocessingSecurityFutureArcGIS Explorer (a side note)

  • Cartography2 Types of Browser DisplayBrowser BlendingSeparate images are used for each object on the page and are blended in the browser. The browser does most of the work. Faster, and the default setting.Web BlendingAll objects are combined into one image on the server before being pushed to the browser. Puts most of the work on the server. Slower.

  • SimplicityNo complex VB scripts for labeling expressionsCreate a new layer for data instead of using a definition queryUse ESRI_Optimized symbol paletteUse shadows instead of text backgrounds or halosUse annotation instead of labelsConvert symbology to representation (store symbology in the feature class)

  • Show only relevant informationUse field visibilityOnly show necessary fieldsUse scale dependenciesRepresent things differently at different scales (simplify the cartography)Use simple character markersUse integer fields for symbol values instead of character fieldsAvoid cartographic linesUse indexed fields for queries

  • TuningUse high isolation for everythingAllow 2-4 instances per SOCUse JPG for imagesUse PNG for vectorsUse 2GB of RAM per CPU coreTry Microsofts Fiddler to check trafficwww.fiddlertool.com

  • CachingBe consistent with the tiling schemeUse Firefoxs Tools>Page Info>Media dialog to check the tiled imagesYou can update individual tiles with the Update Cache Geoprocessing ToolSet the map background to a gross color to avoid having your colors come out transparentESRI uses RGB 51,52,53 for their background

  • Zooming is restricted to the cache levelsMatch scale dependencies to the cache levelYou can alter the cached images (they are just JPGs.) if you wantBuild a small area first and test it to make sure the levels are correctIE6 can not use PNG24 for blended cachesTheir recommendation? Dont use PNG24!

  • You can change the full extent in ArcMap to the visual extent before publishingEspecially good if you outliersGoogle tiles their data at 256x256, but ESRI defaults to 512x512Keep in mind if you want to use Google for a backgroundIf you cant see the Server toolbox, ESRI doesnt load it by defaultArcMap dynamically interpolates between cache levels

  • The ArcMap server cache is not automatically cleared so you have to do it manually (scheduled task anyone???)Check out blogs.esri.com for casual updatesCheck out webhelp.esri.com for more up to date help information

  • Geoprocessing2 ways to use geoprocessingPublish a map with a tool layerPublish a tool or model by itselfBe careful with temporary dataUse %ScratchWorkspace% to ensure there will be a data store for youESRI guarantees there will be a scratch.gdb in the server %ScratchWorkspace%

  • Input can not be a feature classSwitch it to a feature set and click on the mapFeature class is a valid output typeUse in_memory data when possibleIn_memory can be used as a path variableLocks being caused by ArcGIS Server is a known bug and will be fixed at Service Pack 3 for 9.2All input AND output objects must be made into model parameters to run in Server

  • You can not have Results are Temporary as Default clicked onAsynchronous settings process tasks in a background worker threadSynchronous settings process the task and give back control when doneAsynchronous results are stored on the server in the scratch workspace, but synchronous results are temporaryTasks published through a .mxd keep all of their symbolization, standalone tasks leave symbolization up to the client

  • Tool layers are good for sensitive data or large returns since they just send back an image and no real dataDont ignore the maximum number of features returned settingThere is a default 10 minute timeout period so if you have long running processes increase thisModels that need to use layers in the TOC have to come from a .mxd

  • The SOC has to have access to everything involved in a modelUse relative or UNC paths for everything in the modelThe SOC has to be able to see the actual .sde connection file to use SDE dataIt cant get it from the layer

  • 3 important things to rememberYou have to create a script or model to publish in ServerDo not publish system tools (out of Toolbox) because they require extra parameters that Server cant supplyYou will always have to make changes to existing models to get them to work with Server

  • Security9.2 does not have specific securityIt uses file and IIS security9.3 will have a built-in security console in the ArcGIS Server ManagerAuthenticationVerifying who you areAuthorizationDetermining what you can access

  • Local ConnectionsSOM controls accessConnect to SOM using DCOMUses TCP/IPAccess controlled by the OSHave to handle access control for two groupsAgusersAgsadminInternet ConnectionsIIS handles security

  • Disable anonymous accessAdd authorization to web.configIIS receives all requests, but routes .aspx pages through ASP.NETASP.NET handles security for .aspx pagesIIS always handles image securityIIS handles windows authenticationASP.NET handles forms authenticationUse Location Path in the global web.config file to secure specific foldersLocated on the ArcGIS/Services tab

  • FutureLots of talk about integration to do mashups with Google and Virtual EarthSLDCan publish layers with thematic styles based on attributes of layers without replicating the loaded layerWFSFeature serviceNon-locking versioned and non-versioned data access

  • WCSRaster coverage support, not just image snapshotsBecoming much more Google-likeJavascript and AJAX API support for mashupsGoogle and Virtual Earth will be able to access ArcGIS Server via RESTCaches can be built on demandImproved map tips

  • Can setup ArcGIS Server to just publish servicesSupport for Microsoft and Google base mapsCheck out esri.datadoors.netCheck out the Gaia free viewerwww.thecarbonproject.com/gaia.php

  • ArcGIS ExplorerCan only view 3D mapsThey may change this in the futureHave to download the ArcExplorer SDK separately to customizeProduces a .nmf fileReally just xml so you can look at it in Notepad if you likeVisual Studio will open the .nmf tooEdit>Advanced>Formatdoc

  • Tasks are designed to be lightweightThe server should do all the workYou can only modify the Task FrameworkCode can only produce tasksNo real modification of the app allowedArcGIS Explorer is ESRIs only multithreaded applicationTask work is done in a background worker thread

  • Geometry classes are read onlyNo editing allowed in this oneDeploy custom tasks by putting them in a .nmf and ship off the .nmfArcGIS Explorer is on a different release cycle than other ESRI applicationsThey want to release a new version every 3 months