Returns an ST_CurvePolygon value, which is transformed from a LONG BINARY value containing the WKB representation of an ST_CurvePolygon
[DBO.]ST_CPolyFromWKB(wkb[, srid])
Name | Type | Description |
---|---|---|
wkb |
LONG BINARY |
The WKB representation. |
srid |
INT |
The SRID of the result. If not specified, the default is 0. |
ST_CurvePolygon Returns an ST_CurvePolygon value created from the input string.
The spatial reference system identifier of the result is the given by parameter srid.
The ST_CPolyFromWKB function is not present by default in newly created databases. Use the sa_install_feature system procedure to install the spatial SQL compatibility functions. See sa_install_feature system procedure.
The ST_CPolyFromWKB function is equivalent to the following:
CREATE FUNCTION DBO.ST_CPolyFromWKB( wkb LONG BINARY, srid INT DEFAULT 0 ) RETURNS ST_CurvePolygon BEGIN DECLARE geo ST_Geometry; set geo = ST_Geometry::ST_GeomFromWKB( wkb, srid ); RETURN CAST( geo AS ST_CurvePolygon); END |
SQL/MM (ISO/IEC 13249-3: 2006) 8.2.9
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |