|
POST
|
Is this a 1:M join? That is, your table has more than one record per county. Sounds like that's what you've got. I'd go with the Make Query Table tool. There's an example of using Make Query Table in this help topic -- it's the 2nd example.
... View more
02-25-2013
11:20 AM
|
0
|
0
|
378
|
|
POST
|
In deciding whether to enable the Always run in foreground checkbox, we scan the model and examine the properties of each tool the model uses. If one of those tools has Always run in foreground checked (the default state), then the parent model's checkbox is disabled; you can't run a model in the background if one of the tools it is using is set to run in the foreground. So, I'm thinking that your custom models are calling other custom models or tools that you've built and you first have to enable those to run in the background. Be sure to look at this topic about background: Running custom (model or script) tools in the background. It discusses the above behavior as well as the importance of setting all layer variables to be parameters.
... View more
02-25-2013
08:09 AM
|
0
|
0
|
968
|
|
POST
|
See this blog post More adventures in overlay: counting overlapping polygons with spaghetti and meatballs. It's not exactly what you're looking for, but the section titled "Point in polygon overlay" should be very helpful.
... View more
02-25-2013
08:02 AM
|
0
|
0
|
1764
|
|
POST
|
ArcGIS Geoprocessing services will overwrite existing data by default. If you are on 10.1, I would suggest that you use %scratchfolder% instead of %scratchworkspace% since you're writing a .dbf. But if you're creating geoprocessing services with 10.1, you don't have to use any scratch workspace or folder -- the service publishing process figures out that you're writing a .dbf file and will 'automagically' write it to the scratch folder.
... View more
02-22-2013
08:26 AM
|
0
|
0
|
932
|
|
POST
|
Seems like you just need to run the Intersect tool (or Spatial Join). The output will be a point feature class with all the attributes of the lighting strikes and the attributes of the fire polygons they fall within. You could then run attribute queries on this output. If a fire polygon doesn't have a lighting strike within it, then the output feature class from Intersect won't contain any features that have that polygon's OBJECTID or attributes. You could then select these "no strikes within" polygons and run Generate Near Table to find the closest strike.
... View more
02-21-2013
03:44 PM
|
0
|
0
|
517
|
|
POST
|
Ah... that geometric mean! Not that I know of. I'll have to do some checking. For sure Dissolve doesn't have the option.
... View more
02-11-2013
07:15 PM
|
0
|
0
|
2094
|
|
POST
|
Feature class and table names within a geodatabase must be unique, even if they reside in a feature dataset. This is unlike folders on the file system. I just did a test and arcpy.Exists does return true whether or not the feature class resides in a feature dataset. (I like using the python window to quickly test how something works). Here's what I did. In my geodatabase "Test.gdb", I created a Feature Dataset named "TestFD". Within TestFD, I created a feature class named "Fred". In python: >>> print arcpy.Exists(r'E:\StreetIntersectionList\ToolData\Test.gdb\Fred') True >>>
... View more
02-11-2013
07:09 PM
|
0
|
0
|
1292
|
|
POST
|
You can input a Weight Field to the Mean Center tool -- is this what you mean? For more information, take a look at the "how it works" doc.
... View more
02-11-2013
06:58 PM
|
0
|
0
|
2094
|
|
POST
|
Start with the Quick Tour of developing tools in Python. This help topic is the overview topic that explains how to create a script tool that you can use in ModelBuilder. As far as the Python code itself, you want to execute your IDL code from w/in Python, reading and writing to standard input/output or to files. I don't have any experience with IDL so I don't know what it's capable of. And I kinda forget the Python calls for executing external programs (did it many years ago), but there's lots of examples on the web; just do a search -- I found some threads on stackoverflow.com You should visit our Python resource center, as well as our Python recipe site. There is also a Python forum.
... View more
02-04-2013
09:33 AM
|
0
|
0
|
827
|
|
POST
|
See attached image. The help topic Using layers and table views may help explain more.
... View more
02-02-2013
06:52 AM
|
0
|
0
|
939
|
|
POST
|
arcpy.AddError() is currently a no-op in Calculate Value. You can, however, raise an error, as in: raise arcpy.ExecuteError("This input argument is weak") However, this generates a whole call stack of errors -- it isn't very pretty, but it works... the model will stop execution and the last message will be "This input argument is weak" ... your user should be able to locate the message easily. The best solution is to create a little script tool. Here's the code for a script tool that takes two args, message and severity. I can post this tool to the script tool gallery later today. Anyway, if you're up to coding a script tool: import arcpy
message = arcpy.GetParameterAsText(0)
severity = arcpy.GetParameterAsText(1)
arcpy.SetParameter(2, True) # Output parameter set to false on error
if severity.upper() == "ERROR":
arcpy.SetParameter(2, False) # error, don't continue
arcpy.AddError(message)
if severity.upper() == "WARNING":
arcpy.AddWarning(message)
if severity.upper() == "INFORM":
arcpy.AddMessage(message)
... View more
01-03-2013
08:31 AM
|
2
|
1
|
1108
|
|
POST
|
There might be a problem with the netCDF to Layer tool running in background. Have you tried running in foreground? See the topic Foreground and Background Processing for more info on how to change to foreground.
... View more
12-21-2012
02:32 PM
|
0
|
0
|
1561
|
|
POST
|
Can you provide some of the data that I can test? The only explanation I can think of is that in fact one of the inputs does have overlapping polygons.
... View more
12-21-2012
09:22 AM
|
0
|
0
|
313
|
|
POST
|
Just a shot in the dark here: take a look at this topic A quick tour of publishing a geoprocessing service and scroll down until you find the section titled "Small output datasets". It explains how output data is copied to the server in order to support map services. This may or may not by your situation.
... View more
12-19-2012
12:56 PM
|
0
|
0
|
1280
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-30-2013 04:37 PM | |
| 1 | 03-27-2013 10:03 AM | |
| 2 | 11-15-2013 12:33 PM | |
| 1 | 04-30-2013 11:26 AM | |
| 1 | 07-26-2011 08:03 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:22 AM
|