# WKB

- [AsBinary](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/wkb-asbinary.md): Synonym for ST\_AsBinary. Converts a geometry value from its internal format to its Well-Known Binary (WKB) representation.
- [AsWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/aswkb.md): Synonym for ST\_AsBinary. Converts a geometry value from its internal format to its Well-Known Binary (WKB) representation.
- [GeomCollFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/wkb-geomcollfromwkb.md): Synonym for ST\_GeomCollFromWKB. Constructs a GeometryCollection value from its WKB representation and an optional SRID.
- [GeometryCollectionFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/geometrycollectionfromwkb.md): Synonym for ST\_GeomCollFromWKB. Constructs a GeometryCollection value from its WKB representation and an optional SRID.
- [GeometryFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/geometryfromwkb.md): Synonym for ST\_GeomFromWKB. Constructs a geometry value of any type from its WKB representation and an optional SRID.
- [GeomFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/wkb-geomfromwkb.md): Synonym for ST\_GeomFromWKB. Constructs a geometry value of any type from its WKB representation and an optional SRID.
- [LineFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/wkb-linefromwkb.md): Synonym for ST\_LineFromWKB. Constructs a LineString value from its WKB representation and an optional SRID.
- [LineStringFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/linestringfromwkb.md): Synonym for ST\_LineFromWKB. Constructs a LineString value from its WKB representation and an optional SRID.
- [MLineFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/mlinefromwkb.md): Synonym for ST\_MultiLineStringFromWKB. Constructs a MultiLineString value from its WKB representation and an optional SRID.
- [MPointFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/mpointfromwkb.md): Synonym for ST\_MultiPointFromWKB. Constructs a MultiPoint value from its WKB representation and an optional SRID.
- [MPolyFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/mpolyfromwkb.md): Synonym for ST\_MultiPolygonFromWKB. Constructs a MultiPolygon value from its WKB representation and an optional SRID.
- [MultiLineStringFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/multilinestringfromwkb.md): Synonym for ST\_MultiLineStringFromWKB. Constructs a MultiLineString value from its WKB representation and an optional SRID.
- [MultiPointFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/multipointfromwkb.md): Synonym for ST\_MultiPointFromWKB. Constructs a MultiPoint value from its WKB representation and an optional SRID.
- [MultiPolygonFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/multipolygonfromwkb.md): Synonym for ST\_MultiPolygonFromWKB. Constructs a MultiPolygon value from its WKB representation and an optional SRID.
- [PointFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/wkb-pointfromwkb.md): Synonym for ST\_PointFromWKB. Constructs a Point value from its WKB representation and an optional SRID.
- [PolyFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/wkb-polyfromwkb.md): Synonym for ST\_PolyFromWKB. Constructs a Polygon value from its WKB representation and an optional SRID.
- [PolygonFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/polygonfromwkb.md): Synonym for ST\_PolyFromWKB. Constructs a Polygon value from its WKB representation and an optional SRID.
- [ST\_AsBinary](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/st_asbinary.md): Converts a value in internal geometry format to its WKB representation and returns the binary result.
- [ST\_AsWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/st_aswkb.md): Synonym for ST\_AsBinary. Converts a geometry value from its internal format to its Well-Known Binary (WKB) representation.
- [ST\_GeomCollFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/st_geomcollfromwkb.md): Constructs a GeometryCollection value from its WKB representation and an optional SRID.
- [ST\_GeometryCollectionFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/st_geometrycollectionfromwkb.md): Synonym for ST\_GeomCollFromWKB. Constructs a GeometryCollection value from its WKB representation and an optional SRID.
- [ST\_GeometryFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/st_geometryfromwkb.md): Synonym for ST\_GeomFromWKB. Constructs a geometry value of any type from its WKB representation and an optional SRID.
- [ST\_GeomFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/st_geomfromwkb.md): Constructs a geometry value of any type using its WKB representation and an optional SRID.
- [ST\_LineFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/st_linefromwkb.md): Constructs a LineString value using its WKB representation and an optional SRID.
- [ST\_LineStringFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/st_linestringfromwkb.md): Synonym for ST\_LineFromWKB. Constructs a LineString value from its WKB representation and an optional SRID.
- [ST\_MPointFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/st_mpointfromwkb.md): Synonym for ST\_MultiPointFromWKB. Constructs a MultiPoint value from its WKB representation and an optional SRID.
- [ST\_MPolyFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/st_mpolyfromwkb.md): Synonym for ST\_MultiPolygonFromWKB. Constructs a MultiPolygon value from its WKB representation and an optional SRID.
- [ST\_MultiPointFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/st_multipointfromwkb.md): Constructs a MultiLineString value using its WKB representation and an optional SRID.
- [ST\_MultiPolygonFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/st_multipolygonfromwkb.md): Constructs a MultiPolygon value using its WKB representation and an optional SRID.
- [ST\_PointFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/st_pointfromwkb.md): Constructs a Point value using its WKB representation and an optional SRID.
- [ST\_PolyFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/st_polyfromwkb.md): Constructs a Polygon value using its WKB representation and an optional SRID.
- [ST\_PolygonFromWKB](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/st_polygonfromwkb.md): Synonym for ST\_PolyFromWKB. Constructs a Polygon value from its WKB representation and an optional SRID.
- [Well-Known Binary (WKB) Format](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb/well-known-binary-wkb-format.md): Understand the standard binary format for geometry. This overview explains how WKB represents spatial data types for storage and exchange.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkb.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
