From: Paul Ramsey Date: Thu, 10 Apr 2003 16:40:41 +0000 (+0000) Subject: Extra OGC text constructor functions. X-Git-Tag: pgis_0_8_0~118 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=66c5c7ace0e37ef43add059ee9f976433abfd1b5;p=postgis Extra OGC text constructor functions. git-svn-id: http://svn.osgeo.org/postgis/trunk@264 b70326c6-7e19-0410-871a-916f4a2858ee --- 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'