laptop and a wrench

不具合

ST_Geometry: ST_Relate returns invalid value when presented with an empty geometry as an input parameter

最後に公開された状態: August 25, 2014 No Product Found
不具合 ID 番号 NIM006581
送信されましたFebruary 6, 2007
最終更新日June 5, 2024
適用対象No Product Found
見つかったバージョン9.2
修正されたバージョン9.3
ステータスFixed

対処法

Checking for an output of 1 from ST_Relate will still indicate that the features are equal, except in the case where both input parameters are empty. A more robust method is to check whether geometries are empty when calling ST_Relate. If both are empty, they may be considered equal. If one is empty and the other is not, then they are not equal. For example, to find all combinations of matching features in TBL1 and TBL2select (TBL1.OBJECTID, TBL2.OBJECTID) from TBL1, TBL2 WHERE ST_Relate(TBL1.SHAPE,TBL2.SHAPE, 'T*F**FFF*') = 1 OR ( ST_IsEmpty(TBL1.SHAPE) = 0 AND ST_IsEmpty(TBL2.SHAPE) = 0 );

再現の手順

不具合 ID: NIM006581

ソフトウェア:

  • No Product Found

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動