This is an old revision of the document!
The purpose of SmartPlan is to provide an easy, low cost georeferenced plan sheet and KMZ viewer. SmartPlan is a subset of SmartDirt that does not read esw data lines and models. It will read the plan sheets and KMZ files. It's going to be optimized for Android 4.0 and will also be the first IOS product. It relies heavily on the ADF creator (need another name) to process and geolocate the different data types. Version 1.0 will read PDF, bitmaps and KMZ files. Later additions may include CAD,LandXML, and collada models.
ADF files created from ESW are readable and we'll use those for preliminary testing although we will not read or create meshes, or isopachs. We will read the data lines and use the layers indistinguishably from the KMZ data lines.
Most of the application is contained in the description in Story 1. Story 0 (zero) is a foundation story needed by development to start working on the features of the main (1) story. To avoid distracting attention from the narrative of the main application, Story 0 is located at the end of this page.
Android 2.3, 4.0 Tablets Tablet specific layouts Layer view - left panel
Phones
Support for visibility flag - Many AGTEK generated KMZ files have entities that are present but have the visibility turned off by default. We should honor this flag. (visibility. 1= on 0=off)
Properties (Info button) display for Placemarks, Polygons . Properties are use and entity called “description” and are contained with CDATA tags. The HTML is pretty simple, standard tags, tables, links, img.
The ADF file contains data that really doesn't add value to SmartPlan and it needs to be suppressed. There are also layers that should be assigned default colors by the application although they are not necessarily called out in the file itself. Some examples of these are:
Hex values to follow. In cases where we have color precedence in other products like Existing, Design, Annotation, we should use the same coloring as Smartdirt and SmartGrade for consistency.
Top Info Bar (L-R)
Menu options
This is a small update mainly to add to Deferred Uploader to SmartPlan and other Android apps. The addition of the uploader means that we can clean up the Save dialog and also remove a potential issue for customers who don't select upload
The deferred uploader is already complete. In the past we could not exit the program and upload our tracks and pictures if we did not have an internet connection. Upload could continue once the program was restarted but this is hidden from the user. To reflect the new ability, the save window should now look like this:
The Upload and Save As options have been eliminated. Saving the file will automatically send the files to the uploader which will upload when a network connection is present. Also, the default file name is highlighted (minus the .kmz extension) and the keyboard raised when the user enters the screen. If the user just wants to save he can hit the save button and use the default name and upload.
Also notice that the file extension is added to the right of the filename and is not editable.
Access Upload status
The Access Upload status pages are something we on look at when something has gone wrong. It doesn't need to be on the menu and it's preferable that it be out the way. For lack of a better location I propose we add a button to Settings-About that takes upload status pages.
Check/Update to latest version
SmartPlan will be the first of the mobile products to check for updates. (Note: This works for mobile because it's sold on subscription.) (Questions to talk over are embedded)The user experience is this:
Mechanics of where to store and checking methods etc. tbd mostly by the programmer.
Note Feature
A user/sales desired feature that's been identified is the ability to create notes in SmartPlan. A user could currently walk to that area and do a short track or take a picture but that requires physically moving to that location. The note feature is not based on the current user location but instead uses the current picked point. Consequently it is not available unless a point is picked. The interface is this:
My expectation is that the notes could be long and will not be appropriate as full labels in GE. First pass let's just use the first sentence (up to the first period) as the label. Pressing the glyph will bring up label window we use now. I would not highlight the entire label however because I could see deleting long notes by accident.
Refinements and new functionality. As the IOS versions approach equivalence there are some features from IOS to integrate and reconcile the two. Also, recent field experience is pointing out refinements in the measuring and saving of areas into the KMZ upload
Volumes returned from Lambda server against 3D ADF file based on kmz measurement area.
This is an overview of a critical piece of the SmartPlan story. The fleshed out ADF Creator stories are here (http://dev.agtek.com/wiki/doku.php?id=windows:adf:adf_creator). ADF Creator currently just reads .esw files (sitework). This new version of ADF creator needs create ADF files without Sitework 4D as the content provider. The new sources of content are:
Image files KMZ files
KMZ files require no user creation of benchmarks since the native coordinates are lat-long. The ADF creator itself needs to add two benchmarks automatically to any KMZ file exported via ADF for compatibility. Any other file requires a method of adding two benchmarks with Lat-Long.
Alignment method variations Use Kml line to establish scale, orientation,and alignment. A single line drawn between the known points.
Adapted File Screen (support Dropbox, Google Drive too?)
Supporting vector based PDF. The goal is the best possible view of plans while preserving speed and fluid behaviour.
Could support KMZ and respective interface in a pro version.
SmartPlan story 0 provides a user with an application that can be downloaded, installed, and run. It will display images read from an ADF, similar to SmartDirt. The application provides no ability to create date and doesn't need to have a deferred uploader at this stage. A runtime license is a possibility if there is enough clarity on the license sales situation (IOS sold different than the Android platform… probably true).
Android environment
The intention to support Android 4.0 natively pushes the same requirement into AGTEK_Lib, the AndroidV4 support library will be integrated into AGTEK Lib. Selected activities should be recoded to use the DialogFragment manager.
Code refactoring
SmartPlan is technically a significant departure from the previous application (SmartDirt and SmartGrade). Core functionality needs to be maintained as part of the AGTEK_Lib. The departure from previous means that many of the structural and data models are not longer appropriate. As such a certain amount of refactoring needs to be done before starting work on the main body of the application. Known refactoring areas are:
An item to consider is how we can decouple the layers from the model elements. There are too many references between the models and cached elements (model → cached elements, layer → cached elements, etc).
User Upgrades
Hook into the Access version system to allow users to be notified of new releases. Single notification (not repetitive). URLs still on main web site.