作为地理空间分析的一部分,我们在ST_GEOMETRY
中创建了一个Teradata
字段,并存储了 GeoSequence 数据。我们能够插入GeoSequence数据类型并能够执行 GeoSequence 方法。但是,对于某些情况,我们无法插入 GeoSequence 数据。
以下是有问题的记录,它在异常情况下抛出。
INSERT FAILED. [7548] 13 OGRGeometryFactoryX::createFromWkt failed.
Insert Query:
---------------------
INSERT INTO PLAP_TEMP.SHAPES_WORK
VALUES (7234, 'GeoSequence((
103.849156 1.288848,
103.848589 1.287925,
103.847986 1.286837,
103.8475 1.286561,
103.845948 1.28738,
103.842801 1.289602,
103.842306 1.289904,
103.841407 1.288665,
103.839099 1.288882,
103.8377 1.288771,
103.835302 1.289199,
103.8319 1.290346,
103.827 1.29049,
103.825797 1.28810
),
(
2017-03-01 23:51:59,
2017-03-01 23:52:10,
2017-03-01 23:52:24,
2017-03-01 23:52:48,
2017-03-01 23:53:25,
2017-03-01 23:53:31,
2017-03-01 23:53:46,
2017-03-01 23:54:19,
2017-03-01 23:54:32,
2017-03-01 23:54:51,
2017-03-01 23:55:23,
2017-03-01 23:56:01,
2017-03-01 23:56:40,
2017-03-01 23:56:39
),
(
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
),
(0))'
);
Lat-Lng值对应新加坡。
任何人都可以帮助审核此查询并确定可能存在的问题。
谢谢和问候, 〜保罗