laptop and a wrench

Bug

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

Zuletzt veröffentlicht: August 25, 2014 No Product Found
Bug-ID-Nummer NIM079090
EingereichtMarch 15, 2012
Zuletzt geändertJune 5, 2024
Gilt fürNo Product Found
Gefunden in Version10.1
Behoben in Version10.2
StatusFixed

Workaround

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

Schritte zur Reproduzierung

Bug-ID: NIM079090

Software:

  • No Product Found

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln