From 2fa5849e10015bd34d46bc44205c4992283c8859 Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Tue, 24 Sep 2013 21:09:06 +0000 Subject: [PATCH] #2396 liblwgeom tests fail on big-endian architectures (oops copied the wrong tickets file) git-svn-id: http://svn.osgeo.org/postgis/trunk@11974 b70326c6-7e19-0410-871a-916f4a2858ee --- regress/tickets.sql | 2 +- regress/tickets_expected | 42 +++++++++++++++++++++++++--------------- 2 files changed, 27 insertions(+), 17 deletions(-) diff --git a/regress/tickets.sql b/regress/tickets.sql index 57dad4d51..8fa60efbb 100644 --- a/regress/tickets.sql +++ b/regress/tickets.sql @@ -685,7 +685,7 @@ SELECT '#1734.1', count(*) FROM eg; DROP table eg; -- #1755 -- -select '#1755', encode(ST_AsBinary(ST_GeographyFromText('SRID=4326;Point(85 35 0)'),'ndr'),'hex'); +select '#1755', st_geographyFromText('SRID=4326;Point(85 35 0)'); -- #1776 -- with inp as ( SELECT diff --git a/regress/tickets_expected b/regress/tickets_expected index 47b4046e7..e48513ae0 100644 --- a/regress/tickets_expected +++ b/regress/tickets_expected @@ -15,7 +15,7 @@ ERROR: lwgeom_longitude_shift: unsupported geom type: CircularString #73|GEOMETRYCOLLECTION(CIRCULARSTRING(1 1,2 3,4 5,6 7,5 6)) #80|MULTILINESTRING((0 0,1 1)) #83|MULTICURVE(CIRCULARSTRING(220268 150415,220227 150505,220227 150406)) -ERROR: Unsupported geometry type: CircularString +#85|0 #112|GEOMETRYCOLLECTION(POINT(-10 50)) NOTICE: ST_Locate_Between_Measures and ST_Locate_Along_Measure are deprecated. Use ST_LocateAlong and ST_LocateBetween. ERROR: Geometry argument does not have an 'M' ordinate @@ -66,7 +66,7 @@ NOTICE: No points or linestrings in input array #304 #304.a|21 #304.b|1 -#408|Too few points in geometry component[2310341.45565344 4836396.65124226] +#408|Too few points in geometry component[ NOTICE: Too few points in geometry component at or near point 0 0 #408.1|f #408.2|Too few points in geometry component[0 0] @@ -143,15 +143,17 @@ ERROR: First argument must be a LINESTRING #1060|FFFFFFFF2 #1273|t #1273.1|t -NOTICE: ""."t"."g" is empty or not analyzed -#877.1| -NOTICE: "public"."t"."g" is empty or not analyzed -#877.2| -NOTICE: ""."t"."g" is empty or not analyzed -#877.3| -#877.4|BOX(-10 -50,20 30) -NOTICE: ""."t"."g" is empty or not analyzed -#818.1| +ERROR: stats for "t.g" do not exist +ERROR: stats for "t.g" do not exist +DEBUG: ST_Estimated_Extent signature was deprecated in 2.1.0. Please use ST_EstimatedExtent +ERROR: stats for "t.g" do not exist +ERROR: stats for "t.g" do not exist +#877.4|-10.15000|20.15000|-50.40000|30.40000 +#877.5|-10.15000|20.15000|-50.40000|30.40000 +#1292|GEOMETRYCOLLECTION(POINT(180 90),POLYGON((140 50,150 50,180 50,140 50),(140 60,150 60,180 60,140 60))) +NOTICE: Coordinate values were coerced into range [-180 -90, 180 90] for GEOGRAPHY +NOTICE: Coordinate values were coerced into range [-180 -90, 180 90] for GEOGRAPHY +#1292.1|POINT(180 85)|POINT(-175 90) <#1320> #1320.geog.1|MULTIPOLYGON|4326 #1320.geom.1|MULTIPOLYGON|4326 @@ -200,9 +202,9 @@ ERROR: AddToPROJ4SRSCache: could not parse proj4 string '' #1398b|POINT(-160.137654 77.091608) #1543|MULTILINESTRING((0 0,10 0,10 10,0 0),(0 0))|POLYGON((0 0,10 10,10 0,0 0)) #1578|f|f -#1580.1|Point[B] +#1580.1|Point[BS] ERROR: transform: couldn't project point (180 90 0): tolerance condition error (-20) -#1580.3|Point[B] +#1580.3|Point[BS] #1596.1|public.road_pg.roads_geom SRID:3395 TYPE:POINT DIMS:2 ERROR: invalid SRID: 330000 not found in spatial_ref_sys #1596.3|3395 @@ -211,21 +213,28 @@ ERROR: invalid SRID: 999000 not found in spatial_ref_sys NOTICE: SRID value -1 converted to the officially unknown SRID value 0 #1596.6|public.road_pg.roads_geom SRID changed to 0 #1596.7|0 -#1596|Point[BG] +#1596|Point[BGS] #1695|MULTIPOLYGON EMPTY #1697.1|0 #1697.2|0 #1697.3|1024 #1734.1|1026 -#1755|01e9030000000000000040554000000000008041400000000000000000 +#1755|01010000A0E6100000000000000040554000000000008041400000000000000000 #1776|POLYGON((0 0,10 0,10 10,0 0))|POLYGON((0 0,10 0,10 10,0 0)) +#1780|t #1791|4.7 ERROR: ST_Segmentize: invalid max_distance 0 (must be >= 0) -#1957|1 ERROR: invalid GML representation +#1957|1 #1978|3.1413 #1996|{"type":"Point","coordinates":[]} #2001|POLYGON((0 0,0 1,1 1,0 0)) +#2028|TIN(((0 0,0 1,1 1,0 0))) +#2035a|6 +#2035b|6 +#2048|1|f|f +#2048|2|t|t +#2048|3|f|f #2112a|0|LINESTRING(2.5 2.5 1,2.5 2.5 1) #2112b|1|LINESTRING(1 1 1,1 0 1) #2108|SRID=3395;POINTM EMPTY @@ -233,6 +242,7 @@ ERROR: invalid GML representation #2110.1|f #2110.2|t #2110.3|t +#2145|6792004 #2307|MULTIPOLYGON(((-41.1932 -7.3257,-41.1616 -7.3257,-41.1569 -7.3257,-41.1569 -7.3483,-41.1932 -7.3483,-41.1932 -7.3257),(-41.1616 -7.3257,-41.1879 -7.3257,-41.1879 -7.3425,-41.1616 -7.3425,-41.1616 -7.3257))) #2415.1|MULTICURVE(COMPOUNDCURVE((0 0,10 0),CIRCULARSTRING(10 0,15 1,20 10))) #2415.2|MULTISURFACE(CURVEPOLYGON(CIRCULARSTRING(10 0,15 1,20 0,18 5,20 10,10 10,10 0))) -- 2.40.0