The 7 Things I Know About Cyber Security After 25 Years | April 2024
Web Editing in ArcGIS Server
1. Esri International User Conference | San Diego, CA
European User Conference
Technical Workshops | July 13,2011 2011
Web Editing in
ArcGIS Server 10
Ismael Chivite
ArcGIS Server Senior Product Manager
2. Agenda
• Overview of Editing in ArcGIS
• The basics of Web Editing in ArcGIS Server 10
• Web Editing scenarios
• Typical architectures
• Q&A
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. 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. 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. 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. Editing in ArcGIS
Target Audience Tools Platform Connection GIS Services
ArcGIS 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 Mobile
Windows Mobile mobile user
behavior
ArcGIS Runtime
Attribute edits, iOS
for iOS
Casual user sketching and (iPhone/iPad) Fully connected Feature
Android,
custom tools Android
Windows 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. Agenda
• Overview of Editing in ArcGIS
• The basics of Web Editing in ArcGIS Server 10
• Web Editing scenarios
• Typical Architectures
• Q&A
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. 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. 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. How to create a web editing application?
Prepare Create
Use
UseCreate
your data Feature
Application
and templates Service
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. 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. 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!
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. 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. The Services Directory view
• of your Feature Service
Your Map Service
It’s Feature Service
Templates
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. Feature Service Basics Demo
• Authoring the Map and Editing Templates
• Publishing the service
• Using it
23. Agenda
• Overview of Editing in ArcGIS
• The basics of Web Editing in ArcGIS Server 10
• Web Editing scenarios
• Typical Architectures
• Q&A
24. Web Editing Scenarios
• Web Editing with the Viewers
• Attachments
• Handling complex symbology/geometries
• Attribute Edits
• Sophisticated Web Editing
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 it
esri.com/flexviewer esri.com/silverlightviewer
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
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. 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. 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
33. Editing Widgets in ArcGIS Web Mapping APIs
Utility objects for speeding up custom editing apps
Template picker and edit toolbar
Template Picker
Attachment editor and Attribute Inspector
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. 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. 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. Internet Editing for ArcGIS Desktop tool
For 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. Internet Editing for AutoCAD
ArcGIS 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. Agenda
• Overview of Editing in ArcGIS
• The basics of Web Editing in ArcGIS Server 10
• Advanced Web Editing scenarios
• Typical Architectures
• Q&A
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. 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. 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. Agenda
• Overview of Editing in ArcGIS
• The basics of Web Editing in ArcGIS Server 10
• Advanced Web Editing scenarios
• Typical Architectures
• Q&A
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?
•…