]> granicus.if.org Git - postgis/commitdiff
changed asText to asEWKT for lossless conversions
authorSandro Santilli <strk@keybit.net>
Thu, 13 Jan 2005 10:54:06 +0000 (10:54 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 13 Jan 2005 10:54:06 +0000 (10:54 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1299 b70326c6-7e19-0410-871a-916f4a2858ee

regress/lwgeom_regress.sql

index 205492f90f7c5fc315bdca17340dd421ec61d774..031da0ed020f302a9331915331523f58ad6a6ffa 100644 (file)
@@ -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));