avl_hittest_time

When the track layer is rendered, you can get the message closest to the specified time (used in the Track player, Track analysis tools, etc.). The time value should be within the time interval for which the track layer is rendered. To get such a message, use the request:

Copied!
http://<host>/avl_hittest_time?sid="<text>"&unitId=<uint>&layerName="<text>"&time=<uint>&
revert=<bool>

Parameters

The required parameters are marked with an asterisk (*).

Name

Description

sid*

Session ID.

unitId*

Unit ID.

layerName*

Layer name.

time*

Time.

revert

Search order. The value false stands for the direct order, the value true for the reverse one.

anyMsgProcess all messages to find the result. True - all messages, false - the messages marked with the flag 0x1

Response

Copied!
{
	"currMsg":{		/* current message */
		...
	},
	"prevMsg":{		/* previous message */
		...
	},
	"index":<uint>,		/* current message index */
	"layerName":"<text>"	/* layer name */
}

The formats of the current and previous messages are described here.

Download PDF file
Download Word document

See also