330 likes | 449 Vues
25 July 2012. Customizing ArcPad solutions. Marika Vertzonis, Gareth Walters, Stephen Quan. Session Outline. What can be customized? Custom Projects Forms Editing Toolbar editing Scripting Business Logic Shortcut Apps Harnessing SQL Extending beyond ArcPad Geoprocessing.
E N D
25 July 2012 Customizing ArcPad solutions Marika Vertzonis, Gareth Walters, Stephen Quan
Session Outline • What can be customized? • Custom Projects • Forms Editing • Toolbar editing • Scripting Business Logic • Shortcut Apps • Harnessing SQL • Extending beyond ArcPad • Geoprocessing
Do I need to be a programmer? Full on code jockey * NO! * But sometimes it Helps Increasing Skill No programmingskills required Scripted Forms & Applets Simple Toolbars, Basic data capture forms, Symbology Extensions
Where do your customizations go? • “My ArcPad” folder • “per user” on desktop systems • “per device” on Windows Mobile systems • Preferences and configuration files • “ArcPad” folder • Common to all users on desktop systems • Templates • Applets • Styles • Datum configuration • Your project folder(s) • Could hold all files - App • Good for deployment
Custom Projects • Configuration • Forms • Toolbars • Preferences • Shortcut Apps • Incorporation of business logic • Data • Definition Queries + + Customizations Map Shortcut Deploy
Forms • Edit: • Feature & Related Tables • Used for data capture and edit • Identify • Used when identifying features. • If not present uses Edit form in read-only mode • Query • Added to Find dialog • Search template, just fill in the boxes • “Other” • Application specific forms
Toolbars • System • QuickCapture • Dynamic Editing • Map Navigator • Status Bar • Custom
Preferences & Configuration • Application • Project • User
App Shortcuts • Start ArcPad with a range of command line options and parameters (.LNK) • On Windows Mobile :- • \Windows\Start Menu\Programs\ArcPad App • App Icon (.ICO) extracted and saved in project folder with same name as map
Business Logic • Embed in ArcGIS GeoDatabase • Domains & Subtypes • Extend via Scripting • Data Validation
Data • Background - Not editable • Reference • Information Only (Vectors) • Read Only • For visual reference only (Raster or Vector) • Operational • Editable • focused on field task (not ALL available data) • Demo Theater Session: Preparing & Deploying data to ArcPad
Scripting environments available for ArcPad • JavaScript, VBScript & Python • Event Driven • Application • Forms/Controls • System Objects (eg GPS) • ArcPad Object Model • Execute SQL Commands
ArcGIS Online Help • Check out the new Python samples here
SQL • Definition Queries • Query Forms • Use standard SQL to edit/maintain data • SELECT • UPDATE • DELETE
Definition Queries • ArcMap • ArcPad • Studio • Dynamically via Layers.Filter() MATERIAL = ‘Al’
Query Forms • Query forms are search “templates” that automatically get added to the “Find” dialog • Default query form automatically created for each feature class • Useful for simplifying field work flows requiring repeatedly performed searches
SQL editing • DataSource object’s Execute method allows any SQL statement to be run against the AXF file • Bulk Updates • Bulk Deletes • Statistical queries (Aggregate functions) • Sort records • Copy data between tables • Much faster than iterating with RecordSet object
SQL Demo Bulk Edits
Extensions Camera Rangefinder Vector / Raster Datum Transform GPS Projection ArcPad
Camera Extensions • Custom Image Sources • Camera SDK Sketch Direct Show VFW Camera ArcPad
Extending Scripting with Extensions • Extensions("@SKT").Escape(filename, quality, hwnd)
Geoprocessing • Data management • Automation
The Road Ahead • ArcPad 10.1 • Release in the Fall • Support for ArcGIS Server 10.1 • Further integration with ArcGIS Online • HTML forms with JavaScript • Form customization in ArcPad • Beyond ArcPad 10.1 • Core ArcPad functionality on iOS, Android, WP7, WP8 • HTML forms • Unmanaged data collection • Related table support
Resources Make your suggestions known : http://ideas.arcgis.com/ Resources http://resources.arcgis.com/content/arcpad/10.0/about Team blog http://arcpadteam.blogspot.com/ Twitter http://twitter.com/ArcPadTeam