From: Regina Obe Date: Fri, 14 Feb 2014 03:25:29 +0000 (+0000) Subject: #25#2582 fix all references to -1 in constructors and change to 0 (SRID Unknown) X-Git-Tag: 2.2.0rc1~1253 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=074c183232b4ce0661f83d194f6789475607b93d;p=postgis #25#2582 fix all references to -1 in constructors and change to 0 (SRID Unknown) git-svn-id: http://svn.osgeo.org/postgis/trunk@12231 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference_constructor.xml b/doc/reference_constructor.xml index 5e3642185..8aabdb4f3 100644 --- a/doc/reference_constructor.xml +++ b/doc/reference_constructor.xml @@ -274,7 +274,7 @@ ST_GeogFromWKB(E'\\001\\002\\000\\000\\000\\002\\000\\000\\000\\037\\205\\353Q\\ ST_GeomCollFromText Makes a collection Geometry from collection WKT with the given SRID. If SRID is - not give, it defaults to -1. + not give, it defaults to 0. @@ -297,7 +297,7 @@ ST_GeogFromWKB(E'\\001\\002\\000\\000\\000\\002\\000\\000\\000\\037\\205\\353Q\\ Description Makes a collection Geometry from the Well-Known-Text (WKT) representation with the given SRID. If SRID is - not give, it defaults to -1. + not give, it defaults to 0. OGC SPEC 3.2.6.2 - option SRID is from the conformance suite @@ -942,7 +942,7 @@ SELECT ST_GeomFromText('CIRCULARSTRING(220268 150415,220227 150505,220227 150406 geometry type. This function plays the role of the Geometry Factory in SQL. This is an alternate name for ST_WKBToSQL. - If SRID is not specified, it defaults to -1 (Unknown). + If SRID is not specified, it defaults to 0 (Unknown). &sfs_compliant; s3.2.7.2 - the optional SRID is from the conformance suite &sqlmm_compliant; SQL-MM 3: 5.1.41 &curve_support; @@ -1030,7 +1030,7 @@ LINESTRING(1 2 3,4 5 6,7 8 9) ST_LineFromText Makes a Geometry from WKT representation with the given SRID. If SRID is - not given, it defaults to -1. + not given, it defaults to 0. @@ -1052,7 +1052,7 @@ LINESTRING(1 2 3,4 5 6,7 8 9) Description Makes a Geometry from WKT with the given SRID. If SRID is - not give, it defaults to -1. If WKT passed in is not a LINESTRING, then null is returned. + not give, it defaults to 0. If WKT passed in is not a LINESTRING, then null is returned. OGC SPEC 3.2.6.2 - option SRID is from the conformance @@ -1120,7 +1120,7 @@ aline | null_return LINESTRING geometry. This function plays the role of the Geometry Factory in SQL. - If an SRID is not specified, it defaults to -1. NULL is + If an SRID is not specified, it defaults to 0. NULL is returned if the input bytea does not represent a LINESTRING. @@ -1193,7 +1193,7 @@ aline | null_return LINESTRING geometry. This function plays the role of the Geometry Factory in SQL. - If an SRID is not specified, it defaults to -1. NULL is + If an SRID is not specified, it defaults to 0. NULL is returned if the input bytea does not represent a LINESTRING geometry. This an alias for . @@ -1785,7 +1785,7 @@ result Description Makes a Geometry from Well-Known-Text (WKT) with the given SRID. If SRID is - not give, it defaults to -1. + not give, it defaults to 0. OGC SPEC 3.2.6.2 - option SRID is from the conformance suite @@ -1823,7 +1823,7 @@ result ST_MPointFromText Makes a Geometry from WKT with the given SRID. If SRID is - not give, it defaults to -1. + not give, it defaults to 0. @@ -1846,7 +1846,7 @@ result Description Makes a Geometry from WKT with the given SRID. If SRID is - not give, it defaults to -1. + not give, it defaults to 0. OGC SPEC 3.2.6.2 - option SRID is from the conformance suite @@ -1885,7 +1885,7 @@ SELECT ST_MPointFromText('MULTIPOINT(-70.9590 42.1180, -70.9611 42.1223)', 4326) ST_MPolyFromText Makes a MultiPolygon Geometry from WKT with the given SRID. If SRID is - not give, it defaults to -1. + not give, it defaults to 0. @@ -1908,7 +1908,7 @@ SELECT ST_MPointFromText('MULTIPOINT(-70.9590 42.1180, -70.9611 42.1223)', 4326) Description Makes a MultiPolygon from WKT with the given SRID. If SRID is - not give, it defaults to -1. + not give, it defaults to 0. OGC SPEC 3.2.6.2 - option SRID is from the conformance suite @@ -2077,7 +2077,7 @@ SELECT ST_AsText(ST_PointFromGeoHash('9qqj7nmxncgyy4d0dbxqz0', 10)); Description Constructs a PostGIS ST_Geometry point object from the OGC Well-Known text representation. If SRID is - not give, it defaults to unknown (currently -1). If geometry is not a WKT point representation, returns null. + not give, it defaults to unknown (currently 0). If geometry is not a WKT point representation, returns null. If completely invalid WKT, then throws an error. @@ -2141,7 +2141,7 @@ SELECT ST_PointFromText('POINT(-71.064544 42.28787)', 4326); POINT geometry. This function plays the role of the Geometry Factory in SQL. - If an SRID is not specified, it defaults to -1. NULL is + If an SRID is not specified, it defaults to 0. NULL is returned if the input bytea does not represent a POINT geometry. &sfs_compliant; s3.2.7.2 @@ -2250,7 +2250,7 @@ SRID=4326;POLYGON((75.15 29.53 1,77 29 1,77.6 29.5 1,75.15 29.53 1)) ST_PolygonFromText Makes a Geometry from WKT with the given SRID. If SRID is - not give, it defaults to -1. + not give, it defaults to 0. @@ -2271,7 +2271,7 @@ SRID=4326;POLYGON((75.15 29.53 1,77 29 1,77.6 29.5 1,75.15 29.53 1)) Description Makes a Geometry from WKT with the given SRID. If SRID is - not give, it defaults to -1. Returns null if WKT is not a polygon. + not give, it defaults to 0. Returns null if WKT is not a polygon. OGC SPEC 3.2.6.2 - option SRID is from the conformance