laptop and a wrench

不具合

Certain geometries cannot be copied and pasted using the JAVA API.

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

対処法

There is a simple workaround for it: dump the shape to binary; create a new shape from the binary; and then insert the new shape. ArcGIS desktop uses the same way during copy / past. For instance, in the repro case: case SeColumnDefinition.TYPE_SHAPE: System.out.println(i + ":\t" + colDef.getName() + " : SHAPE" ); SeShape shp = in_srcRow.getShape(i); // in_destRow.setShape(i, shp); int size=shp.getBinarySize(); java.util.ArrayList binArry=shp.asBinary(size+1); SeShape newShape=new SeShape(CoordRef_of_the_Target_Layer) ; byte[] bytes=(byte[])binArry.get(1); newShape.generateFromBinary(bytes); in_destRow.setShape(i, newShape);

再現の手順

不具合 ID: NIM008463

ソフトウェア:

  • No Product Found

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

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

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

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

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

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

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