laptop and a wrench

Error

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

Última publicación: August 25, 2014 No Product Found
Número de ID del error NIM079090
EnviadoMarch 15, 2012
Última modificaciónJune 5, 2024
Relacionado conNo Product Found
Versión encontrada10.1
Versión corregida10.2
EstadoFixed

Solución alternativa

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

Pasos para reproducir

ID del error: NIM079090

Software:

  • No Product Found

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga