DK for Java | tatukgis.jdk.TGIS_Shape.CreateFromEWKB | Constructors | Fields | Methods | Properties
Parses Extended Well-Known Binary (EWKB) geometry with optional PostGIS Spatial Reference Identifier (SRID) metadata.
// Java public TGIS_Shape CreateFromEWKB( OleVariant _ewkb );
// Oxygene public function CreateFromEWKB( _ewkb : OleVariant ) : TGIS_Shape; virtual;
| Name | Type | Description |
|---|---|---|
| _ewkb | OleVariant | EWKB value stored in an OleVariant, typically as a byte array or hexadecimal string. |
| Type | Description |
|---|---|
| TGIS_Shape | Newly created shape populated from the parsed EWKB geometry. |
PURPOSE: Imports geometry from Extended Well-Known Binary (EWKB), a PostGIS extension of WKB (Well-Known Binary) that can include Spatial Reference Identifier (SRID) metadata for CRS (Coordinate Reference System) identification.
BEHAVIOR: Parses the binary geometry stream, reads the optional SRID metadata, validates the binary structure, and creates a shape of the appropriate geometry type.
CONSTRAINTS: EWKB is not an OGC (Open Geospatial Consortium) standard format. Malformed input raises an exception.