Mobile Solutions for Data Collection Sarah Croft and Laura Pierik
Presentation Overview Project Overview Benefits of using Mobile Technology Mobile Solutions- two different approaches Results and Recommendations
Project Background Examined mobile options - field data collection Synchronize edits with an enterprise database App solutions focused on Android devices
Project Background Benefits: Quicker data additions Fewer errors Streamlined workflows
Solutions: Two approaches 1. Use AVAILABLE APPLICATIONS: Collector App ArcGIS for Android 2. Create a CUSTOM APPLICATION: Java and an IDE (Eclipse)
Solutions: Two approaches Collector App ArcGIS for Android
ESRI Applications Windows Server 2008 ESRI Software: ArcGIS for Desktop (10.1) & Server (10.1) ArcSDE (10.0) Collector App and ArcGIS for Android ArcGIS Online Oracle 11g 32-bit
ESRI Applications Prepare and create feature services Design workflow for data collection Create and publish feature service Create map document Add data - operational layers Considerations - symbology, amount of data, add attachments/photos?
ESRI Applications Creating/sharing the map using ArcGIS Online Add data from from server- feature service and/or image service Configure pop-ups for data collection
ESRI Applications Using JSON to connect directly from the server Bypass ArcGIS Online ArcGIS for Android Connect to map in Mobile Content section of ArcGIS for Server
ESRI Applications Using JSON to connect directly from the server { "operationallayers": [ { "url": "http://sp84.athena.bcit.ca:6080/arcgis/rest/services/weyerte sts/bcit_ortho25cm1/imageserver", "id": "BCIT_Ortho25cm1_2445", "visibility": true, "opacity": 1, "title": "BCIT Ortho" }, { "url": "http://sp84.athena.bcit.ca:6080/arcgis/rest/services/weyerte sts/bcittest2/featureserver/0", "id": "BCITtest2_2476", "visibility": true, "opacity": 1, "mode": 1, "title": "BCIT Test Data", "popupinfo": { "title": "BCIT Test Data:", "fieldinfos": [ { "fieldname": "OBJECTID", "label": "OBJECTID", "iseditable": false, "tooltip": "", "visible": false, "stringfieldoption": "textbox" }, { "fieldname": "TESTNUM", "label": "Test Number", "iseditable": true, "tooltip": "", "visible": true, "format": { "places": 0, "digitseparator": true }, "stringfieldoption": "textbox" }, { "fieldname": "NAME", "label": "Name", "iseditable": true, "tooltip": "", "visible": true, "stringfieldoption": "textbox" }, { "fieldname": "NOTES", "label": "Notes", "iseditable": true, "tooltip": "", "visible": true, "stringfieldoption": "textbox" } ], "description": null, "showattachments": true, "mediainfos": [] } } ], "basemap": { "basemaplayers": [ { "id": "World_Light_Gray_Base_5764", "opacity": 1, "visibility": true, "url": "https://services.arcgisonline.com/arcgis/rest/services/c anvas/world_light_gray_base/mapserver" }, { "id": "World_Light_Gray_Reference_9900", "isreference": true, "opacity": 1, "visibility": true, "url": "https://services.arcgisonline.com/arcgis/rest/services/c anvas/world_light_gray_reference/mapserver" } ], "title": "Light Gray Canvas" }, "version": "1.8", "applicationproperties": {"viewing": { "routing": {"enabled": true}, "basemapgallery": {"enabled": true}, "measure": {"enabled": true} }} }
ESRI Applications Using JSON to connect directly from the server Bypass ArcGIS Online ArcGIS for Android Connect to map in Mobile Content section of ArcGIS for Server
Custom Application The database schema is shown below:
Custom Application
Custom Application The app's interface is designed by adding widgets to the xml files Add functionality to widgets by coding the java files associated with each xml file Link each widget and the intended method by the widget's ID and properties
Custom Application Import correct JAR and configure build path Create the connection string: username, password, port, service, and database name Use the connection string and the Oracle Driver class from the JAR to make a connection to the enterprise database
Custom Application
Custom Application Add a Location Manager to the class that will access the GPS capabilities of the device Add a Location Listener to wait for locationchanged events Create a method that updates the TextViews with the latest coordinates when an event is detected
Results & Recommendations ESRI Applications:
Results & Recommendations Custom Application: Pros- Customize functionality Use in a disconnected environment Cons- Requires high level of coding knowledge Potentially time consuming - updates
Conclusions Overall many good options for mobile data collection Many factors in deciding which option best suits needs
Questions? Thank you