From: Sandro Santilli Date: Thu, 13 Jan 2005 10:54:06 +0000 (+0000) Subject: changed asText to asEWKT for lossless conversions X-Git-Tag: pgis_1_0_0RC1~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c92dcaee13c333a1461fb945436606c004349144;p=postgis changed asText to asEWKT for lossless conversions git-svn-id: http://svn.osgeo.org/postgis/trunk@1299 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/regress/lwgeom_regress.sql b/regress/lwgeom_regress.sql index 205492f90..031da0ed0 100644 --- a/regress/lwgeom_regress.sql +++ b/regress/lwgeom_regress.sql @@ -84,9 +84,9 @@ INSERT INTO test_data VALUES (-13, 'POLYGON((0 0.1 -0.01,0.2 10.3 -0.02,10.4 10. SELECT id,wkt FROM test_data WHERE - asText(geometry(wkt)) != wkt OR - asText(geometry(wkb_xdr)) != wkt OR - asText(geometry(wkb_ndr)) != wkt OR + asEWKT(geometry(wkt)) != wkt OR + asEWKT(geometry(wkb_xdr)) != wkt OR + asEWKT(geometry(wkb_ndr)) != wkt OR asBinary(geometry(wkb_ndr)) != asBinary(geometry(wkb_xdr)) OR asBinary(geometry(wkt)) != asBinary(geometry(wkb_xdr));