# WKT

- [WKT Definition](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/wkt-definition.md): Understand the Well-Known Text (WKT) format. This section describes the standard ASCII representation for exchanging geometric data.
- [AsText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/wkt-astext.md): Synonym for ST\_AsText. Converts a geometry value from its internal format to its Well-Known Text (WKT) representation.
- [AsWKT](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/wkt-aswkt.md): Synonym for ST\_AsText. Converts a geometry value from its internal format to its Well-Known Text (WKT) representation.
- [GeomCollFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/wkt-geomcollfromtext.md): Synonym for ST\_GeomCollFromText. Constructs a GeometryCollection value from its WKT representation and an optional SRID.
- [GeometryCollectionFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/geometrycollectionfromtext.md): Synonym for ST\_GeomCollFromText. Constructs a GeometryCollection value from its WKT representation and an optional SRID.
- [GeometryFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/geometryfromtext.md): Synonym for ST\_GeomFromText. Constructs a geometry value of any type from its WKT representation and an optional SRID.
- [GeomFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/wkt-geomfromtext.md): Synonym for ST\_GeomFromText. Constructs a geometry value of any type from its WKT representation and an optional SRID.
- [LineFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/wkt-linefromtext.md): Synonym for ST\_LineFromText. Constructs a LineString value from its WKT representation and an optional SRID.
- [LineStringFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/linestringfromtext.md): Synonym for ST\_LineFromText. Constructs a LineString value from its WKT representation and an optional SRID.
- [MLineFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/mlinefromtext.md): Synonym for ST\_MultiLineStringFromText. Constructs a MultiLineString value from its WKT representation and an optional SRID.
- [MPointFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/mpointfromtext.md): Synonym for ST\_MultiPointFromText. Constructs a MultiPoint value from its WKT representation and an optional SRID.
- [MPolyFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/mpolyfromtext.md): Synonym for ST\_MultiPolygonFromText. Constructs a MultiPolygon value from its WKT representation and an optional SRID.
- [MultiLineStringFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/multilinestringfromtext.md): Synonym for ST\_MultiLineStringFromText. Constructs a MultiLineString value from its WKT representation and an optional SRID.
- [MultiPointFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/multipointfromtext.md): Synonym for ST\_MultiPointFromText. Constructs a MultiPoint value from its WKT representation and an optional SRID.
- [MultiPolygonFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/multipolygonfromtext.md): Synonym for ST\_MultiPolygonFromText. Constructs a MultiPolygon value from its WKT representation and an optional SRID.
- [PointFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/wkt-pointfromtext.md): Synonym for ST\_PointFromText. Constructs a Point value from its WKT representation and an optional SRID.
- [PolyFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/wkt-polyfromtext.md): Synonym for ST\_PolyFromText. Constructs a Polygon value from its WKT representation and an optional SRID.
- [PolygonFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/polygonfromtext.md): Synonym for ST\_PolyFromText. Constructs a Polygon value from its WKT representation and an optional SRID.
- [ST\_AsText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/st_astext.md): Converts a value in internal geometry format to its WKT representation and returns the string result.
- [ST\_ASWKT](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/st_aswkt.md): Synonym for ST\_AsText. Converts a geometry value from its internal format to its Well-Known Text (WKT) representation.
- [ST\_GeomCollFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/st_geomcollfromtext.md): Constructs a GeometryCollection value from its WKB representation and an optional SRID.
- [ST\_GeometryCollectionFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/st_geometrycollectionfromtext.md): Synonym for ST\_GeomCollFromText. Constructs a GeometryCollection value from its WKT representation and an optional SRID.
- [ST\_GeometryFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/st_geometryfromtext.md): Synonym for ST\_GeomFromText. Constructs a geometry value of any type from its WKT representation and an optional SRID.
- [ST\_GeomFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/st_geomfromtext.md): Constructs a geometry value of any type using its WKT representation and an optional SRID.
- [ST\_LineFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/st_linefromtext.md): Constructs a LineString value using its WKT representation and an optional SRID.
- [ST\_LineStringFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/st_linestringfromtext.md): Synonym for ST\_LineFromText. Constructs a LineString value from its WKT representation and an optional SRID.
- [ST\_MPointFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/st_mpointfromtext.md): Synonym for ST\_MultiLineStringFromText. Constructs a MultiLineString value from its WKT representation and an optional SRID.
- [ST\_MPolyFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/st_mpolyfromtext.md): Synonym for ST\_MultiPointFromText. Constructs a MultiPoint value from its WKT representation and an optional SRID.
- [ST\_MultiLineStringFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/st_multilinestringfromtext.md): Constructs a MultiLineString value using its WKT representation and an optional SRID.
- [ST\_MultiPointFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/st_multipointfromtext.md): Constructs a MultiPoint value using its WKT representation and an optional SRID.
- [ST\_MultiPolygonFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/st_multipolygonfromtext.md): Constructs a MultiPolygon value using its WKT representation and an optional SRID.
- [ST\_PointFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/st_pointfromtext.md): Constructs a Point value using its WKT representation and an optional SRID.
- [ST\_PolyFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/st_polyfromtext.md): Constructs a Polygon value using its WKT representation and an optional SRID.
- [ST\_PolygonFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/st_polygonfromtext.md): Synonym for ST\_PolyFromText. Constructs a Polygon value from its WKT representation and an optional SRID.
- [ST\_MLineFromText](https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/wkt-st_mlinefromtext.md): Synonym for ST\_MultiLineStringFromText. Constructs a MultiLineString value from its WKT representation and an optional SRID.


---

# 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/wkt.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.
