From 66c5c7ace0e37ef43add059ee9f976433abfd1b5 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Thu, 10 Apr 2003 16:40:41 +0000 Subject: [PATCH] Extra OGC text constructor functions. git-svn-id: http://svn.osgeo.org/postgis/trunk@264 b70326c6-7e19-0410-871a-916f4a2858ee --- Attic/postgis_sql_common.sql.in | 35 +++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/Attic/postgis_sql_common.sql.in b/Attic/postgis_sql_common.sql.in index ba4b570a5..d92b55284 100644 --- a/Attic/postgis_sql_common.sql.in +++ b/Attic/postgis_sql_common.sql.in @@ -507,6 +507,41 @@ CREATE FUNCTION geomfromtext(geometry,int4) AS '@MODULE_FILENAME@','geometry_from_text' LANGUAGE 'C' WITH (isstrict,iscachable); +CREATE FUNCTION polygonfromtext(geometry,int4) + RETURNS geometry + AS '@MODULE_FILENAME@','geometry_from_text' + LANGUAGE 'C' WITH (isstrict,iscachable); + +CREATE FUNCTION multipolygonfromtext(geometry,int4) + RETURNS geometry + AS '@MODULE_FILENAME@','geometry_from_text' + LANGUAGE 'C' WITH (isstrict,iscachable); + +CREATE FUNCTION linestringfromtext(geometry,int4) + RETURNS geometry + AS '@MODULE_FILENAME@','geometry_from_text' + LANGUAGE 'C' WITH (isstrict,iscachable); + +CREATE FUNCTION multilinestringfromtext(geometry,int4) + RETURNS geometry + AS '@MODULE_FILENAME@','geometry_from_text' + LANGUAGE 'C' WITH (isstrict,iscachable); + +CREATE FUNCTION pointfromtext(geometry,int4) + RETURNS geometry + AS '@MODULE_FILENAME@','geometry_from_text' + LANGUAGE 'C' WITH (isstrict,iscachable); + +CREATE FUNCTION multipointfromtext(geometry,int4) + RETURNS geometry + AS '@MODULE_FILENAME@','geometry_from_text' + LANGUAGE 'C' WITH (isstrict,iscachable); + +CREATE FUNCTION geometrycollectionfromtext(geometry,int4) + RETURNS geometry + AS '@MODULE_FILENAME@','geometry_from_text' + LANGUAGE 'C' WITH (isstrict,iscachable); + CREATE FUNCTION setSRID(geometry,int4) RETURNS geometry AS '@MODULE_FILENAME@','geometry_from_text' -- 2.40.0