@@ -55,26 +55,26 @@ INSERT INTO gis_point VALUES
55
55
INSERT INTO gis_line VALUES
56
56
(105, ST_LineFromText('LINESTRING(0 0,0 10,10 0)')),
57
57
(106, ST_LineStringFromText('LINESTRING(10 10,20 10,20 20,10 20,10 10)')),
58
- (107, ST_LineStringFromWKB(LineString(Point(10, 10), Point(40, 10))));
58
+ (107, ST_LineStringFromWKB(St_AsWKB( LineString(Point(10, 10), Point(40, 10) ))));
59
59
INSERT INTO gis_polygon VALUES
60
60
(108, ST_PolygonFromText('POLYGON((10 10,20 10,20 20,10 20,10 10))')),
61
61
(109, ST_PolyFromText('POLYGON((0 0,50 0,50 50,0 50,0 0), (10 10,20 10,20 20,10 20,10 10))')),
62
- (110, ST_PolyFromWKB(Polygon(LineString(Point(0, 0), Point(30, 0), Point(30, 30), Point(0, 0)))));
62
+ (110, ST_PolyFromWKB(St_AsWKB( Polygon(LineString(Point(0, 0), Point(30, 0), Point(30, 30), Point(0, 0) )))));
63
63
INSERT INTO gis_multi_point VALUES
64
64
(111, ST_MultiPointFromText('MULTIPOINT(0 0,10 10,10 20,20 20)')),
65
65
(112, ST_MPointFromText('MULTIPOINT(1 1,11 11,11 21,21 21)')),
66
- (113, ST_MPointFromWKB(MultiPoint(Point(3, 6), Point(4, 10))));
66
+ (113, ST_MPointFromWKB(St_AsWKB( MultiPoint(Point(3, 6), Point(4, 10) ))));
67
67
INSERT INTO gis_multi_line VALUES
68
68
(114, ST_MultiLineStringFromText('MULTILINESTRING((10 48,10 21,10 0),(16 0,16 23,16 48))')),
69
69
(115, ST_MLineFromText('MULTILINESTRING((10 48,10 21,10 0))')),
70
- (116, ST_MLineFromWKB(MultiLineString(LineString(Point(1, 2), Point(3, 5)), LineString(Point(2, 5), Point(5, 8), Point(21, 7)))));
70
+ (116, ST_MLineFromWKB(St_AsWKB( MultiLineString(LineString(Point(1, 2), Point(3, 5)), LineString(Point(2, 5), Point(5, 8), Point(21, 7) )))));
71
71
INSERT INTO gis_multi_polygon VALUES
72
72
(117, ST_MultiPolygonFromText('MULTIPOLYGON(((28 26,28 0,84 0,84 42,28 26),(52 18,66 23,73 9,48 6,52 18)),((59 18,67 18,67 13,59 13,59 18)))')),
73
73
(118, ST_MPolyFromText('MULTIPOLYGON(((28 26,28 0,84 0,84 42,28 26),(52 18,66 23,73 9,48 6,52 18)),((59 18,67 18,67 13,59 13,59 18)))')),
74
- (119, ST_MPolyFromWKB(MultiPolygon(Polygon(LineString(Point(0, 3), Point(3, 3), Point(3, 0), Point(0, 3))))));
74
+ (119, ST_MPolyFromWKB(St_AsWKB( MultiPolygon(Polygon(LineString(Point(0, 3), Point(3, 3), Point(3, 0), Point(0, 3) ))))));
75
75
INSERT INTO gis_geometrycollection VALUES
76
76
(120, ST_GeomCollFromText('GEOMETRYCOLLECTION(POINT(0 0), LINESTRING(0 0,10 10))')),
77
- (121, ST_GeometryFromWKB(GeometryCollection(Point(44, 6), LineString(Point(3, 6), Point(7, 9)))));
77
+ (121, ST_GeometryFromWKB(St_AsWKB( GeometryCollection(Point(44, 6), LineString(Point(3, 6), Point(7, 9) )))));
78
78
INSERT into gis_geometry SELECT * FROM gis_point;
79
79
INSERT into gis_geometry SELECT * FROM gis_line;
80
80
INSERT into gis_geometry SELECT * FROM gis_polygon;
0 commit comments