8,506 reputation
928
bio website geodata.soton.ac.uk
location Southampton, United Kingdom
age 43
visits member for 4 years, 6 months
seen 3 hours ago

I was originally a River Habitat Surveyor in the UK but I drifted into GIS and its application in mapping and geo-processing of river habitat sites. I would now class myself as an ArcGIS desktop developer. I have spent over a decade developing tools in ArcObjects the building blocks of ArcGIS. As a home project and born out of my interesting in mapping data along rivers I developed RivEX a tool for processing river networks.

My work at GeoData has covered topics as diverse as satellite classification, forestry, census, marine traffic, historic monuments, cycle surveys, mobile mapping and numerous projects extracting and analysing river related information.


1d
comment Can multiprocessing with arcpy be run in a script tool?
Luke, thanks for the code template. I've implemented your structure as a script tool so not as a python toolbox (.pyt) and it does not work. If I untick "run in process" it instantly bombs with a 000714 error, way to quickly for it to have even begun to run the code, so I'm not sure if that is a bug in 10.3. I don't think its the code that is the problem. So going to create a pyt version and get that running (which I expect it will). I'm fast coming to the conclusion that you can't run multiprocessing module in a Script tool but you can in say a pyt or just IDLE.
Mar
27
answered Spatial Join Layer Derived from Zonal Raster on Original Polygon
Mar
27
revised Create Multiple Feature Layer and Add to MXD
Corrected formatting of code
Mar
27
comment Moving multiple features to snap to nearest edge
Have a look at the spatial adjustment toolbar?
Mar
27
comment Moving multiple features to snap to nearest edge
It sounds like you want to move the geometry so it aligns to that edge. But we need more context, are they always rectangular and needing to be move to a straight edge? What if the edge they are aligning to is curved?
Mar
27
comment Can multiprocessing with arcpy be run in a script tool?
So @Luke you are saying I can run a script using multiprocessing from ArcToolbox? I've got it working in IDLE but not a script tool, do you have any example code, that would be awesome!
Mar
27
comment Can multiprocessing with arcpy be run in a script tool?
@MichaelMiles-Stimson, I'm not doing anything fancy, in fact my code is very similar to the second example in the second link that Alex Tereshenkov gave. I've yet to see (may be I have missed it?) a statement that says you cannot create a script using multiprocessing and run it as a script tool from ArcToolbox. I just see these statements that say it must be run out of process which frankly doesn't mean much to me. So can multiprocessing scripts using arcpy be run from ArcToolbox or not? I think the answer is going to be no? :(
Mar
26
asked Can multiprocessing with arcpy be run in a script tool?
Mar
26
comment Dynamic user input model builder
Look at the help file on modelbuilder about exposing the inputs and outputs of tool in a model as parameters.
Mar
24
comment Failed to execute (ExtractByMask)
Also the way you have designed your code you need to check that your shapefiles are in the same folder as your rasters.
Mar
24
comment Layer symbology is not applied in layer to KMZ
Honestly my model was nothing more than a make feature layer linking to layer to KML, so what you are showing above. Why don't you try that in a new model, to test it and then try some simple symbology, if that works then it would suggest that the symbology is causing the problem, maybe to fancy for KML?
Mar
23
comment Layer symbology is not applied in layer to KMZ
I've just tested this and it worked for me, a single polygon. The layer file that I set the symbology of the output of make featurelayer was a full path (so not relative), just an idea?
Mar
23
comment How to remove a feature class or table from the TOC? C#
You can improve this code further, you create a workspacefactory but never use it, delete that code.
Mar
23
answered Where do I get Elevation Data for Scotland?
Mar
23
comment How to display radius while adding element in ArcObject?
You mention MapControl, are you writing an application for Engine or an AddIn for desktop?
Mar
23
revised How to display radius while adding element in ArcObject?
edited body
Mar
22
comment Empty HydroEdge, HydroJunction, and ArcHydro attribute tables Arc Hydro Network generation?
You may be better off posting in the actual ArcHydro post on the esri geonet website to get an answer to this question?
Mar
22
revised Arcpy save command giving errors
Improved formatting of code
Mar
22
comment Why is my context menu not showing
You have to create the context menu, either dynamically or have it prebuilt. Have a look at this page
Mar
21
comment Remove a property page from Layer Property Sheet
I'm curious why would you ever want to remove the ability to set a definition query? That's an incredibly useful and important property of a FeatureLayer.