Web Editing in ArcGIS Server


Published on

Ismael Chivite´s presentation on Esri European User Conference 2011.

Published in: Technology, Business
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Web Editing in ArcGIS Server

  1. 1. Esri International User Conference | San Diego, CA European User ConferenceTechnical Workshops | July 13,2011 2011Web Editing inArcGIS Server 10Ismael ChiviteArcGIS Server Senior Product Manager
  2. 2. Agenda • Overview of Editing in ArcGIS • The basics of Web Editing in ArcGIS Server 10 • Web Editing scenarios • Typical architectures • Q&A
  3. 3. Editing in ArcGIS 10
  4. 4. Professional GIS Editing • From ArcGIS Desktop • Editing over the local network or the internet ArcGIS Desktop • Connected or partially connected and Engine • Full editing capabilities: • Advanced snapping, COGO, network editing, topologies, feature extraction, QAQC, spatial adjustment tools • Versioning and conflict resolution, history, dimensions and Geodata Feature complex features… Service Service Multi-user geodatabase
  5. 5. Field editing (Windows Mobile)• ArcGIS Mobile Applications and SDK• Windows platform• Editing through Mobile service ArcGIS Mobile • Streamlined synchronization for partially connected environments• Tools for the field editor • GPS integration, quick snapping, touch-experience Mobile • Subset of geodatabase behavior and symbology Service Multi-user geodatabase
  6. 6. Mobile editing (iOS, Android and Windows Phone)• OOTB Application and SDK• iPhone, iPad, Windows Phone and Android devices• Editing through Feature Service ArcGIS for iOS • Only works in fully connected environments*• Quick updates • Change attributes, attach picture Feature • Simple tools for sketching Service• Focused editing Multi-user geodatabase • Development through APIs* ArcGIS Runtime SDK for iOS also supports disconnected editing
  7. 7. Web browser based editing• ArcGIS Web Mapping APIs and Web Apps• HTML, Adobe Flex, Microsoft SilverlightWPF• Editing through Feature Service ArcGIS Web Mapping APIs • Only works in fully connected environments• Quick updates • Change attributes, attach picture Feature • Simple tools for sketching Service• Focused editing Multi-user geodatabase • Development through APIs
  8. 8. Editing in ArcGIS Target Audience Tools Platform Connection GIS ServicesArcGIS Desktop Professional GIS Partially Geodata & ArcGIS Full suite Windows user connected Feature Engine Subset of tools Partially ArcGIS for Field crews, and geodatabase Windows Mobile connected MobileWindows Mobile mobile user behaviorArcGIS Runtime Attribute edits, iOS for iOS Casual user sketching and (iPhone/iPad) Fully connected Feature Android, custom tools AndroidWindows Phone ArcGIS Web Attribute edits, Web browser Casual user, Mapping APIs sketching and (HTML, Flex, Fully connected Feature focused tasks and Apps custom tools Silverlight)
  9. 9. Agenda • Overview of Editing in ArcGIS • The basics of Web Editing in ArcGIS Server 10 • Web Editing scenarios • Typical Architectures • Q&A
  10. 10. Built- Built-in geocollaboration and web editing Enabling crowd-sourcing and focused editing applications crowd- Web Browsers Desktop iPhone Handhelds And Tablets Feature Service• Feature Template based editing: Well defined Information Model• Feature Service: An editing web service for your geodatabase• Edit from many clients
  11. 11. What are Feature Templates?• A shortcut to the things that people edit• Feature Template defines: - Symbol - Editable and read-only attributes - Default values - Preferred drawing mode• Authored in ArcMap, used by all clients• Structured data collection with an intuitive user experience
  12. 12. What is a Feature Service? 3 Client renders features • New in ArcGIS Server 10 • Designed for web editing 2 Query 1 Geometry - Push changes into the geodatabase over the internet Attributes Add 4 • Also excellent for querying Delete Update - Fetch geometries and attributes - Client renders features (Thematic mapping, maptips…) • Stateless, quick, RESTful service Feature Service Geodatabase How Feature Services work? (Simplified)
  13. 13. How to create a web editing application? Prepare Create Use UseCreate your data Feature Applicationand templates Service
  14. 14. Preparing your data • Define your geodatabase model - Feature types (geometry, attributes, attachments) - Not supported: Dimensions, TINs, Rasters… - Business rules - Default attributes, domains, subtypes, relationships… • Make sure it can be edited - Must be registered within an ArcSDE geodatabase - Grant read-write permissions - No need to version your data Tip: If ArcMap cannot edit it, a Feature Service will not either
  15. 15. Authoring your map document for editing • Define your feature templates in ArcMap - Field visibility, field-name aliases, read-only fields, default attributes - Symbology (not all renderers and symbols are supported. See next slide) - Preferred drawing mode: Freehand, polygon, rectangle… • Refine your map document - If versioned, select the version to edit - Eliminate unnecessary data from your map document - Author, credits, summary etc
  16. 16. Feature Services and ArcGIS symbology • Supported renderers: - Simple, Unique Value, Class Breaks • Symbology: - All symbols are supported, but your client may downgrade* - Simple Marker and Picture Marker symbols - Simple Line symbols - Simple and Picture Fill supported * Well… there are ways to prevent that. We will see that later!
  17. 17. Feature Service symbology demo
  18. 18. Publishing your Feature Service • Feature Service is a capability of a map service • Must publish a map service, then enable Feature Access - Tip: Ideally publish from an MSD. Not an MXD • Securable like any other service From ArcGIS Desktop From ArcGIS Server Manager
  19. 19. If things go wrong…• Common reasons why a Feature Service will not start: • ArcGIS SOC user cannot access the data • No editable ArcSDE workspace in your map • More than one ArcSDE workspace in your map • Renderer not supported• Look at the logs! Symbology downgrades will show as warnigns, but your service will publish. warnigns,
  20. 20. The Services Directory view • of your Feature Service Your Map ServiceIt’s Feature Service Templates
  21. 21. Selecting the right client for the job Professional Desktop seats ArcMap, AutoCAD Full blown editing Check-in-out model + Fully connected Browsers and iPad-like Update attributes Simple non-accurate sketching (point, line, poly) Fully connected Phones iPhone, Android Update attributes Simple non-accurate point collection Fully connected
  22. 22. Feature Service Basics Demo • Authoring the Map and Editing Templates • Publishing the service • Using it
  23. 23. Agenda • Overview of Editing in ArcGIS • The basics of Web Editing in ArcGIS Server 10 • Web Editing scenarios • Typical Architectures • Q&A
  24. 24. Web Editing Scenarios • Web Editing with the Viewers • Attachments • Handling complex symbology/geometries • Attribute Edits • Sophisticated Web Editing
  25. 25. Web Editing with the Viewers Configurable out of the box applications • Configurable app • Look and feel • Capabilities • Map content • Ideal for the creation of proofs of concept and as a basis for focused applications • Extensible/Customizable • You host it, you control itesri.com/flexviewer esri.com/silverlightviewer
  26. 26. What are geodatabase attachments?• A file associated to a feature • Video, picture, pdf, zip… pdf,• Stored in the geodatabase as a BLOB• 1 to many relationship • One feature, many attachments• Retrieve and edit from Desktop and the Web
  27. 27. DEMO Attachments
  28. 28. Handling complex geometries and symbology
  29. 29. What is a feature layer? • It’s the client counterpart to the Feature Service • Manages how features are: • Fetched to the client • Snapshot, On demand, Selection only • Rendered • Used in combination with • Attribute inspector, Template Picker, Attachment Editor • Editor widget Template picker Attribute inspector
  30. 30. Feature Service usage web editing patterns I• Render features in the client (Feature Layer) 3 Client renders features• Fetch all at once (Snaphsot mode) (Snaphsot• Or as needed (On demand mode) 2 1 Query Geometry Delete Attributes Add Update• Subset of ArcGIS symbology• No more than a few hundred features in display*• Careful with large polys/polylines• Take advantage of maptips (popups) Feature Service Geodatabase * Be smart about using scale dependencies, generalize, filter… Render features client-side
  31. 31. Feature Service usage web editing patterns II Rendering features server-side• Render features in the server (Map service)• Refresh map after every update• Features being edited displayed in client 1 Get Map • Through FeatureLayer Selection mode Get Feature 2 Get Map to be updated 4 Again & render Commit 3 change• Full symbology• Many and complex features Map• Use MSDs whenever possible Service Feature Service Geodatabase Render features server-side
  32. 32. Attribute Edits
  33. 33. Editing Widgets in ArcGIS Web Mapping APIsUtility objects for speeding up custom editing apps Template picker and edit toolbarTemplate Picker Attachment editor and Attribute Inspector
  34. 34. Sophisticated Web Editing
  35. 35. What is the Geometry Service? Web Browser• An ArcGIS Server service for geometry manipulation• Enhanced in ArcGIS 10: • Offset, Trim/Extend, Reshape, Auto-Complete Auto- • Cut, Difference, Intersect, Union• REST interface only• Use in combination with Feature Service • To aid in editing workflows • Cut, Reshape… Geometry Feature • Also validating business rules! Service Service Geodatabase
  36. 36. What are Server Object Extensions? Web Browser • That’s how you extend ArcGIS Server • With new web services • To access fine grained ArcObjects • Implement business logic on your server • Accessible via REST and SOAP • Multiple applications for editing • Validating topology • Rebuilding network datasets • Implementing validation rules Your Feature Service Service Geodatabase
  37. 37. The challenge is the user experience • Adding many tools is an easy and often unnecessary part • Build focused editing apps • The necessary tools, no more • The workflow drives the design, not the opposite! • Start by selecting the right client • Do not reinvent the wheel • Do not push the technology beyond its comfort level • Or your users! • Develop if needed
  38. 38. Internet Editing for ArcGIS Desktop toolFor sophisticated editing or ‘disconnected’ scenarios• A Map/Feature Service that you can edit from Desktop Check-in/Check- Check-in/Check-out Geodatabase Replication Enterprise ArcGIS Geodatabase Desktop
  39. 39. Internet Editing for AutoCADArcGIS for AutoCAD supports ArcGIS feature services• A Map/Feature Service that you can edit from AutoCAD Editing via Feature Service ArcGIS for AutoCAD Enterprise Geodatabase
  40. 40. Agenda • Overview of Editing in ArcGIS • The basics of Web Editing in ArcGIS Server 10 • Advanced Web Editing scenarios • Typical Architectures • Q&A
  41. 41. Simple non-versioned editing Web Browser • Feature service against non versioned data • Last-in wins • Typical when contributions are trusted • Secure service if needed Feature Service Not Versioned Data Geodatabase
  42. 42. Versioned editing Web Browser • Feature service on a particular ‘web edits session’ • Last-in wins • Updates from feature service validated before posting to master version • Typical in intranet or ‘safe’ Edits on version X environments where contributions Feature Service are not trusted Periodic validation And Post Geodatabase
  43. 43. Isolated editing Web Browser • Web edits against an isolated geodatabase (in DMZ or off-site deployment) • Changes validated and synchronized to geodatabase • Crowd-sourced data (internet) Edits on version X Feature Service Periodic Periodic Synchronization validation And Post Replication Contribution Geodatabase Geodatabase Contribution Analysis
  44. 44. Agenda • Overview of Editing in ArcGIS • The basics of Web Editing in ArcGIS Server 10 • Advanced Web Editing scenarios • Typical Architectures • Q&A
  45. 45. Common questions •Can I edit geometric networks? •Parcel fabrics and topologies? •XY Event and Route layers? •Where is undo-redo? undo- •Snapping? •Can I edit features with Zs and Ms? Ms? •Can I edit a user-defined version? user- •How are version conflicts handled? •How do I prevent user A from deleting features from user B? •…