laptop and a wrench

不具合

IMapGeographicTransformations.GeographicTransformations is not able to retrieve geo transformations for a map in all cases.

最後に公開された状態: August 31, 2014 ArcGIS for Desktop
不具合 ID 番号 NIM067962
送信されましたMay 10, 2011
最終更新日June 5, 2024
適用対象ArcGIS for Desktop
見つかったバージョン10.0
プログラム言語C#
オペレーティング システムWindows OS
オペレーティング システムのバージョン7 64 Bit
ステータスWill Not Be Addressed

参考情報

We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.

対処法

This code will return correct transformation information:Sub Test() Dim pMxD As IMxDocument Set pMxD = ThisDocument Dim pMap As IMap Set pMap = pMxD.FocusMap Dim pMGT As IMapGeographicTransformations Set pMGT = pMap Dim pGTOS As IGeoTransformationOperationSet Set pGTOS = pMGT.GeographicTransformations Dim pGT As IGeoTransformation Dim direction As esriTransformDirection pGTOS.Reset Dim i As Integer Debug.Print "Projection Count - " & pGTOS.Count For i = 0 To pGTOS.Count - 1 pGTOS.Next direction, pGT Debug.Print <a href="http://pGT.Name" target="_blank">pGT.Name</a> NextEnd SubBut the code will fail to return transformation information if the "pGTOS.Reset" is not called first.If this is expected then please mention this in documentation that calling the 'Reset' method is required, otherwise no transformation information from the map document would be returned.

再現の手順

不具合 ID: NIM067962

ソフトウェア:

  • ArcGIS for Desktop

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

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

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

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

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

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

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