laptop and a wrench

Erro

Creating geometry with InsertCursor produces incorrect output, when Windows region and language settings (German) are set to use comma as a decimal delimiter.

Última Publicação: August 25, 2014 ArcGIS for Desktop
Número de ID do Erro NIM068776
EnviadoMay 27, 2011
Última ModificaçãoApril 28, 2025
Aplica-se àArcGIS for Desktop
Versão encontrada10.0
StatusKnown Limit

Informações Adicionais

Use floats instead of strings

Solução Provisória

Use floats instead of strings. In the workflow included, it would be more direct to use the original floats, instead of concatenating them into a string, and then later spliting them out and using them as strings.Below is a modified chunk of the code that uses the float directly. The 2 modified lines are notedfor rec in tabCur: lochID = rec.getValue(lochField) punktNr=punktNr + 1 lPath.append([punktNr, rec.getValue(xField), rec.getValue(yField), rec.getValue(zField)]) #modifiedarcpy.AddMessage("Create 3D-Line of hole " + str(lochID) + " ...")lineArray = arcpy.Array()pnt = arcpy.Point()for pt in lPath: <a href="http://pnt.ID" target="_blank">pnt.ID</a>, pnt.X, pnt.Y, pnt.Z = pt #modified lineArray.add(pnt)

Etapas para Reproduzir

ID do Erro: NIM068776

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