laptop and a wrench

Erro

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

Última Publicação: August 31, 2014 ArcGIS for Desktop
Número de ID do Erro NIM067962
EnviadoMay 10, 2011
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS for Desktop
Versão encontrada10.0
Idioma do programaC#
Sistema OperacionalWindows OS
Versão do Sistema Operacional7 64 Bit
StatusWill Not Be Addressed

Informações Adicionais

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.

Solução Provisória

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.

Etapas para Reproduzir

ID do Erro: NIM067962

Software:

  • ArcGIS for Desktop

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download