165 reputation
6
bio website
location
age
visits member for 9 months
seen Mar 13 at 22:15
stats profile views 4

Mar
8
comment ArcPy script causing python.exe to stop working (memory issue?)
@JasonScheirer Building up the C++ code from the ArcObjects? This may be a silly question, but how does one go about doing that?
Mar
8
revised ArcPy script causing python.exe to stop working (memory issue?)
Added objgraph details and updates...
Mar
6
awarded  Informed
Mar
4
comment ArcPy script causing python.exe to stop working (memory issue?)
@Aaron I have added the function in my code that is causing the problem.
Mar
4
revised ArcPy script causing python.exe to stop working (memory issue?)
Removed old info.
Mar
1
revised ArcPy script causing python.exe to stop working (memory issue?)
Added code with the problem
Feb
13
comment ArcPy script causing python.exe to stop working (memory issue?)
Thanks. I added this after saving the layer file, but python.exe still crashes. There must be some other leak elsewhere, but at least I took care of one of them!
Feb
13
awarded  Commentator
Feb
13
comment ArcPy script causing python.exe to stop working (memory issue?)
@PolyGeo I have updated my original post to answer your question (as well as om_henners') and to provide a bit more information about my code.
Feb
13
revised ArcPy script causing python.exe to stop working (memory issue?)
Added more info about my code
Feb
11
asked ArcPy script causing python.exe to stop working (memory issue?)
Feb
4
accepted How to determine if all points on a map are identical in arcpy?
Feb
4
answered How to determine if all points on a map are identical in arcpy?
Feb
4
revised How to determine if all points on a map are identical in arcpy?
added 121 characters in body
Jan
31
comment How to determine if all points on a map are identical in arcpy?
@whuber How do I provide these explicit instructions? I have tried setting the env.extent and env.cellSize variables, but they don't seem to eliminate the error.
Jan
14
revised How to determine if all points on a map are identical in arcpy?
added new behavior of issue
Jan
14
comment How to determine if all points on a map are identical in arcpy?
That makes sense. From what I have seen, FindIdentical returns a table that lists all the points, then a FEAT_SEQ value that is the same for points in the same location. If I wanted to check if all the points were identical, I would have to just iterate through this table and make sure all the FEAT_SEQ values are the same. Is there a simpler way to do this? Can I make sure the output of this function is an array, instead of a file, so I don't have to do file reading/string manipulation?
Jan
7
comment How to determine if all points on a map are identical in arcpy?
Ah, this might still be useful, though. Since there is no point in calculating density for a file with all the same points (I think), I can just use FindIdentical to determine if the points are the same, then not run the KDens if they are.
Jan
7
comment How to determine if all points on a map are identical in arcpy?
Unfortunately, for some files I am using, ALL the points are the same. I am iterating over many different files, each with different sets of points. For example, one of the files may have 7 points, and they are all identical. Another file may have 3 points, and 2 are the same, yet the other is different. The latter case usually works fine.
Jan
7
comment How to determine if all points on a map are identical in arcpy?
Oh. Well, it could very well be that I am doing something wrong in my call to the KDens. Right now I am calling it with: outKDens = KernelDensity(feature_outfile, "NONE", 0.528710004, 40, "SQUARE_KILOMETERS"). The cell size may need to differ for each feature_outfile, though, so that may be causing the problem. I am not 100% comfortable with kernel density yet.