1,526 reputation
513
bio website esri.com
location Redlands, CA
age
visits member for 2 years, 5 months
seen 17 hours ago
stats profile views 83

1d
comment How to use CURRENT map document in Python tool?
You should be running this tool in process, and in the foreground. ("current" doesnt work in the background as there isn't a map there to operate on)
May
13
comment ArcGIS 10.1 Model cannot be transferred between Win7 and Win8 machines
If its a model inside a fGDB, and you have "read-only" permissions on what looks like the folder of the GDB in Explorer, you wont be able to write/save edits. What happens if you make a new toolbox on disk, then copy the model from your fGDB toolbox to your disk based toolbox?
May
9
comment What are the Pros and Cons to an ArcGISOnline Organizational Account?
I'm one of those Esri people :) It is a long way off.
May
9
comment What are the Pros and Cons to an ArcGISOnline Organizational Account?
Just to touch on a couple of your cons: It can only host Cached Map services and Feature Services, so if theres something in the traditional Map service you need, right, you dont have access. The geoprocessing thats coming is the hosted analytic solution (provided by Esri) which is in beta now. At this time there isn't a plan for hosting your own GP Services in AGOL.
May
1
comment psexec remote file execution with ArcGIS Server
I dont know psexec. I can say that if the .exe you're calling requires any sort of input (like it pops a window, and you have to click ok), or it absolutely has to pop a window to be shown on the active display, it wont work. For example, this will fail as it waits for the cmd.exe to be dismissed os.system("cmd.exe") vs. this os.system("c:\test\test.bat") which runs to completetion (bat just does an echo)
May
1
comment How can I setup a portable ArcGIS installation on a flash drive?
Whats your source on this? Looking at the Explorer download page you need to have at least .NET 3.5 installed and then install Explorer. At the very best I can only imagine pulling pieces of the installed product onto a flash drive and am skeptical that would work.
Apr
22
comment Run Viewshed on only one feature at a time in a shapefile
doh me - changed "for" to "while"
Mar
28
comment Good practices for storing connection info while deploying geoprocessing tool on Server
Simply by name matching. If you have the layer named "streets" inside your ToC, then refer to data inside the tools in your script by "streets". Trust that name match works.
Feb
25
comment How to add Oracle database connection to AnalyzeforMSD script?
Just a guess - try the Create ArcSDE Connection file tool: resources.arcgis.com/en/help/main/10.1/index.html#//… I do know when you run the tool it validates by making a connection to SDE. So, I'm thinking by using this it might persist the open connection in your script, thus allowing you to analyze.
Feb
15
comment ArcGIS Server 10.1 Geoprocessing service weirdly changed file path
Can you post the pyscript or a snippet of it. I think I know whats happening but have to see the script to be sure. I also assume you've setup a data store entry? And if you haven't, and are able to : install sp1 for Server. It has some GP publishing fixes.
Feb
15
comment ArcGIS Server 10.1 publish geoprocessing tools
Just as a note - probably someone else setup your ArcGIS Server. The error message you're getting is because a setting was turned on which explicitly denies data upload when a service is published. When this is turned on you need to use a data store as Alex describes. 10.1 publishing is all about making sure the server will have access to the data, if not, the data gets moved. (except in cases like this were the Server admin says you cant move the data)
Feb
11
comment WPF Runtime Arcgis - How to open MXD?
ArcGIS Server has geoprocessing, so you can either create a geoprocessing service, or simply use Server's Python to call tools. So yeah, ArcGIS Server "can create an mpk".. (via the Map Package tool)
Feb
6
comment WPF Runtime Arcgis - How to create a MPK?
map packages are created from Desktop. There is no way to create a map package using just runtime components.
Jan
10
comment parallelization of raster mosaic
Note that the parallel environment was introduced at 10.1 SP1
Jan
10
comment How to auto-add new values to unique values classification values range?
When you say map service do you mean the "result map service"? The one tied to the GP task? I dont completely understand your workflow (gp or no gp)... if GP, maybe this help topic will answer some questions: resources.arcgis.com/en/help/main/10.1/#/…
Jan
10
comment python.exe has stopped working
No, thats not right - old scripts that worked in 9.3 will continue to work in 10 and 10.1. You do not need to modify gp to arcpy. You can even intermingle gp and arcpy throughout a script if you want to add new functionality, but not fully convert. ..... why this particular case is crashing above, I don't know. My suggestion is to break it down to sections and see exactly the last tool/function to happen before python bails
Jan
8
comment ArcGIS Server 10.1 Python GP script shape as input parameter
With 10.1 you can define the schema of the featureset you're passing in. But I'd figure if you've created an application to allow users to draw features, then you probably already have a set schema (but theres always exceptions to the rules...) but yeah, in my answer I guess I just assumed features would be passed in (not some sort of string of coordinates). Either way would work, but I think passing features in is easier as the framework handles it for you. (opposed to parsing a string into features via the script)
Jan
7
comment Using the ArcGIS Local Routing Tool . . geoprocessing in the runtime
See the screen shot above? The location you're adding is set as a Barrier. The point you provide into each feature set already has its behavior defined. - the easiest way to test this in Desktop is to run it with 2 stops ( each on the same line, with 1 full street inbetween), then add the barrier on the same street inbetween the 2 intersections. The round should move around the barrier instead of straight line
Jan
3
comment How can I programmatically get the path of “Python.exe” used by ArcMap
When I say "search" the registry, I mean use the actual paths I provided above. Unless someone knows better, these reg keys location (in the registry) wouldnt change from machine to machine. So you'd just hardcode the paths to see if the keys exist there, if so whats the value...
Dec
20
comment How can I programmatically get the path of “Python.exe” used by ArcMap
Well the logic would have to start with the newest version 2.7 and work backwards. This of course could fail if you installed a new version of Python, then went and installed an older version of ArcGIS which would install an older version of Python. So yeah, I agree theres this potential, but its not likely (or you could just construct a lookup of arc10.1 = py2.7, arc10.0=py26...etc to be 100% sure). As I said, the best method would probably just to shell out to command prompt.