MySqlGeometry.FromWkb method
Constructs a MySqlGeometry
from a SRID and Well-known Binary bytes.
public static MySqlGeometry FromWkb(int srid, ReadOnlySpan<byte> wkb)
parameter | description |
---|---|
srid | The SRID (Spatial Reference System ID). |
wkb | The Well-known Binary serialization of the geometry. |
Return Value
A new MySqlGeometry
containing the specified geometry.
See Also
- class MySqlGeometry
- namespace MySqlConnector
- assembly MySqlConnector