1.6 Versioning and Localization

This document describes only a single version of the serialization formats that apply to the HIERARCHYID and common language runtime (CLR) user-defined type (UDT) structures, so there are no versioning implications involved.

This document describes version 1 and version 2 of the serialization format that is used for the GEOGRAPHY and GEOMETRY structures.<1> Aspects of later serialization format versions that do not apply to earlier versions are specifically identified throughout this document:

  • Version 1 of the GEOGRAPHY and GEOMETRY structures is described in section 2.1.1.

  • Version 2 of the GEOGRAPHY and GEOMETRY structures is described in section 2.1.2.

  • Differences between versions 1 and 2 in the FIGURE structure are described in section 2.1.3.

  • Differences between versions 1 and 2 in the SHAPE structure are described in section 2.1.4.

  • The new SEGMENT structure that was added in version 2 is described in section 2.1.7.

There are no localization implications for these structures.

The protocol server does not define any versioning scheme for CLR UDTs. Any version data created by the user needs to be part of a CLR UDT itself.