Oracle 5.0 Reference Manual page 1006

Table of Contents

Advertisement

Constructs a
arbitrary collection of closed
BdPolyFromText(wkt,srid)
Constructs a
collection of closed
12.16.4.2.2. Creating Geometry Values Using WKB Functions
MySQL provides a number of functions that take as arguments a
Binary representation and, optionally, a spatial reference system identifier (SRID). They return the
corresponding geometry.
As of MySQL 5.0.82, these functions also accept geometry objects for compatibility with the changes
made in MySQL 5.0.82 to the return value of the functions in
Values Using MySQL-Specific
the first argument to the functions in this section.
GeomCollFromWKB(wkb[,srid])
GeometryCollectionFromWKB(wkb[,srid])
Constructs a
GeomFromWKB(wkb[,srid])
Constructs a geometry value of any type using its WKB representation and SRID.
LineFromWKB(wkb[,srid])
Constructs a
MLineFromWKB(wkb[,srid])
Constructs a
MPointFromWKB(wkb[,srid])
Constructs a
MPolyFromWKB(wkb[,srid])
Constructs a
PointFromWKB(wkb[,srid])
Constructs a
PolyFromWKB(wkb[,srid])
Constructs a
The OpenGIS specification also describes optional functions for constructing
MultiPolygon
LineString
BdMPolyFromWKB(wkb,srid)
Constructs a
arbitrary collection of closed
BdPolyFromWKB(wkb,srid)
Creating a Spatially Enabled MySQL Database
value from a
MultiPolygon
LineString
[986]
value from a
Polygon
values.
LineString
Functions". Thus, those functions may continue to be used to provide
GEOMETRYCOLLECTION
[986],
[986],
value using its WKB representation and SRID.
LINESTRING
value using its WKB representation and SRID.
MULTILINESTRING
value using its WKB representation and SRID.
MULTIPOINT
value using its WKB representation and SRID.
MULTIPOLYGON
[986]
value using its WKB representation and SRID.
POINT
[986],
value using its WKB representation and SRID.
POLYGON
values based on the WKB representation of a collection of rings or closed
values. These values may intersect. MySQL does not implement these functions:
[986]
value from a
MultiPolygon
LineString
[986]
MultiLineString
values.
MultiLineString
[986],
[986]
value using its WKB representation and SRID.
GeometryFromWKB(wkb[,srid])
LineStringFromWKB(wkb[,srid])
[986],
MultiLineStringFromWKB(wkb[,srid])
[986],
MultiPointFromWKB(wkb[,srid])
[986],
MultiPolygonFromWKB(wkb[,srid])
PolygonFromWKB(wkb[,srid])
MultiLineString
values.
986
value in WKT format containing an
value in WKT format containing an arbitrary
containing a Well-Known
BLOB
Section 12.16.4.2.3, "Creating Geometry
[986]
[986]
[986]
Polygon
value in WKB format containing an
[986]
[986]
[986]
or

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents