This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
access:project_journal [2017/11/06 18:18] mjallison [Project Journal] |
access:project_journal [2017/11/20 17:32] (current) mjallison [Implementation thoughts] |
||
---|---|---|---|
Line 16: | Line 16: | ||
* Done when the local data store is uploaded | * Done when the local data store is uploaded | ||
+ | Things to note: | ||
+ | * Journal will archive and restore with the project | ||
+ | * Journal will delete when the project deletes. | ||
===== Data sources ===== | ===== Data sources ===== | ||
Journal Elements can be created and stored from the following source: | Journal Elements can be created and stored from the following source: | ||
Line 39: | Line 42: | ||
* Data element itself (JSON in DB, POJO, C++ object) | * Data element itself (JSON in DB, POJO, C++ object) | ||
- | Questions: | + | Photo |
- | * Desktop apps to participate in project journal? How? | + | { lat: <number>, |
- | * Photos and Notes make sense from a standalone data perspective, what about tracks/measures? | + | lon: <number>, |
- | * What is the implemention of the backing store | + | alt: <number>, |
- | * What other data elements are missing? | + | fileHandle: <number> |
- | * Journal will archive and restore with the project | + | } |
- | * Journal will delete when the project deletes. | + | |
- | * Does journal ever time out? Or kept as long as the project? | + | Note |
+ | { lat: <number>, | ||
+ | lon: <number>, | ||
+ | alt: <number>, | ||
+ | Text: <String> | ||
+ | } | ||
+ | |||
+ | User Track | ||
+ | { lat: <number>, | ||
+ | lon: <number>, | ||
+ | alt: <number>, | ||
+ | points: []; | ||
+ | } | ||
+ | point{ lat: <number>, /* decimal degrees (-180 .. 180] */ | ||
+ | lon: <number>, /* decimal degrees [-90 .. 90] */ | ||
+ | alt: <number>, /* meters */ | ||
+ | hdg: <number>, /* [0..360), optional may not appear */ | ||
+ | time: <number> /* msSec since Jan 1, 1970 */ | ||
+ | } | ||
+ | |||
+ | Machine Track | ||
+ | { lat: <number>, | ||
+ | lon: <number>, | ||
+ | alt: <number>, | ||
+ | trackHandle: <number> | ||
+ | } | ||
+ | |||
+ | Measure | ||
+ | { lat: <number>, | ||
+ | lon: <number>, | ||
+ | alt: <number>, | ||
+ | points: []; /* Same point struct from User Track */ | ||
+ | } | ||
+ |