editing geodatabases over the web using arcgis...

49
Editing GeoDatabases over the Web using ArcGIS Server Roop Goyal Sud Menon Roop Goyal, Sud Menon

Upload: phamthien

Post on 15-Jun-2019

241 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Editing GeoDatabases over the Web using g gArcGIS Server

Roop Goyal Sud MenonRoop Goyal, Sud Menon

Page 2: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

ScheduleScheduleScheduleSchedule

Presentation: ~60 minutes.Q&A 15 Mi tQ&A: ~15 Minutes

Please ensure that your cell phones are switched off. Thanks!

Page 3: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

OutlineOutlineOutlineOutline

•• Editing over the Web Editing over the Web

•• Feature Service Architecture and APIsFeature Service Architecture and APIs•• Feature Service Architecture and APIsFeature Service Architecture and APIs

•• Feature Service Information ModelFeature Service Information Model

•• Authoring and Publishing a Feature ServiceAuthoring and Publishing a Feature Service

•• Other GeoDatabase Editing SolutionsOther GeoDatabase Editing Solutions

•• ConclusionsConclusions

Page 4: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Editing over the Web Editing over the Web

•• Allows people to easily contribute and edit geographicAllows people to easily contribute and edit geographic•• Allows people to easily contribute and edit geographic Allows people to easily contribute and edit geographic information :information :

–– Volunteered Geographic Information (VGI)Volunteered Geographic Information (VGI)–– User Generated Content (UGC)User Generated Content (UGC)–– Crowd sourcing of informationCrowd sourcing of information

•• Over the Internet using a webOver the Internet using a web--browser or mobile devicebrowser or mobile device

•• Applications include :Applications include :–– 311 applications to gather citizen reported incidents 311 applications to gather citizen reported incidents –– Citizen ScienceCitizen ScienceCitizen ScienceCitizen Science–– Emergency ResponseEmergency Response–– ……

Page 5: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Editing over the Web (contd )Editing over the Web (contd )Editing over the Web.. (contd.)Editing over the Web.. (contd.)

•• VGI ApplicationsVGI Applications–– Sketch point, line, and polygon features on a mapSketch point, line, and polygon features on a map–– Provide an appropriate DescriptionProvide an appropriate Descriptionpp p ppp p p–– Attach photos, videosAttach photos, videos

St t d EditiSt t d Editi•• Structured EditingStructured Editing–– Authoritative Information ModelsAuthoritative Information Models–– Edit features withEdit features with

•• Predefined attribute schema Predefined attribute schema •• Restrictions on the attribute valuesRestrictions on the attribute values

•• Feature Service (new at 10) supports both types of information, Feature Service (new at 10) supports both types of information, including combinationsincluding combinations

Page 6: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

ArcGIS Server 10ArcGIS Server 10 -- Web EditingWeb EditingArcGIS Server 10 ArcGIS Server 10 -- Web Editing Web Editing

•• Extends editing to all web Extends editing to all web clientsclients

–– Javascript, Flex, Javascript, Flex, p , ,p , ,Silverlight, iPhone, …Silverlight, iPhone, …

•• Ability to build light andAbility to build light and•• Ability to build light and Ability to build light and intuitive user experiences intuitive user experiences for web users for web users

•• Scalable editing for large Scalable editing for large user communitiesuser communitiesuser communities user communities

Page 7: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

WebWeb--Editing ArchitectureEditing ArchitectureWebWeb--Editing ArchitectureEditing Architecture

Mobile Mobile DevicesDevicesFeature ServiceFeature Service

InternetInternet

Web Web BrowsersBrowsers

ArcGIS ServerArcGIS Server

o se so se s

GeodatabaseGeodatabase ArcGIS ArcGIS DesktopsDesktopsDesktopsDesktops[ Oracle, Sql Server, Postgres, … ][ Oracle, Sql Server, Postgres, … ]

Page 8: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

APIs for Web EditingAPIs for Web EditingAPIs for Web EditingAPIs for Web Editing

JavascriptJavascript

Web Web BrowserBrowser

Web Web ApplicationsApplications

Javascript Javascript APIAPI

FlexFlexHTTPHTTP

RESTREST

ApplicationsApplications

Silverlight Silverlight

Flex Flex APIAPIHTTPHTTP

ArcGIS ArcGIS ServerServer iPhone iPhone

AA

ggAPIAPI

iPhone iPhone AppsAppsAPIAPI

Page 9: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Feature Service Information ModelFeature Service Information Model

•• Features are used to represent real world entities such as Features are used to represent real world entities such as schools, parcels and valves.schools, parcels and valves.

•• Features include symbology, attributes, relationships and Features include symbology, attributes, relationships and attachments.attachments.

•• Features are organized into Layers and Types.Features are organized into Layers and Types.

•• Each Layer has a set of TypesEach Layer has a set of Types•• Each Layer has a set of Types.Each Layer has a set of Types.

•• Each Type has a set of prototypical instances called Templates.Each Type has a set of prototypical instances called Templates.

Page 10: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Feature Service Information Model

Feature Service

Feature Service Information Model

*Layer*

Feature Geometry0..1

*

Layer

Attribute

y

*Field typeof

10..1 *

Attribute*

Domain

1

Template Name Value*Type

Symbol1

Page 11: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Demo 1: Wild Fire DemoDemo 1: Wild Fire DemoDemo 1: Wild Fire DemoDemo 1: Wild Fire Demo

•• Quick intro of the whole process Quick intro of the whole process

•• http://jaladhi/ArcGIS/rest/services/Wildfire/FeatureServerhttp://jaladhi/ArcGIS/rest/services/Wildfire/FeatureServer•• http://jaladhi/ArcGIS/rest/services/Wildfire/FeatureServerhttp://jaladhi/ArcGIS/rest/services/Wildfire/FeatureServer–– ReRe--run the Flex Samplerun the Flex Sample

Page 12: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Demo 2: REST resource view of LayersDemo 2: REST resource view of LayersDemo 2: REST resource view of Layers Demo 2: REST resource view of Layers [ with Types, Templates, Domains ][ with Types, Templates, Domains ]

•• Homeland operationsHomeland operations

•• http://jaladhi/ArcGIS/rest/services/HomelandOperations/Fehttp://jaladhi/ArcGIS/rest/services/HomelandOperations/Fe•• http://jaladhi/ArcGIS/rest/services/HomelandOperations/Fehttp://jaladhi/ArcGIS/rest/services/HomelandOperations/FeatureServer/2atureServer/2

•• http://jaladhi/ArcGIS/SDK/REST/index.html?catalog.htmlhttp://jaladhi/ArcGIS/SDK/REST/index.html?catalog.html

Page 13: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Operations on a LayerOperations on a LayerOperations on a LayerOperations on a Layer

•• Query Query

•• Query Related RecordsQuery Related Records•• Query Related RecordsQuery Related Records

•• Add FeaturesAdd Features

•• Delete FeaturesDelete Features

•• Update FeaturesUpdate Features

•• Apply EditsApply Edits

Page 14: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

FeatureFeatureFeatureFeature

•• GeometryGeometry

•• AttributesAttributes

Geometry

*•• AttributesAttributes

•• Time attributes are supportedTime attributes are supported Feature

Attribute*

–– Time metadata is in LayerTime metadata is in Layer

•• The feature can haveThe feature can have

Attachment*Has

•• The feature can have The feature can have –– AttachmentsAttachments–– Relationships with the features Relationships with the features

Feature*Related to

in other layers/ tablesin other layers/ tables* many

composed of

Page 15: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

AttachmentsAttachmentsAttachmentsAttachments

•• Attachments can be used to attach media and documents to a Attachments can be used to attach media and documents to a featurefeature

–– Picture, video, pdf , …Picture, video, pdf , …Stored in the geodatabase in an associated tableStored in the geodatabase in an associated table–– Stored in the geodatabase in an associated tableStored in the geodatabase in an associated table

•• A feature can have multiple attachments.A feature can have multiple attachments.–– Attachments can be added and deletedAttachments can be added and deleted–– When the object is deleted attachments are automatically removedWhen the object is deleted attachments are automatically removed–– When the object is deleted, attachments are automatically removed When the object is deleted, attachments are automatically removed

Page 16: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Attachments (contd )Attachments (contd )Attachments (contd.)Attachments (contd.)

A f t h li t f li ht i ht Att h tI fA f t h li t f li ht i ht Att h tI f•• A feature has a list of lightweight AttachmentInfos.A feature has a list of lightweight AttachmentInfos.

•• Applications can fetch AttachmentInfos to obtain :Applications can fetch AttachmentInfos to obtain :Applications can fetch AttachmentInfos to obtain :Applications can fetch AttachmentInfos to obtain :–– names, types and sizes of attachments to present to the usernames, types and sizes of attachments to present to the user

•• Full Attachment can be downloaded if the user decides to view Full Attachment can be downloaded if the user decides to view or download itor download it

Page 17: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

RelationshipsRelationshipsRelationshipsRelationships

•• A feature may be related to features in other layersA feature may be related to features in other layersA feature may be related to features in other layersA feature may be related to features in other layers

–– Related features are queried from the Related features are queried from the sourcesource layer by supplying the layer by supplying the id f th f tid f th f tids of the source features ids of the source features

–– The returned features belong to a The returned features belong to a targettarget layerlayer

•• Information on available relationships is available at the Information on available relationships is available at the layer/table levellayer/table levellayer/table levellayer/table level

•• Relationships are maintained in the geodatabaseRelationships are maintained in the geodatabasep gp g

•• Deleting features deletes applicable relationshipsDeleting features deletes applicable relationships

Page 18: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Relationships Example: View In GeoDatabaseRelationships Example: View In GeoDatabase

Page 19: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Relationships Example: View in REST ServicesRelationships Example: View in REST ServicesRelationships Example: View in REST ServicesRelationships Example: View in REST Services

Relationship Labels are used to name the Relationships in Feature Service

Page 20: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

TimeTimeTimeTime

•• Time information is available in Layer propertiesTime information is available in Layer properties–– Start and End field, TimeExtent, TimeReference…Start and End field, TimeExtent, TimeReference…

•• Can query based on timeCan query based on timeCan query based on time .Can query based on time .•• Can set time for the time fields and add/ update time aware Can set time for the time fields and add/ update time aware

features.features.

Page 21: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

TableTableTableTable

•• A Service has Tables, just like it has LayersA Service has Tables, just like it has Layers

•• A single layer / table resource in RESTA single layer / table resource in REST•• A single layer / table resource in RESTA single layer / table resource in REST–– Table does not have symbols. Table does not have symbols. –– Features/Objects queried out of aTable don’t have geometry.Features/Objects queried out of aTable don’t have geometry.

•• Tables can be queried for the objects Tables can be queried for the objects

•• Edits can be made via the standard operationsEdits can be made via the standard operations

•• Supports Attachments, Relationship, and TimeSupports Attachments, Relationship, and Time

Page 22: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Demo 3: Attachment Relationship Table andDemo 3: Attachment Relationship Table andDemo 3: Attachment, Relationship, Table, and Demo 3: Attachment, Relationship, Table, and TimeTime

•• Building Attachments, Building Attachments, –– Show the Attachment in ArcCatalogShow the Attachment in ArcCatalog–– REST view and REST view and SS–– Flex SampleFlex Sample

•• Oil Wells relationships with Fields and TOPS tableOil Wells relationships with Fields and TOPS tableCC–– Relationship in ArcCatalogRelationship in ArcCatalog

–– Relationship on the REST pageRelationship on the REST page–– Online Flex Sample: FeatureLayer/ Relationship samples in Online Flex Sample: FeatureLayer/ Relationship samples in p y p pp y p p

•• Earthquake Layer for TimeEarthquake Layer for Time–– Layer’s Time properties in ArcMapLayer’s Time properties in ArcMap

Ti ti i REST iTi ti i REST i–– Time properties in REST resource viewTime properties in REST resource view–– Flex Sample for Earthquake animationFlex Sample for Earthquake animation

Page 23: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Demo 3: Attachments and RelationshipsDemo 3: Attachments and RelationshipsDemo 3: Attachments and RelationshipsDemo 3: Attachments and Relationships

•• Building Attachments, Building Attachments, –– Show the Attachment in ArcCatalogShow the Attachment in ArcCatalog–– REST view and REST view and SS–– Flex SampleFlex Sample

•• Related Record Query on Fields LayerRelated Record Query on Fields Layer

Page 24: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Publishing a Feature ServicePublishing a Feature ServicePublishing a Feature ServicePublishing a Feature Service

•• A Feature Service is defined by a Map and the Geodatabase A Feature Service is defined by a Map and the Geodatabase that it referencesthat it referencesthat it referencesthat it references

•• Author Author –– Author the GeoDatabaseAuthor the GeoDatabase–– Author the Map Author the Map

•• Publish the map, enabling feature accessPublish the map, enabling feature access

•• Use resulting feature service in web/ mobile appsUse resulting feature service in web/ mobile apps

Page 25: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Types of GeodatabasesTypes of GeodatabasesTypes of GeodatabasesTypes of GeodatabasesGeodatabase

Oracle•• Enterprise GeodatabasesEnterprise Geodatabases

–– Stored in a spatially enabled enterprise RDBMSStored in a spatially enabled enterprise RDBMS

SQL ServerDB2

InformixPostgreSQLStored in a spatially enabled enterprise RDBMSStored in a spatially enabled enterprise RDBMS

–– Multiuser editing modelMultiuser editing model–– Extended with versioning , long transactions, historical archiving, Extended with versioning , long transactions, historical archiving,

replicationreplication

PostgreSQL

replicationreplication

•• File GeodatabasesFile Geodatabases

–– Single user editing modelSingle user editing modelUsed for GIS Project workUsed for GIS Project work

GeodatabaseFileSystem–– Used for GIS Project workUsed for GIS Project work

–– Supports large local datasets with high performanceSupports large local datasets with high performance

y

Page 26: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Authoring the GeoDatabaseAuthoring the GeoDatabaseAuthoring the GeoDatabaseAuthoring the GeoDatabase

•• Connect to an Enterprise GeoDatabaseConnect to an Enterprise GeoDatabaseConnect to an Enterprise GeoDatabaseConnect to an Enterprise GeoDatabase–– Multi user transactional databaseMulti user transactional database–– Oracle, MS SQL Server, PostgreSQL, Informix, DB2Oracle, MS SQL Server, PostgreSQL, Informix, DB2

•• Define Define Geodatabase Schema Geodatabase Schema ::–– Create Create Point, Line, and Polygon Feature Classes Point, Line, and Polygon Feature Classes for the Layers for the Layers , , yg, , yg yy

and any non spatial and any non spatial Tables Tables –– To constrain a field’s value to valid ones, add To constrain a field’s value to valid ones, add DomainsDomains–– To model Type specific domains and default values addTo model Type specific domains and default values add SubtypesSubtypes–– To model Type specific domains and default values add To model Type specific domains and default values add SubtypesSubtypes

to your feature classesto your feature classes–– To model Relationships, create To model Relationships, create Relationship ClassesRelationship Classes

T d l Att h t ddT d l Att h t dd Att h tAtt h t–– To model Attachments add To model Attachments add AttachmentsAttachments. .

Page 27: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Authoring the GeoDatabase (contd )Authoring the GeoDatabase (contd )Authoring the GeoDatabase (contd.)Authoring the GeoDatabase (contd.)

•• Can use preCan use pre--existing Geodatabases existing Geodatabases •• Can start with PreCan start with Pre--existing featuresexisting features

Page 28: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Authoring the MapAuthoring the Map

•• Add Feature Classes and Tables to ArcMapAdd Feature Classes and Tables to ArcMap

•• Set the field properties for each LayerSet the field properties for each LayerVisibilityVisibility–– VisibilityVisibility

–– ReadRead--OnlyOnly–– AliasesAliases

•• Define time fields for Layers, if applicableDefine time fields for Layers, if applicable

D fi T f L b tti U i V l R dD fi T f L b tti U i V l R d•• Define Types for Layers by setting up a Unique Value Renderer Define Types for Layers by setting up a Unique Value Renderer (UVR) on a field with distinct values(UVR) on a field with distinct values

–– UVR field will be the TypeID field for the layerUVR field will be the TypeID field for the layer–– UVR field must be the geodatabase subtype field if presentUVR field must be the geodatabase subtype field if present

Page 29: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Authoring the Map (contd )Authoring the Map (contd )Authoring the Map (contd.)Authoring the Map (contd.)

•• If no types (i.e a single type) then define a Simple Renderer for If no types (i.e a single type) then define a Simple Renderer for yp ( g yp ) pyp ( g yp ) pthe Layer the Layer

F li F t ClF li F t Cl•• For line FeatureClassesFor line FeatureClasses–– Use simple line symbols, Use simple line symbols, –– Other symbols will get converted to simple line symbolsOther symbols will get converted to simple line symbolsy g p yy g p y

•• For polygon FeatureClases, use simple or picture fill symbols, For polygon FeatureClases, use simple or picture fill symbols, –– others symbols will get converted to simple fill symbols others symbols will get converted to simple fill symbols

Page 30: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Authoring the Map (contd )Authoring the Map (contd )Authoring the Map (contd.)Authoring the Map (contd.)

•• By Default a Template is created for each By Default a Template is created for each –– Type Type

•• If the Layer has types / a Unique Value Render If the Layer has types / a Unique Value Render y yp qy yp q–– Layer Layer

•• if no types / a Simple Renderer if no types / a Simple Renderer

•• Create additional templates for the type or layer as neededCreate additional templates for the type or layer as needed•• Create additional templates for the type or layer, as neededCreate additional templates for the type or layer, as needed

•• Edit attribute values in templates as needed Edit attribute values in templates as needed pp

Page 31: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Publishing the MapPublishing the MapPublishing the MapPublishing the Map

•• Publish the Map in ArcCatalog Publish the Map in ArcCatalog •• Enable the ‘Enable the ‘Feature AccessFeature Access’ Capability for the Map Service’ Capability for the Map Service•• EnableEnable QueryQuery andand EditEdit operations for this Capabilityoperations for this Capability•• Enable Enable QueryQuery and and EditEdit operations for this Capabilityoperations for this Capability•• Create the ServiceCreate the Service

•• ArcGIS Server Security applies to Feature ServicesArcGIS Server Security applies to Feature Services–– Set permissions on the published serviceSet permissions on the published service

•• Browse REST Services folder and find the Service’ urlBrowse REST Services folder and find the Service’ url–– http://jaladhi/ArcGIS/rest/services/Buildings/FeatureServerhttp://jaladhi/ArcGIS/rest/services/Buildings/FeatureServerp j gp j g

•• Use REST url in Web Application/ iPhone ApplicationUse REST url in Web Application/ iPhone Application

Page 32: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Geometry ServiceGeometry Service

•• Provides basic geometric operations for use by thin clientsProvides basic geometric operations for use by thin clients

•• A stateless computational service, not bound to any data on A stateless computational service, not bound to any data on the serverthe server

•• Takes and returns arrays of geometriesTakes and returns arrays of geometries

•• Any Any ArcGISArcGIS Server can host a Geometry ServiceServer can host a Geometry Service–– Administrator manages the number of instances (threads)Administrator manages the number of instances (threads)

•• Can be scaled out across the server clusterCan be scaled out across the server cluster•• Can be scaled out across the server clusterCan be scaled out across the server cluster

•• Exposes the ESRI Topology / Geometry engine to the webExposes the ESRI Topology / Geometry engine to the web

Page 33: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Geometry ServiceGeometry Servicehttp://http://<rest<rest--servicesservices--url>url>/<serviceName>/GeometryServer /<serviceName>/GeometryServer

Simplify - Returns an array of simplified geometries. Project - Returns an array of projected geometries. Buffer - Returns an array of polygons at the specified distances for the input geometry. An option is available to union buffer polygons at each distance.

Areas and lengths - Calculates areas and perimeter lengths for each polygon specified in the input array. Lengths - Calculates the lengths of each polyline specified in the input array.

Relation - Determines the pairs of geometries from the input geometry arrays that participate in the specified spatial relation.

Label Points - Calculates an interior point for each polygon specified in the input array. Convex Hull - Returns the Convex Hull of the input geometry.

Densify - Densifies geometries by plotting intermediate points between existing vertices. Generalize - Returns generalized (Douglas-Poiker) versions of the input geometries.

Cut - Splits the input polyline or polygon where it crosses a cutting polyline. Offset - Constructs the offset of the given input polyline based on an offset distance. Auto Complete - Simplifies the process of constructing polygons that are adjacent to other polygons. Reshape - Reshapes a polyline or a part of a polygon using a reshaping line. Trim / Extend - Trims / Extends each polyline specified in the input array, using the user specified guide polylines.

Union - Constructs the set-theoretic union of the input geometries. Intersect - Constructs the set-theoretic intersection between an array of geometries and another geometry. Difference - Constructs the set-theoretic difference between an array of geometries and another geometry.

Page 34: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Creating your Web or Mobile AppsCreating your Web or Mobile AppsCreating your Web or Mobile AppsCreating your Web or Mobile Apps

•• In this session we used Flex Samples from the beta Resource In this session we used Flex Samples from the beta Resource CenterCenter

•• Focus of this session has been the feature serviceFocus of this session has been the feature service

•• JavascriptJavascript, Flex, Silverlight and iPhone API sessions have more , Flex, Silverlight and iPhone API sessions have more information about Web and Mobile App Developmentinformation about Web and Mobile App Development

•• Demo Apps in this session usedDemo Apps in this session used–– Feature Service REST URLFeature Service REST URL–– World street map’s REST URL pointing to ArcGIS OnlineWorld street map’s REST URL pointing to ArcGIS Online

Page 35: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Editing using DesktopEditing using DesktopEditing using DesktopEditing using Desktop

•• Scalable editing solution for webScalable editing solution for web--browsers browsers

•• Supports ArcMap as wellSupports ArcMap as well•• Supports ArcMap as wellSupports ArcMap as well

•• Easy user interaction flow for Desktop usersEasy user interaction flow for Desktop users

•• Same symbology and templates as in the map docSame symbology and templates as in the map doc

•• Advanced editing tools in ArcMapAdvanced editing tools in ArcMap

Page 36: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Editing using Desktop: User InteractionEditing using Desktop: User InteractionEditing using Desktop: User InteractionEditing using Desktop: User Interaction

•• Connect to ArcGIS Server Connect to ArcGIS Server

•• Add a MapService to ArcMap. Add a MapService to ArcMap.

•• Zoom to the desired extent.Zoom to the desired extent.

•• Select the Layer(s) that you want to editSelect the Layer(s) that you want to edit

Page 37: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Editing using Desktop: User Interaction (contd )Editing using Desktop: User Interaction (contd )Editing using Desktop: User Interaction (contd.)Editing using Desktop: User Interaction (contd.)

•• Create Local Copy for EditingCreate Local Copy for Editing. ArcMap . ArcMap –– fetches the Layers and just the necessary data and fetches the Layers and just the necessary data and –– puts them in your local GeoDatabaseputs them in your local GeoDatabasep y Gp y G

•• Edit the data in ArcMap, Edit the data in ArcMap, •• Synchronize the edits with Feature Service.Synchronize the edits with Feature Service.

Page 38: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Demo 4Demo 4Demo 4Demo 4

•• Create Local Copy Create Local Copy in ArcMapin ArcMap

•• Edit in ArcMapEdit in ArcMapEdit in ArcMapEdit in ArcMap•• SynchronizeSynchronize•• Show the edits in a Show the edits in a

webweb--browserbrowser

Page 39: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

EditingEditing GeodatabasesGeodatabases –– Different ApproachesDifferent ApproachesEditing Editing GeodatabasesGeodatabases Different ApproachesDifferent Approaches

Solution ConnectionType

Symbology Client

Web ADF Stateful Yes Web-BrowserWFS-T Stateless No WFS clientsGeoDataService

Stateless Yes (in 10) ArcMapEngine AppsService Engine Apps

MobileService

Stateless Yes ArcGIS Mobile

Feature Service

Stateless Yes Web-Browser iPhoneArcMap

Page 40: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Editing GeodatabasesEditing Geodatabases –– Web ADFWeb ADFEditing Geodatabases Editing Geodatabases Web ADFWeb ADF

•• Web ADF Web ADF

–– JSP (Java) or ASP Net Application DevelopmentJSP (Java) or ASP Net Application DevelopmentJSP (Java) or ASP.Net Application DevelopmentJSP (Java) or ASP.Net Application Development

–– ADF makes a server side, stateful connection to the ADF makes a server side, stateful connection to the GeodatabaseGeodatabaseGeodatabaseGeodatabase

–– Uses remote ArcObject calls to edit the geodatabaseUses remote ArcObject calls to edit the geodatabase

–– Large Server Side Session, expensive to ScaleLarge Server Side Session, expensive to Scale

Page 41: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

EditingEditing GeodatabasesGeodatabases –– GeodataGeodata and Mobile Servicesand Mobile ServicesEditing Editing GeodatabasesGeodatabases GeodataGeodata and Mobile Servicesand Mobile Services

•• GeoDataServiceGeoDataService–– Supports Server to Server ReplicationSupports Server to Server Replication

Supports Server to Client Replication and EditingSupports Server to Client Replication and Editing–– Supports Server to Client Replication and EditingSupports Server to Client Replication and Editing–– Equivalent to Feature Service from an ArcMap editing client Equivalent to Feature Service from an ArcMap editing client

perspectiveperspective

•• Mobile ServiceMobile Service–– Supports editing and synchronization via ArcGIS MobileSupports editing and synchronization via ArcGIS MobileSupports editing and synchronization via ArcGIS Mobile Supports editing and synchronization via ArcGIS Mobile

(Windows)(Windows)

Page 42: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

EditingEditing GeodatabasesGeodatabases –– WFSWFS--TTEditing Editing GeodatabasesGeodatabases WFSWFS--TT

•• WFSWFS--TTSupports editing based on the OGC specificationSupports editing based on the OGC specification–– Supports editing based on the OGC specificationSupports editing based on the OGC specification

–– Uses GML Simple Features ProfileUses GML Simple Features Profile–– Edit features using a WFS client Edit features using a WFS client

Page 43: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Feature ServiceFeature Service –– Editing ModelEditing ModelFeature Service Feature Service Editing Model Editing Model

•• Direct Editing over the WebDirect Editing over the Web

•• Simple Transaction ModelSimple Transaction Model•• Simple Transaction ModelSimple Transaction Model–– Each call to ApplyEdits is one transactionEach call to ApplyEdits is one transaction–– Last In WinsLast In Wins–– Can edit both short transaction (non versioned) and versioned dataCan edit both short transaction (non versioned) and versioned data

•• Can be combined with VersioningCan be combined with Versioning•• Can be combined with Versioning Can be combined with Versioning –– Web Editors share a versionWeb Editors share a version

•• Default Version or “web” versionDefault Version or “web” versionB k Offi il d t “ b” iB k Offi il d t “ b” i•• Back Office reconciles and posts “web” versionBack Office reconciles and posts “web” version

–– Use nonUse non--versioned for maximum scalability / very large scale web versioned for maximum scalability / very large scale web useuse

Page 44: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Feature ServiceFeature Service –– Editing Model (contd )Editing Model (contd )Feature Service Feature Service Editing Model (contd.)Editing Model (contd.)

•• Can be combined with Disconnected Editing Can be combined with Disconnected Editing –– Exposed to Desktop Clients (ArcMap) at this ReleaseExposed to Desktop Clients (ArcMap) at this Release–– Applications can checkout data Applications can checkout data pppp–– Periodically SynchronizePeriodically Synchronize

Page 45: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Feature Service Feature Service -- Security Security

•• Feature Services follow the standard Feature Services follow the standard ArcGISArcGIS Server Security Server Security modelmodelmodel.model.

•• You can :You can :

–– Manage the list of usersManage the list of users

–– Allow only authenticated users to use the serverAllow only authenticated users to use the server•• Based on credentials supplied by the userBased on credentials supplied by the user

–– Manage user permissions on all Manage user permissions on all GIS ServicesGIS Services

–– Allow only authorized users to use GIS ServicesAllow only authorized users to use GIS Servicesyy

–– Ensure that all communication with a GIS Service is encrypted Ensure that all communication with a GIS Service is encrypted (https)(https)

Page 46: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

ConclusionsConclusionsConclusionsConclusions

•• ArcGIS 10 introduces a new Feature Service ArcGIS 10 introduces a new Feature Service

•• Designed Designed for web for web editing and gathering of user generated editing and gathering of user generated content.content.content.content.

•• Supports a rich feature information model including symbology, Supports a rich feature information model including symbology, types, domains, relationships and attachmentstypes, domains, relationships and attachments

•• All edits flow into and can be managed in the back endAll edits flow into and can be managed in the back end•• All edits flow into and can be managed in the back end All edits flow into and can be managed in the back end GeoDatabaseGeoDatabase

•• Exposed in a wide variety of clients via easy to use Web APIsExposed in a wide variety of clients via easy to use Web APIs

Page 47: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Sessions Related to the PresentationSessions Related to the PresentationSessions Related to the PresentationSessions Related to the Presentation

•• WFS: WFS: Tue, Mar 23, 1:00pmTue, Mar 23, 1:00pm--2:15pm, Smoketree A 2:15pm, Smoketree A -- E (PSCC)E (PSCC)•• GeoDatabase Replication: GeoDatabase Replication:

–– Wed, Mar 24, 1:00pmWed, Mar 24, 1:00pm--2:15pm, Catalina/Madera (RH)2:15pm, Catalina/Madera (RH)pp p ( )p ( )

•• ArcGIS Mobile: ArcGIS Mobile: Tue, Mar 23, 4:30pmTue, Mar 23, 4:30pm--5:45pm, Primrose A (PSCC)5:45pm, Primrose A (PSCC)–– Thu, Mar 25, 8:30amThu, Mar 25, 8:30am--9:45am, Primrose A (PSCC)9:45am, Primrose A (PSCC)

Th M 25 10 15Th M 25 10 15 11 30 C t li /M d (R i )11 30 C t li /M d (R i )–– Thu, Mar 25, 10:15amThu, Mar 25, 10:15am--11:30am, Catalina/Madera (Renais…)11:30am, Catalina/Madera (Renais…)•• ADF:ADF:

–– .Net: Thu, Mar 25, 10:15am.Net: Thu, Mar 25, 10:15am--11:30am, Primrose C/D (PSCC)11:30am, Primrose C/D (PSCC)( )( )–– Java: Thu, Mar 25, 10:15amJava: Thu, Mar 25, 10:15am--11:30am, Smoketree A 11:30am, Smoketree A -- E (PSCC)E (PSCC)

•• ArcGIS Server Security:ArcGIS Server Security:N t W d M 24 2 45N t W d M 24 2 45 4 00 P i C/D (PSCC)4 00 P i C/D (PSCC)–– .Net: Wed, Mar 24, 2:45pm.Net: Wed, Mar 24, 2:45pm--4:00pm, Primrose C/D (PSCC)4:00pm, Primrose C/D (PSCC)

–– Java: Wed, Mar 24, 2:45pmJava: Wed, Mar 24, 2:45pm--4:00pm, Smoketree A 4:00pm, Smoketree A -- E (PSCC)E (PSCC)

Page 48: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Sessions Related to the Presentation (contd )Sessions Related to the Presentation (contd )Sessions Related to the Presentation (contd.)Sessions Related to the Presentation (contd.)

•• REST: REST: Tue, Mar 23, 1:00Tue, Mar 23, 1:00--2:15pm, Pasadena/Ventura/Sierra (R H)2:15pm, Pasadena/Ventura/Sierra (R H)•• Javascript APIJavascript API

–– Wed March 24 4:30pmWed March 24 4:30pm--5:45pm Primrose B (PSCC)5:45pm Primrose B (PSCC)Wed., March 24, 4:30pmWed., March 24, 4:30pm 5:45pm, Primrose B (PSCC)5:45pm, Primrose B (PSCC)–– Thu., March 25, 1:30pmThu., March 25, 1:30pm--2:45pm, Primrose B (PSCC)2:45pm, Primrose B (PSCC)

•• Flex APIFlex API–– Wed, March 24, 10:30amWed, March 24, 10:30am--11:45am, Primrose A (PSCC)11:45am, Primrose A (PSCC)–– Thu, March 25, 1:30pmThu, March 25, 1:30pm--2:45pm, Pasadena/Ventura/Sierra (RH)2:45pm, Pasadena/Ventura/Sierra (RH)

•• Silverlight APISilverlight APISilverlight APISilverlight API–– Wed, March 24, 2:45pmWed, March 24, 2:45pm--4:00pm, Primrose B (PSCC)4:00pm, Primrose B (PSCC)–– Thu, March 25, 1:30pmThu, March 25, 1:30pm--2:45pm, Catalina/Madera (RH)2:45pm, Catalina/Madera (RH)

•• iPhoneiPhone–– Wed, March 24, 4:30pmWed, March 24, 4:30pm--5:45pm, Pasadena/Ventura/Sierra (RH)5:45pm, Pasadena/Ventura/Sierra (RH)–– Thu, March 25, 1:30pmThu, March 25, 1:30pm--2:45pm, Primrose C/D (PSCC)2:45pm, Primrose C/D (PSCC)Thu, March 25, 1:30pmThu, March 25, 1:30pm 2:45pm, Primrose C/D (PSCC)2:45pm, Primrose C/D (PSCC)

Page 49: Editing GeoDatabases over the Web using ArcGIS Serverproceedings.esri.com/library/userconf/devsummit10/... · ArcGIS Server 10ArcGIS Server 10 - Web EditingWeb Editing ... • ArcGIS

Questions?Questions?Questions?Questions?

•• Thanks for your attention! Thanks for your attention!