]> granicus.if.org Git - postgis/commitdiff
Extra OGC text constructor functions.
authorPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 10 Apr 2003 16:40:41 +0000 (16:40 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 10 Apr 2003 16:40:41 +0000 (16:40 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@264 b70326c6-7e19-0410-871a-916f4a2858ee

Attic/postgis_sql_common.sql.in

index ba4b570a503881d6034636c926fcc9e8e3a8f9bb..d92b55284b941871e26c68902b63e87c1fcdc714 100644 (file)
@@ -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'