Skip to main content

Module spatial

Module spatial 

Source
Expand description

Spatial insert/delete sync messages (client → server / server → client).

SpatialInsertMsg carries one geometry entry from a Lite client to Origin for R-tree indexing. SpatialDeleteMsg removes a document’s geometry from Origin’s R-tree.

Wire opcodes:

  • 0xAASpatialInsert (Lite → Origin)
  • 0xABSpatialInsertAck (Origin → Lite)
  • 0xACSpatialDelete (Lite → Origin)
  • 0xADSpatialDeleteAck (Origin → Lite)

Structs§

SpatialDeleteAckMsg
Spatial delete acknowledgment (Origin → Lite, 0xAD).
SpatialDeleteMsg
Spatial delete request (Lite → Origin, 0xAC).
SpatialInsertAckMsg
Spatial insert acknowledgment (Origin → Lite, 0xAB).
SpatialInsertMsg
Spatial insert request (Lite → Origin, 0xAA).