posm / OpenMapKitAndroid

http://openmapkit.org
BSD 3-Clause "New" or "Revised" License
128 stars 38 forks source link

Current Timestamp on Edits #112

Closed hallahan closed 8 years ago

hallahan commented 8 years ago

OpenMapKit Server needs to be able to aggregate submissions and filter by timestamp. This will allow an admin to search for the correct span of time that surveying was done to stage a submission.

https://github.com/AmericanRedCross/OpenMapKitServer/issues/9

OpenMapKit Android should be recording the point in time that the actual record is written to disk. I think that special point in time is the moment the XML serializer generates a string.

https://github.com/AmericanRedCross/OpenMapKitAndroid/blob/4f492f952f70b652965bb6923905fda887184379/MapboxAndroidSDK/src/main/java/com/spatialdev/osm/model/OSMElement.java#L171

From a UI standpoint, that's when the user clicks the "Save to ODK Collect" button. This one should be useful and easy.