DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.CreateFromWKB | Methods | Properties
Parses geometry from Well-Known Binary (WKB), the OGC (Open Geospatial Consortium) standard binary representation.
// C# public ITGIS_Shape CreateFromWKB( OleVariant _wkb );
' VisualBasic Public Function CreateFromWKB( ByVal _wkb As OleVariant ) As ITGIS_Shape
// Oxygene public function CreateFromWKB( _wkb : OleVariant ) : ITGIS_Shape;
| Name | Type | Description |
|---|---|---|
| _wkb | OleVariant | WKB value stored in an OleVariant, typically as a byte array or hexadecimal string. |
| Type | Description |
|---|---|
| ITGIS_Shape | Newly created shape populated from the parsed WKB geometry. |
PURPOSE: Imports vector geometry from WKB (Well-Known Binary), a compact OGC (Open Geospatial Consortium) interchange format commonly used for storage and database transmission.
BEHAVIOR: Validates the WKB structure, detects byte order, parses the geometry stream, and creates a shape of the corresponding type.
CONSTRAINTS: WKB does not carry CRS (Coordinate Reference System) metadata. Malformed input raises an exception.