laptop and a wrench

Erro

The IProximityOperator::ReturnDistance method returns an Automation Error when finding the distance between a Point feature and features in a PolyLine feature class.

Última Publicação: August 25, 2014 No Product Found
Número de ID do Erro NIM004240
EnviadoSeptember 18, 2006
Última ModificaçãoJune 5, 2024
Aplica-se àNo Product Found
Versão encontrada9.1
Idioma do programaAll
Versão Fixa9.2
StatusFixed

Solução Provisória

Re-projecting the point to the polyline’s Coordinate System using IGeometry::Project we do not receive the error and the ReturnDistance method returns the distance between the point and polyline features. The following lines of code was used to perform the Projection: Dim geom As IGeometry Dim geom1 As IGeometry Set geom = pFeat.Shape Set geom1 = pLnFeat.Shape geom.Project geom1.SpatialReference Set pProximity = geom

Etapas para Reproduzir

ID do Erro: NIM004240

Software:

  • No Product Found

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