Upload
others
View
4
Download
0
Embed Size (px)
Citation preview
11
Publishing Data and Maps and Developing Application s with Publishing Data and Maps and Developing Application s with ArcGIS ServerArcGIS Server
Sam BergSam Berg
ESRIESRI
[email protected]@esri.comGIS
22
AgendaAgenda
•• ArcGIS Server OverviewArcGIS Server Overview
•• GIS ServicesGIS Services
•• Author, Serve, UseAuthor, Serve, Use
•• DEMODEMO
•• Map CachingMap Caching
•• Web Mapping ApplicationsWeb Mapping Applications
•• GIS TasksGIS Tasks
•• DEMODEMO
•• Service CapabilitiesService Capabilities
•• DEMODEMO
•• Webservice accessWebservice access
•• DEMODEMO
•• Web ADF IntroductionWeb ADF Introduction
•• DEMODEMO
•• Further ResourcesFurther Resources
•• Questions and CommentsQuestions and Comments
33
AgendaAgenda
•• ArcGIS Server OverviewArcGIS Server Overview
•• GIS ServicesGIS Services
•• Author, Serve, UseAuthor, Serve, Use
•• DEMODEMO
•• Map CachingMap Caching
•• Web Mapping ApplicationsWeb Mapping Applications
•• GIS TasksGIS Tasks
•• DEMODEMO
•• Service CapabilitiesService Capabilities
•• DEMODEMO
•• Webservice accessWebservice access
•• DEMODEMO
•• Web ADF IntroductionWeb ADF Introduction
•• DEMODEMO
•• Further ResourcesFurther Resources
•• Questions and CommentsQuestions and Comments
44
What is ArcGIS Server?What is ArcGIS Server?
•• You may already have geographic resources/documentsYou may already have geographic resources/documents–– For example...For example...
•• Maps Maps –– ArcMap documentsArcMap documents
•• Globes Globes –– ArcGlobe documentsArcGlobe documents
•• etc.etc.
•• ArcGIS Server enables you to share these resourcesArcGIS Server enables you to share these resources–– The resource runs on a serverThe resource runs on a server
–– Service = resource running on a serverService = resource running on a server
–– Users connect to the service to use itUsers connect to the service to use it
55
ArcGIS Server 9.2ArcGIS Server 9.2
•• Complete & Integrated serverComplete & Integrated server --based GISbased GIS
•• OutOut --ofof --thethe --box applications and services box applications and services
•• Tremendous developer opportunitiesTremendous developer opportunities
ArcGIS ServerArcGIS Server
Spatial DataSpatial DataManagementManagement
VisualizationVisualization(Mapping)(Mapping)
SpatialSpatialAnalysisAnalysis
Web MappingWeb MappingApplicationsApplications
ArcGISArcGISMobileMobile
ArcGISArcGISExplorerExplorer
ArcGISArcGISDesktopDesktop
JavaJava
.NET.NET
66
What are services?What are services?
•• Service = GIS resource running on a serverService = GIS resource running on a server–– vs. GIS application on your local vs. GIS application on your local computercomputer
•• Almost any GIS operation that you can do locally ma y also be runAlmost any GIS operation that you can do locally ma y also be run using a using a serviceservice
77
GIS Services can be used to Display DataGIS Services can be used to Display Data
88
GIS Services can Answer QuestionsGIS Services can Answer Questions
99
What types of services can ArcGIS Server offer?What types of services can ArcGIS Server offer?
MapMapView or query a 2D map on the serverView or query a 2D map on the server
GlobeGlobeView or query a 3D globe on the serverView or query a 3D globe on the server
GeocodeGeocodePerform address matching on the serverPerform address matching on the server
GeodataGeodataPerform data replication, extraction, or query over the intranetPerform data replication, extraction, or query over the intranet or Internetor Internet
GeoprocessingGeoprocessingRun a tool or model on the server and get the resul ts backRun a tool or model on the server and get the resul ts back
1010
What do I need to prepare?What do I need to prepare?
Published usingPublished usingService typeService type
Toolbox (.Toolbox (. tbxtbx ) or Map document ) or Map document (.(.mxdmxd ) with tool layer) with tool layer
GeoprocessingGeoprocessing
Geodatabase or Map document with Geodatabase or Map document with geodatabase layergeodatabase layer
GeodataGeodata
Locator (.loc file or geodatabase)Locator (.loc file or geodatabase)GeocodeGeocode
Globe document (.3dd)Globe document (.3dd)GlobeGlobe
Map document (.Map document (. mxdmxd or .or . pmfpmf ))MapMap
1111
ClientsClients
•• Users may connect withUsers may connect with
–– Browser based Web ApplicationBrowser based Web Application
–– Desktop client (ArcMap, ArcGIS Engine Desktop client (ArcMap, ArcGIS Engine application, ArcGIS Explorer)application, ArcGIS Explorer)
–– Mobile client (ArcGIS Mobile application, smart Mobile client (ArcGIS Mobile application, smart phone phone application)application)
–– Custom applications calling GIS Web servicesCustom applications calling GIS Web services
1212
AgendaAgenda
•• ArcGIS Server OverviewArcGIS Server Overview
•• GIS ServicesGIS Services
•• Author, Serve, UseAuthor, Serve, Use
•• DEMODEMO
•• Map CachingMap Caching
•• Web Mapping ApplicationsWeb Mapping Applications
•• GIS TasksGIS Tasks
•• DEMODEMO
•• Service CapabilitiesService Capabilities
•• DEMODEMO
•• Webservice accessWebservice access
•• DEMODEMO
•• Web ADF IntroductionWeb ADF Introduction
•• DEMODEMO
•• Further ResourcesFurther Resources
•• Questions and CommentsQuestions and Comments
1313
Author, Serve, UseAuthor, Serve, Use
1.1. AuthorAuthor GIS contentGIS content–– ArcGIS Desktop applicationsArcGIS Desktop applications
2.2. ServeServe GIS servicesGIS services–– ArcGIS Server ManagerArcGIS Server Manager
3.3. UseUse GIS servicesGIS services–– WebWeb--mapping applicationsmapping applications
–– ArcGIS ExplorerArcGIS Explorer
–– ArcGIS DesktopArcGIS Desktop
–– ArcGIS MobileArcGIS Mobile
–– WMS, KML/KMZ, SOAPWMS, KML/KMZ, SOAP
–– REST (at 9.3)REST (at 9.3)
1414
How do I publish a service?How do I publish a service?
•• You publish a document or set of dataYou publish a document or set of data–– Need to prepare the data/documentNeed to prepare the data/document
•• Author the map (.MXD), globe (.3DD), etc.Author the map (.MXD), globe (.3DD), etc.
–– Think about types and number of users, security, pe rmissionsThink about types and number of users, security, pe rmissions
•• Publish in Manager or ArcCatalogPublish in Manager or ArcCatalog
1515
Demo: Authoring, serving, and using a Map ServiceDemo: Authoring, serving, and using a Map Service
•• ArcMap authoringArcMap authoring
•• Publishing GIS resources via ArcCatalog or ManagerPublishing GIS resources via ArcCatalog or Manager
•• Viewing map service in ArcGISViewing map service in ArcGIS
1616
1717
1818
1919
2020
2121
2222
AgendaAgenda
•• ArcGIS Server OverviewArcGIS Server Overview
•• GIS ServicesGIS Services
•• Author, Serve, UseAuthor, Serve, Use
•• DEMODEMO
•• Map CachingMap Caching
•• Web Mapping ApplicationsWeb Mapping Applications
•• GIS TasksGIS Tasks
•• DEMODEMO
•• Service CapabilitiesService Capabilities
•• DEMODEMO
•• Webservice accessWebservice access
•• DEMODEMO
•• Web ADF IntroductionWeb ADF Introduction
•• DEMODEMO
•• Further ResourcesFurther Resources
•• Questions and CommentsQuestions and Comments
2323
CachingCaching
•• The fastest way to serve your mapsThe fastest way to serve your maps
•• PrePre--creates map/globe images as tiles at multiple scale levelscreates map/globe images as tiles at multiple scale levels–– Choose scale levels of detail and tile sizeChoose scale levels of detail and tile size
–– Users retrieve files from server rather than dynami cally creatinUsers retrieve files from server rather than dynami cally creatin g mapsg maps
2424
What is a Web mapping application?What is a Web mapping application?
•• ArcGIS Server 9.2 has an outArcGIS Server 9.2 has an out --ofof --thethe --box way to create GIS Web box way to create GIS Web applicationsapplications
•• Web Mapping ApplicationWeb Mapping Application–– A web application (website) that uses GIS servicesA web application (website) that uses GIS services
•• MultiMulti --service architectureservice architecture–– Map can display multiple servicesMap can display multiple services
•• From ArcGIS Servers on the InternetFrom ArcGIS Servers on the Internet
•• ArcIMS, WMS, ArcWeb Services, etc.ArcIMS, WMS, ArcWeb Services, etc.
2525
How do I create a Web mapping application?How do I create a Web mapping application?
•• ArcGIS Server ManagerArcGIS Server Manager–– NonNon --programmerprogrammer
–– Menu and wizard approachMenu and wizard approach
–– Can customize the web application with developer to olsCan customize the web application with developer to ols
•• Developer environmentDeveloper environment–– For programmersFor programmers
–– Use an integrated development environment (IDE)Use an integrated development environment (IDE)•• .NET: Visual Studio 2005, Visual Web Developer Expr ess (free fro.NET: Visual Studio 2005, Visual Web Developer Expr ess (free fro m Microsoft) or other m Microsoft) or other
developer tools (developer tools ( DreamweaverDreamweaver , etc.), etc.)
•• Java: Eclipse, Sun Java Studio Creator, etc.Java: Eclipse, Sun Java Studio Creator, etc.
–– Use Web Mapping Application template or add Web cont rols to a neUse Web Mapping Application template or add Web cont rols to a ne w or existing w or existing web applicationweb application
2626
What can I add to a Web mapping application?What can I add to a Web mapping application?
•• ToolbarToolbar
•• MapMap
•• TasksTasks
–– QueryQuery
–– SearchSearch
–– Find addressFind address
–– EditingEditing
•• Overview MapOverview Map
•• MoreMore ……
2727
AgendaAgenda
•• ArcGIS Server OverviewArcGIS Server Overview
•• GIS ServicesGIS Services
•• Author, Serve, UseAuthor, Serve, Use
•• DEMODEMO
•• Map CachingMap Caching
•• Web Mapping ApplicationsWeb Mapping Applications
•• GIS TasksGIS Tasks
•• DEMODEMO
•• Service CapabilitiesService Capabilities
•• DEMODEMO
•• Webservice accessWebservice access
•• DEMODEMO
•• Web ADF IntroductionWeb ADF Introduction
•• DEMODEMO
•• Further ResourcesFurther Resources
•• Questions and CommentsQuestions and Comments
2828
Adding functionality through tasksAdding functionality through tasks
•• Tasks are used toTasks are used to–– Ask questionsAsk questions
–– Display answersDisplay answers
•• OutOut --ofof --thethe --box tasksbox tasks–– EditingEditing
–– Find AddressFind Address
–– Find PlaceFind Place
–– GeoprocessingGeoprocessing
–– Query AttributesQuery Attributes
–– Search AttributesSearch Attributes
•• Custom tasks with Custom tasks with
Task FrameworkTask Framework
2929
Web TasksWeb Tasks
•• EditorEditor–– The Editor task provides a suite of tools for WebThe Editor task provides a suite of tools for Web --based editing of based editing of
features in a versioned geodatabase.features in a versioned geodatabase.
3030
Web TasksWeb Tasks
•• Find AddressFind Address–– The Find Address task prompts the user for an addre ss, The Find Address task prompts the user for an addre ss,
then displays the resulting address on the map then displays the resulting address on the map
•• Find PlaceFind Place–– allows a user to type in the name of the place to s earch for allows a user to type in the name of the place to s earch for
on the map on the map
•• GeoprocessingGeoprocessing–– Executing GP Services on the WebExecuting GP Services on the Web
3131
Demo: Web Mapping ApplicationDemo: Web Mapping Application
•• Publishing and caching map resourcePublishing and caching map resource
•• Walkthrough of ManagerWalkthrough of Manager ’’s Web Application Creation s Web Application Creation w/multiple data sourcesw/multiple data sources
•• Adding out of the box tasksAdding out of the box tasks
3232
3333
3434
3535
3636
3737
3838
3939
4040
AgendaAgenda
•• ArcGIS Server OverviewArcGIS Server Overview
•• GIS ServicesGIS Services
•• Author, Serve, UseAuthor, Serve, Use
•• DEMODEMO
•• Map CachingMap Caching
•• Web Mapping ApplicationsWeb Mapping Applications
•• GIS TasksGIS Tasks
•• DEMODEMO
•• Service CapabilitiesService Capabilities
•• DEMODEMO
•• Webservice accessWebservice access
•• DEMODEMO
•• Web ADF IntroductionWeb ADF Introduction
•• DEMODEMO
•• Further ResourcesFurther Resources
•• Questions and CommentsQuestions and Comments
4141
Service CapabilitiesService Capabilities
4242
AgendaAgenda
•• ArcGIS Server OverviewArcGIS Server Overview
•• GIS ServicesGIS Services
•• Author, Serve, UseAuthor, Serve, Use
•• DEMODEMO
•• Map CachingMap Caching
•• Web Mapping ApplicationsWeb Mapping Applications
•• GIS TasksGIS Tasks
•• DEMODEMO
•• Service CapabilitiesService Capabilities
•• DEMODEMO
•• Webservice accessWebservice access
•• DEMODEMO
•• Web ADF IntroductionWeb ADF Introduction
•• DEMODEMO
•• Further ResourcesFurther Resources
•• Questions and CommentsQuestions and Comments
4343
4444
4545
Demo: KML Services from ArcGIS ServerDemo: KML Services from ArcGIS Server
4646
4747
4848
AgendaAgenda
•• ArcGIS Server OverviewArcGIS Server Overview
•• GIS ServicesGIS Services
•• Author, Serve, UseAuthor, Serve, Use
•• DEMODEMO
•• Map CachingMap Caching
•• Web Mapping ApplicationsWeb Mapping Applications
•• GIS TasksGIS Tasks
•• DEMODEMO
•• Service CapabilitiesService Capabilities
•• DEMODEMO
•• Webservice accessWebservice access
•• DEMODEMO
•• Web ADF IntroductionWeb ADF Introduction
•• DEMODEMO
•• Further ResourcesFurther Resources
•• Questions and CommentsQuestions and Comments
4949
Web Enabled GIS ServicesWeb Enabled GIS Services
•• Allows any SOAP Webservice client to call published GIS Allows any SOAP Webservice client to call published GIS resources directly resources directly –– client does not need ArcGIS or ArcObjectsclient does not need ArcGIS or ArcObjects
•• ““ EndpointsEndpoints ”” generated by ArcGIS Server automaticallygenerated by ArcGIS Server automatically
•• Alternatively custom web services can be built out of ArcObjectsAlternatively custom web services can be built out of ArcObjects
5050
Example:Example:What can you do with a Map Service?What can you do with a Map Service?
•• Map requestsMap requests
•• QueriesQueries
•• Coordinate CalculationCoordinate Calculation
•• Retrieve Service informationRetrieve Service information
5151
Demo: Accessing GIS Web ServicesDemo: Accessing GIS Web Services
5252
5353
AgendaAgenda
•• ArcGIS Server OverviewArcGIS Server Overview
•• GIS ServicesGIS Services
•• Author, Serve, UseAuthor, Serve, Use
•• DEMODEMO
•• Map CachingMap Caching
•• Web Mapping ApplicationsWeb Mapping Applications
•• GIS TasksGIS Tasks
•• DEMODEMO
•• Service CapabilitiesService Capabilities
•• DEMODEMO
•• Webservice accessWebservice access
•• DEMODEMO
•• Web ADF IntroductionWeb ADF Introduction
•• DEMODEMO
•• Further ResourcesFurther Resources
•• Questions and CommentsQuestions and Comments
5454
What is an Application Developer Framework (ADF)?What is an Application Developer Framework (ADF)?
1.1. A set of components for creating applicationsA set of components for creating applications•• Controls, templates, classesControls, templates, classes
2.2. Software developer kit (SDK)Software developer kit (SDK)•• Documentation, walkDocumentation, walk --throughsthroughs , samples, samples
5555
ArcGIS Server 9.2: Software Development KitArcGIS Server 9.2: Software Development Kit
•• Build and deploy web & enterprise geospatial applic ations and seBuild and deploy web & enterprise geospatial applic ations and se rvicesrvices
•• Productivity boost with outProductivity boost with out --ofof --thethe --box IDE integrationbox IDE integration
•• Software Development Kit (SDK) includes :Software Development Kit (SDK) includes :–– .NET components.NET components
•• Web ADFWeb ADF
•• Mobile ADFMobile ADF
–– Java componentsJava components•• Web ADFWeb ADF
•• Enterprise ADF Enterprise ADF
Software Development Kit (SDK)Software Development Kit (SDK)
.NET.NET JavaJavaMobileMobile
ArcGISArcGISMobileMobileWeb mapWeb map
ApplicationsApplications
BusinessBusinessApplicationsApplications
EnterpriseEnterpriseWebWeb WebWeb
Integration Environment
Plus thePlus theArcGIS ExplorerArcGIS ExplorerSDK for custom tasksSDK for custom tasks
5656
Architecutural Components of ArcGIS ServerArchitecutural Components of ArcGIS Server
Coarse-grainedArcObjects
Back OfficeBack OfficeServerServer
WebControls
ApplicationApplicationDevelopersDevelopersFrameworkFramework
ApplicationsApplications
CompositeApplications
ArcGIS MobileApplications
ArcGIS WebMap Applications
ArcGISExplorer
ArcGISDesktop
Fine-grainedArcObjects
WebServices
SoftwareSoftwareComponentsComponents
2D Mapping 3D Globe Geodatabase Locator Spatial Analysis
GISGISResourcesResources
5757
Developing Web ApplicationsDeveloping Web Applications
•• Choices on how to get started developingChoices on how to get started developing–– BeginnerBeginner: Edit the web application created in the Website M anager: Edit the web application created in the Website M anager
–– IntermediateIntermediate: Start from a template integrated into the develop ment : Start from a template integrated into the develop ment environmentenvironment
–– AdvancedAdvanced: Start from web controls or : Start from web controls or TypesTypes
•• Use Use Environment like VisualEnvironment like Visual Studio (.NET)Studio (.NET)
•• Comprehensive Software Developer KitComprehensive Software Developer Kit
5858
Edit the Application Created by ManagerEdit the Application Created by Manager
Easy transition from Website Manager to a development environmenEasy transition from Website Manager to a development environmentt
5959
Start with Web Mapping Application TemplateStart with Web Mapping Application Template
ESRI Web Mapping Application Template gets ESRI Web Mapping Application Template gets installed into the development environmentinstalled into the development environment
6060
Develop Using the ESRI Web ControlsDevelop Using the ESRI Web Controls
ESRI Web Controls get installed into the development environmentESRI Web Controls get installed into the development environment
6161
Web ADF Web ControlsWeb ADF Web Controls
•• 21+ Web Controls & Tasks21+ Web Controls & Tasks–– All AJAX EnabledAll AJAX Enabled
–– Support for ADF Support for ADF DatasourcesDatasources
–– Enhanced for performanceEnhanced for performance
6262
FloatingPanelFloatingPanel ControlControl
•• CompositeControlCompositeControl
•• Container for one or more Web controlsContainer for one or more Web controls
•• Rendered as a CSSRendered as a CSSin a browserin a browser
6363
Web ADF Graphics LayerWeb ADF Graphics Layer
•• Extends Extends System.Data.DatasetSystem.Data.Dataset
•• Collection of Collection of DataTablesDataTables ::–– ElementGraphicsLayerElementGraphicsLayer
•• Store geometry and symbol together, per rowStore geometry and symbol together, per row
•• Multiple geometry type in the same layerMultiple geometry type in the same layer
–– FeatureGraphicsLayerFeatureGraphicsLayer•• Store geometry and attributesStore geometry and attributes
•• Geometry should be the same typeGeometry should be the same type
•• Use feature Use feature rendererrenderer to apply symbolization to apply symbolization
6464
AgendaAgenda
•• ArcGIS Server OverviewArcGIS Server Overview
•• GIS ServicesGIS Services
•• Author, Serve, UseAuthor, Serve, Use
•• DEMODEMO
•• Map CachingMap Caching
•• Web Mapping ApplicationsWeb Mapping Applications
•• GIS TasksGIS Tasks
•• DEMODEMO
•• Service CapabilitiesService Capabilities
•• DEMODEMO
•• Webservice accessWebservice access
•• DEMODEMO
•• Web ADF IntroductionWeb ADF Introduction
•• DEMODEMO
•• Further ResourcesFurther Resources
•• Questions and CommentsQuestions and Comments
6565
Demo: Custom Task: Demo: Custom Task: ““ GeoRSS ReaderGeoRSS Reader ””
6666
Demo: Custom ApplicationDemo: Custom Application --““ DirectorDirector ’’s Viewer for Inspection Requestss Viewer for Inspection Requests ””
6767
Editions and Levels of ArcGIS ServerEditions and Levels of ArcGIS Server
Standard features plusStandard features plus
•• Advanced geoprocessingAdvanced geoprocessing
•• Web editingWeb editing
•• Mobile ADF (Enterprise level)Mobile ADF (Enterprise level)
Basic features plusBasic features plus
•• Map, globe, geocoding, Map, globe, geocoding, geoprocessing (geoprocessing ( ArcViewArcView tools)tools)
•• Web ADFWeb ADF
•• ArcSDEArcSDE
•• Geodata services for replicationGeodata services for replication
Edition includesEdition includes
LevelLevel
EditionEdition
AdvancedAdvanced
StandardStandard
•• Any Any supported supported databasedatabase
•• Unlimited Unlimited usersusers
•• SQL Server SQL Server ExpressExpress
•• 10 users10 users
BasicBasic
EnterpriseEnterpriseWorkgroupWorkgroup
Fun
ctio
nalit
yF
unct
iona
lity
CapacityCapacity
6868
ResourcesResources
•• In the boxIn the box–– ArcGIS Server HelpArcGIS Server Help
–– Developer Help (SDK)Developer Help (SDK)
•• OnlineOnline–– Web Help Web Help –– http://webhelp.esri.comhttp://webhelp.esri.com
•• Online version of Server HelpOnline version of Server Help
•• Updated frequentlyUpdated frequently
–– ESRI Developer Network ESRI Developer Network –– http://edn.esri.comhttp://edn.esri.com•• All SDK documentation and samples All SDK documentation and samples -- updatedupdated
•• User forumsUser forums
•• UserUser --submitted samples (ArcScripts)submitted samples (ArcScripts)
–– ArcGIS Server Blog ArcGIS Server Blog –– http://blogs.esri.comhttp://blogs.esri.com
–– Support.esri.comSupport.esri.com•• White papers, bug database, etc.White papers, bug database, etc.
•• Training Training –– http://training.esri.comhttp://training.esri.com
6969
Questions and Comments?Questions and Comments?