8,863 reputation
132101
bio website StephenLead.com
location Sydney
age
visits member for 3 years, 11 months
seen yesterday

Apr
10
reviewed Reviewed Printing a map using GeoExt, Openlayers and GeoServer
Apr
10
reviewed Approve Use SLD to conditionally display points or polygons based on zoom level?
Apr
10
revised Toblers's Hiking Equation and Slope Dilemma
linked directly to the article, rather than the /tutorials/ folder
Apr
10
reviewed Approve Calculate change in canopy height over 10 years?
Apr
9
comment What web GIS is this? (And how can you tell?)
see mapengine.id=mapengine.ngis - it might also be a product by NGIS who used to write an application which sat on top of ArcIMS (I think). Can you share the page where you found the above request?
Apr
7
awarded  Notable Question
Mar
31
comment Avoiding Python version confusion when using IDLE with ArcGIS Pro and rest of ArcGIS for Desktop?
PythonWin also has great debugging capabilities, including a handy Watch window which lets you quickly see multiple variables' values
Mar
31
answered Avoiding Python version confusion when using IDLE with ArcGIS Pro and rest of ArcGIS for Desktop?
Mar
31
comment How to write to a single table via Python multiprocessing
@Luke thanks, multiprocessing.Lock() works. But it seems to remove any benefits of multiprocessing as it creates a bottleneck. I guess the whole approach is flawed, as per Michael's original comment which started this whole exploration!
Mar
31
comment How to write to a single table via Python multiprocessing
Thanks for the tips - not bad for your first multiprocessing script :) I think the problem only occurs when multiple processes try to access the insertCursor simultaneously, which doesn't happen in your simple script. If I replace your bList with the larger list generated by loading all the cities (for city in sCursor: bList.append([outTblName, city[0], city[1]]), I get the same result as my original script. That is, only around 450 of the original 593 cities are added.
Mar
30
comment How to write to a single table via Python multiprocessing
@MichaelMiles-Stimson how can I detect when the whole process is finished, so I can append the tables? If I include print("finished") indented by one tab (same level as the with arcpy.da.SearchCursor...) this is the first (not last) thing I see.
Mar
30
comment How to write to a single table via Python multiprocessing
I also tried calling the function recursively in the case of errors - still no dice. I guess creating multiple tables and appending them is the best workaround
Mar
30
revised How to write to a single table via Python multiprocessing
added recursive call within the doProcess loop
Mar
30
comment Can multiprocessing with arcpy be run in a script tool?
@MichaelMiles-Stimson I just posted a question asking how to handle multiple insert cursors ;)
Mar
30
asked How to write to a single table via Python multiprocessing
Mar
30
reviewed Looks OK Rename layers with script
Mar
27
comment arcgis server performance comparison
Wait, is she really downloading 1.4Gb of data in a WFS request? I'd hesitate before sending that via FTP
Mar
27
comment arcgis server performance comparison
Also, I think you've referenced the exact blog post that the question says is outdate
Mar
26
reviewed No Action Needed Publishing map services in GeoServer like ArcGIS for Server does?
Mar
26
reviewed Reviewed No legend showing at all in ArcGIS Server print task (MapExport)