laptop and a wrench

Erro

K Function permutations to create Confidence Envelopes are not using simulated points.

Última Publicação: August 25, 2014 No Product Found
Número de ID do Erro NIM079090
EnviadoMarch 15, 2012
Última ModificaçãoJune 5, 2024
Aplica-se àNo Product Found
Versão encontrada10.1
Versão Fixa10.2
StatusFixed

Solução Provisória

To make the correction:1) Navigate to the Scripts folder and locate the <a href="http://KFunction.py" target="_blank">KFunction.py</a> script: <ArcGIS>\Desktop10.0\ArcToolbox\Scripts2) Create a backup copy of this script file (name the copy something like <a href="http://KFunctionSave.py" target="_blank">KFunctionSave.py</a>)... this is just in case something goes wrong.3) Open <a href="http://KFunction.py" target="_blank">KFunction.py</a> with any text editor (like Notepad, for example). Alternatively, from within ArcMap right-click the K Function tool (via the Catalog or the ArcToolbox pane) and select Edit to access the source code.4) Locate the following section of code (at about line 517) and under the line "if not inside:" change the variable "newTable" to "simTable"#### Resolve Simulate Points ####if self.simulate: simTable = GAPY.ga_table() tempN = len(newTable) simID = self.maxID + 1 for i in xrange(tempN): row = newTable[i] id = row[0] x,y = row[1] simTable.insert(id, (x,y), 1.0) if near[id] <= self.stepMax: nearX, nearY = nearXY[id] dX = nearX + (nearX - x) dY = nearY + (nearY - y) point = (dX, dY) inside = UTILS.pointInPoly(point, self.studyAreaPoly, tolerance = self.tolerance) if not inside: newTable.insert(simID, point, 1.0) ## change "newTable" to "simTable" on this line: simTable.insert(simID, point, 1.0) newSimDict[simID] = id simID += 1

Etapas para Reproduzir

ID do Erro: NIM079090

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