postgis/regress/tickets_expected
Sandro Santilli 965a39d011 Switch back ST_CollectionExtract to return EMPTY rather than NULL on no matches (#835)
This behavior seems closer to the one requested in original #457
testcase, and is still consistent. Is also closer to documentation.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8721 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-09 17:01:54 +00:00

164 lines
7.7 KiB
Plaintext

#2|POLYGON((1 1,1 2,2 2,3 2,3 1,2 1,1 1))
#11|0
#21|SRID=31293;POINTM(6220.13 5337367.145 4566)
t
ERROR: AddGeometryColumn() - invalid SRID
#44|t|t
#58|220187|150406|220289|150507
ERROR: lwgeom_to_gml2: 'CurvePolygon' geometry type not supported
#66|CIRCULARSTRING(0 0,1 1,2 2)
#68a|MULTIPOINT(1 3,4 5)
ERROR: lwgeom_longitude_shift: unsupported geom type: CircularString
#69|CIRCULARSTRING(220269 150417,220228 150507,220228 150408)
#70|5
#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
#112|GEOMETRYCOLLECTION(POINT(-10 50))
ERROR: Geometry argument does not have an 'M' ordinate
#116|POLYGON EMPTY
#122|CIRCULARSTRING(220268 150415,220227 150505,220227 150406)
#124a|COMPOUNDCURVE(CIRCULARSTRING(0 0,1 1,1 0),(1 0,30 5),CIRCULARSTRING(30 5,34 56,67 89))
ERROR: incontinuous compound curve
HINT: "...0 6),CIRCULARSTRING(30 5,34 56,67 89)" <-- parse error at position 85 within geometry
#145a|0103000020E610000000000000
#145b|0
#146|0|t|GEOMETRYCOLLECTION(LINESTRING(0 0,-1 -1),MULTIPOINT(1 2,2 3))
ERROR: Invalid hex string, length (267) has to be a multiple of two!
#157|ST_Polygon|POLYGON
#157|ST_Point|POINT
#157|ST_Polygon|POLYGON
#157|ST_CurvePolygon|CURVEPOLYGON
#157|ST_CircularString|CIRCULARSTRING
#168|3|MULTIPOLYGON(((4275341.96977851 259186.966993061,4275341.96977851 259186.966993061,4275341.96977851 259186.966993061)))|IllegalArgumentException: Invalid number of points in LinearRing found 3 - must be 0 or >= 4
#175|SRID=26915;POINT(482020 4984378)
#178a|0
#178b|5
NOTICE: No points in input array
#179a|
NOTICE: No points in input array
#179b|
#183|COMPOUNDCURVE(CIRCULARSTRING(0 0,0.5 1.2071067812,1 0),(1 0,0 1))
#210a|
NOTICE: No points in input array
#210b|
#213|17
#234|COMPOUNDCURVE((0 0,1 1))
#241|0
#254|010700000000000000
#259|
#260|1667701
#261|0
#262|POINT(-119.5434 34.9438)|t|t|t
#262|POINT(-119.5452 34.9442)|t|t|t
#262|POINT(-119.5434 34.9438)|t|t|t
#262|POINT(-119.5438 34.9443)|t|t|t
#263|SRID=4326;POINT(-119.5434 34.9438)|t|t|t
#263|SRID=4326;POINT(-119.5452 34.9442)|t|t|t
#263|SRID=4326;POINT(-119.5434 34.9438)|t|t|t
#263|SRID=4326;POINT(-119.5438 34.9443)|t|t|t
#271|t
#272|-2|2
#277|<gml:Point><gml:coordinates>1,1e+308</gml:coordinates></gml:Point>
#299|2
#304
#304.a|21
#304.b|1
#408|IllegalArgumentException: point array must contain 0 or >1 elements
NOTICE: IllegalArgumentException: point array must contain 0 or >1 elements
#408.1|f
#408.2|IllegalArgumentException: point array must contain 0 or >1 elements
NOTICE: IllegalArgumentException: Invalid number of points in LinearRing found 2 - must be 0 or >= 4
#408.3|f
#408.4|IllegalArgumentException: Invalid number of points in LinearRing found 2 - must be 0 or >= 4
#457.1|POINT(0 0)
#457.2|LINESTRING EMPTY
#457.3|POLYGON EMPTY
#457.4|POINT EMPTY
#457.5|LINESTRING(0 0,1 1)
#457.6|POLYGON EMPTY
#457.7|POINT EMPTY
#457.8|LINESTRING EMPTY
#457.9|POLYGON((0 0,1 0,1 1,0 1,0 0))
#835.1|POINT EMPTY
#835.2|LINESTRING EMPTY
#835.3|POLYGON EMPTY
#835.4|POINT EMPTY
#835.5|LINESTRING EMPTY
#835.6|POLYGON EMPTY
#835.7|POINT EMPTY
#835.8|LINESTRING EMPTY
#835.9|POLYGON EMPTY
#835.10|MULTIPOINT EMPTY
#835.11|MULTILINESTRING EMPTY
#835.12|MULTIPOLYGON EMPTY
#650|MULTIPOINT(0 0,1 1,2 2)
#667|SRID=4326;CURVEPOLYGON(CIRCULARSTRING(30 40,18.2842712474619 11.7157287525381,-9.99999999999994 0,-38.284271247462 68.2842712474618,30 40))
#677|1121395
#680|010100000000000000000024c00000000000004940
#682|0103000020E610000000000000
#683|0103000020E610000000000000
#684|0103000020E610000000000000
#685|0103000020E610000000000000
#686|0107000020E610000002000000010300000000000000011100000000000000
#687|f
#689|f
#690
ERROR: Input geometries must be points
#693a|0103000060E61000000100000005000000EA95B20C71C851C02B1895D409204540000000000000F03F9CC420B072C851C0C7BAB88D062045400000000000000840B1506B9A77C851C08E75711B0D20454000000000000000C0FF21FDF675C851C0F2D24D6210204540000000000000F03FEA95B20C71C851C02B1895D4092045400000000000000000
#693b|0103000060E61000000100000007000000EA95B20C71C851C0AA605452272045400000000000000000386744696FC851C04703780B2420454000000000000034408638D6C56DC851C04703780B2420454000000000000034C08638D6C56DC851C0E3A59BC42020454000000000000014408638D6C56DC851C08048BF7D1D20454000000000000010409CC420B072C851C04703780B242045400000000000001840EA95B20C71C851C0AA605452272045400000000000003E40
#694
ERROR: Shell is not a line
#695
ERROR: First argument must be a LINESTRING
#696|010F000080060000000103000080010000000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F03F0000000000000000000000000000F03F000000000000F03F0000000000000000000000000000F03F0000000000000000000000000000000000000000000000000000000000000000010300008001000000050000000000000000000000000000000000000000000000000000000000000000000000000000000000F03F0000000000000000000000000000F03F000000000000F03F0000000000000000000000000000F03F0000000000000000000000000000000000000000000000000000000000000000000000000000000001030000800100000005000000000000000000000000000000000000000000000000000000000000000000F03F00000000000000000000000000000000000000000000F03F0000000000000000000000000000F03F00000000000000000000000000000000000000000000F03F00000000000000000000000000000000000000000000000001030000800100000005000000000000000000F03F000000000000F03F0000000000000000000000000000F03F000000000000F03F000000000000F03F000000000000F03F0000000000000000000000000000F03F000000000000F03F00000000000000000000000000000000000000000000F03F000000000000F03F0000000000000000010300008001000000050000000000000000000000000000000000F03F00000000000000000000000000000000000000000000F03F000000000000F03F000000000000F03F000000000000F03F000000000000F03F000000000000F03F000000000000F03F00000000000000000000000000000000000000000000F03F00000000000000000103000080010000000500000000000000000000000000000000000000000000000000F03F000000000000F03F0000000000000000000000000000F03F000000000000F03F000000000000F03F000000000000F03F0000000000000000000000000000F03F000000000000F03F00000000000000000000000000000000000000000000F03F
#720|MULTIPOINT(-1113194.91 4838471.4,-1113194.91 7326837.72,-1113194.91 11028513.63,556597.45 4838471.4,556597.45 7326837.72,556597.45 11028513.63,2226389.82 4838471.4,2226389.82 7326837.72,2226389.82 11028513.63,3896182.18 4838471.4,3896182.18 7326837.72,3896182.18 11028513.63,5565974.54 4838471.4,5565974.54 7326837.72,5565974.54 11028513.63)
#723|0101000020E6100000F480D98DE33826C0ACFCFFFFFFFF4340
#723|0107000020E610000000000000
#723|0107000020E610000000000000
#723|0101000020E61000007975D98DE33826C060FBFFFFFF7F4B40
#804|<gml:Point srsName="urn:ogc:def:crs:EPSG::4326"><gml:pos srsDimension="2">0 0</gml:pos></gml:Point>
#845|t
#834|GEOMETRYCOLLECTION(POINT(0 0 5),LINESTRING(10 10 5,10 0 5))
#884|1|f
#884|2|t
#938|
#668|BOX(10 2,14 2)
#711|
#712|t
#756.1|t|t
#1023|t
#1023.a|f
#1023.b|t
#1060|FFFFFFFF2
#1273|t
#1273.1|t
WARNING: No stats for "<current>"."t"."g" (empty or not analyzed)
#877.1|
WARNING: No stats for "public"."t"."g" (empty or not analyzed)
#877.2|
WARNING: No stats for "<current>"."t"."g" (empty or not analyzed)
#877.3|
#877.4|BOX(-10 -50,20 30)
<#1320>
#1320.geog.1|MULTIPOLYGON|4326
#1320.geom.1|MULTIPOLYGON|4326
ERROR: Geometry type (Polygon) does not match column type (MultiPolygon)
ERROR: Geometry type (Polygon) does not match column type (MultiPolygon)
#1320.geog.2|MULTIPOLYGON|4326
#1320.geom.2|MULTIPOLYGON|4326
ERROR: Geometry type (Polygon) does not match column type (MultiPolygon)
ERROR: Geometry type (Polygon) does not match column type (MultiPolygon)
#1320.geog.3|MULTIPOLYGON|4326
#1320.geom.3|MULTIPOLYGON|4326
</#1320>
#1344|25
#1385|
#657.1|-166.78
#657.2|10.00
#657.3|t
#1305.1|POINT(10 10)
#1305.2|t
#1305.3|t