Difference between revisions of "Type Location"

From truxwiki.com
Jump to navigation Jump to search
Line 22: Line 22:
  
 
=Description=
 
=Description=
Truxton location value
+
The message with this file type is specially encoded to hold the information in a <code><nowiki>[</nowiki>[[Location Table|Location]]<nowiki>]</nowiki></code> record.
 +
 
 +
{| class="wikitable"
 +
|-
 +
! Message Field
 +
! Database Column
 +
! Remarks
 +
|-
 +
| <code>file_type</code>
 +
|
 +
| Holds the value of <code>Type_Location</code>
 +
|-
 +
| <code>file_id</code>
 +
| <code>[FileID]</code>
 +
|
 +
|-
 +
| <code>media_id</code>
 +
| <code>[MediaID]</code>
 +
|
 +
|-
 +
| <code>parent_id</code>
 +
| <code>[ID]</code>
 +
|
 +
|-
 +
| <code>signature</code>
 +
| <code>[LocationTypeID]</code>
 +
|
 +
|-
 +
| <code>signature</code>
 +
| <code>[LocationTypeID]</code>
 +
|
 +
|-
 +
| <code>offset</code>
 +
| <code>[Latitude]</code>
 +
| Multiplied by 1,000,000,000,000
 +
|-
 +
| <code>length</code>
 +
| <code>[Longitude]</code>
 +
| Multiplied by 1,000,000,000,000
 +
|-
 +
| <code>types[0] - types[3]</code>
 +
| <code>[Altitude]</code>
 +
| Multiplied by 1,000,000,000,000
 +
|-
 +
| <code>types[4] - types[7]</code>
 +
| <code>[When]</code>
 +
| In Windows [https://docs.microsoft.com/en-us/windows/win32/api/minwinbase/ns-minwinbase-filetime FILETIME] ticks
 +
|-
 +
| <code>depot_filename</code>
 +
| <code>[Label]</code>
 +
|
 +
|}

Revision as of 12:51, 12 May 2021

Details
Defined Constant Type_Location
File Type Value 54
Parent Type None
Carve No
Format Details No
MIME Type application/octet-stream

This represents a geographic coordinate.

Description

The message with this file type is specially encoded to hold the information in a [Location] record.

Message Field Database Column Remarks
file_type Holds the value of Type_Location
file_id [FileID]
media_id [MediaID]
parent_id [ID]
signature [LocationTypeID]
signature [LocationTypeID]
offset [Latitude] Multiplied by 1,000,000,000,000
length [Longitude] Multiplied by 1,000,000,000,000
types[0] - types[3] [Altitude] Multiplied by 1,000,000,000,000
types[4] - types[7] [When] In Windows FILETIME ticks
depot_filename [Label]