This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
access:journal-file-proposal [2018/06/25 22:58] mjallison [ADF Structure] |
access:journal-file-proposal [2018/06/26 22:22] (current) mjallison [Area Block (.area)] |
||
---|---|---|---|
Line 77: | Line 77: | ||
The path to the Journal entry's are as follows: | The path to the Journal entry's are as follows: | ||
- | /CM/UserData/Photos/ | + | /CM/JournalData/Photos/ |
- | /CM/UserData/Areas/ | + | /CM/JournalData/Areas/ |
- | /CM/UserData/Note/ | + | /CM/JournalData/Note/ |
- | /CM/UserData/Tracks/ | + | /CM/JournalData/Tracks/ |
Each section has a JSON descriptor, with corresponding data files. For instance, Photos, might look like: | Each section has a JSON descriptor, with corresponding data files. For instance, Photos, might look like: | ||
- | /CM/UserData/Photos/photos.json | + | /CM/JournalData/Photos/photos.json |
- | /CM/UserData/Photos/Photo1.jpg | + | /CM/JournalData/Photos/Photo1.jpg |
- | /CM/UserData/Photos/Photo2.jpg | + | /CM/JournalData/Photos/Photo2.jpg |
Because notes can be entirely contained in the JSON, the notes structure looks like: | Because notes can be entirely contained in the JSON, the notes structure looks like: | ||
- | /CM/UserData/Photos/notes.json | + | /CM/JournalData/Photos/notes.json |
Tracks will look like | Tracks will look like | ||
- | /CM/UserData/UserTracks/usertracks.json | + | /CM/JournalData/UserTracks/usertracks.json |
- | /CM/UserData/UserTracks/track1.track | + | /CM/JournalData/UserTracks/track1.track |
- | /CM/UserData/UserTracks/tracl2.track | + | /CM/JournalData/UserTracks/tracl2.track |
Areas will look like | Areas will look like | ||
- | /CM/UserData/Areas/areas.json | + | /CM/JournalData/Areas/areas.json |
- | /CM/UserData/Areas/Measure1.area | + | /CM/JournalData/Areas/Measure1.area |
- | /CM/UserData/Areas/Measure2.area | + | /CM/JournalData/Areas/Measure2.area |
While the structure is defined to support multiple data instances, the server may only create single ADF file per entry. | While the structure is defined to support multiple data instances, the server may only create single ADF file per entry. | ||
Line 206: | Line 206: | ||
Block Header: | Block Header: | ||
* Block Code 2001 : Int32 | * Block Code 2001 : Int32 | ||
- | * Block Size : Int32 | + | * Block Size : Int32 = 40 for this definition |
- | * Number of points : Int32 = 32 for this definition | + | * Number of points : Int32 |
The series of points are as follows: | The series of points are as follows: | ||
Line 225: | Line 225: | ||
Block Header: | Block Header: | ||
* Block Code 2002 : Int32 | * Block Code 2002 : Int32 | ||
- | * Block Size : Int32 | + | * Block Size : Int32 = 24 bytes for this definition |
- | * Number of points : Int32 = 24 bytes for this definition | + | * Number of points : Int32 |
+ | * | ||
The series of points are as follows: | The series of points are as follows: | ||
* latitude - Double 64 (degrees) | * latitude - Double 64 (degrees) |