A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mariadb.com/docs/server/reference/sql-statements/geometry-constructors/wkt/st_astext below:

ST_AsText | MariaDB Documentation

ST_AsText | MariaDB Documentation
  1. Reference
  2. SQL Statements
  3. Geometry Statements
  4. WKT
ST_AsText
ST_AsText(g)
AsText(g)
ST_AsWKT(g)
AsWKT(g)

Converts a value in internal geometry format to its WKT representation and returns the string result.

ST_AsText(), AsText(), ST_AsWKT() and AsWKT() are all synonyms.

SET @g = 'LineString(1 1,4 4,6 6)';

SELECT ST_AsText(ST_GeomFromText(@g));
+--------------------------------+
| ST_AsText(ST_GeomFromText(@g)) |
+--------------------------------+
| LINESTRING(1 1,4 4,6 6)        |
+--------------------------------+

This page is licensed: GPLv2, originally from fill_help_tables.sql

Last updated 2 months ago


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4