|
POST
|
Is your Exel document formatted correctly? First row are headers Headers without spaces or illegal charaters Your XY fields are formatted as numbers No null data Duncan
... View more
01-26-2011
01:12 PM
|
0
|
0
|
809
|
|
POST
|
Fabrizio, You cannot create a raster in an InMemory workspace. If you look at the VBA Help file and search InMemoryWorkspaceFactory CoClass is states what it cannot support, rasters being one of them. Duncan
... View more
01-26-2011
01:00 PM
|
0
|
0
|
1209
|
|
POST
|
You are almost there. The iterator creates an output variable in your model called value, you would have set that to your ID. You can use that in an inline substitution. Read help if you don't know what that is. Anyway I would then do: Add an ID field to summary table Use calculate to pass point id to this new field using inline substitution Append summary table to an existing empty table with exact same schema (same fields) Let the model run then join table to original point layer, et voia!
... View more
01-25-2011
11:34 AM
|
0
|
0
|
2866
|
|
POST
|
Mono, I'm not understanding your logic. Are you saying you have a point layer (the facilities) then for each point you want to create a 1Km buffer then use that buffer to select polygons that have their centroids in the buffer? If so then the model needs rearranging. Start with the iterator, it's input is the point layer. This iterator then cycles through all the points 1 at time. That individual point feeds into a buffer tool the output being a single buffer, this then feeds into your select by location tool and the selected polygons feed into your summary tool. Duncan
... View more
01-25-2011
01:16 AM
|
0
|
0
|
2866
|
|
POST
|
J, Looking at the Help it says that you need to provide an index position for you output parameter which you are not supplying as shown in your sample code. Duncan
... View more
01-25-2011
01:05 AM
|
0
|
0
|
1023
|
|
POST
|
J, Are you aware of the AddFieldDelimiters method on the Geoprocessor? Duncan
... View more
01-24-2011
05:15 AM
|
0
|
0
|
1023
|
|
POST
|
Robin, There is a tool in your ArcToolbox called Linear Direction Mean in the Spatial Statistics toolset. You could try running this tool setting the case field to a unique ID for each polyline (such as the ObjectID). Not tried it so I could be sending you off in the wrong direction (no pun intended). Duncan
... View more
01-24-2011
05:03 AM
|
1
|
0
|
15854
|
|
POST
|
Sean, Why don't you use the summary statistics table but the output goes to an In_Memory table. You collate your information from the table display as you wish and then delete the In_Memory workspace and if you set the environment of the geoprocessor to not add to display they should never see it. Duncan
... View more
01-24-2011
02:18 AM
|
0
|
0
|
541
|
|
POST
|
Mono, You do not say which version of ArcGIS you are using. You need to tell us this so we can help you. If you are using ArcGIS 10 then there is the new and very useful Feature Selection iterator, this will help with you model logic. Information about this can be found here. Duncan
... View more
01-24-2011
12:46 AM
|
0
|
0
|
2866
|
|
POST
|
Steve, What you are asking is not possible. The iterators work with FeatureClasses in their workspace. But to visualise a selection you are working with a FeatureLayer. If you look at the input requires of the SelectByAttribute tool that takes a FeatureLayer and not a FeatureClass. A tool to iterate over FeatureLayers does not exist. Duncan
... View more
01-20-2011
02:53 AM
|
0
|
0
|
1805
|
|
POST
|
Kevin, Search help for the Interface IMask there is example code that shows you how to set the Halo. Duncan
... View more
01-20-2011
02:37 AM
|
0
|
0
|
482
|
|
POST
|
James, I'm not so hot with Python but do you need to reset your position in your text file, some sort of reset pointer to beginning of text file? Duncan
... View more
01-19-2011
05:43 AM
|
0
|
0
|
1059
|
|
POST
|
Ruth, Here is a 9.3 model that does what you want. You may want to tweak it for your needs and to document it better. Duncan
... View more
01-19-2011
03:12 AM
|
0
|
0
|
862
|
|
POST
|
Will, I think you are heading off in the wrong direction... 😉 Below is some sample code that you would put in the on click event of a UIControl in an MXD. The code grabs the first layer in ArcMap, fires up ArcScene and then adds the layer. At this point you have a handle on the root object ISxDocument from which you can do all your stuff. Make sure you are referencing the esriArcScene library and have the 3D Analyst extension turned on. Duncan Public Sub test()
' Grab first layer in ArcMap
Dim pMXDocument As IMxDocument
Set pMXDocument = ThisDocument
Dim pMap As IMap
Set pMap = pMXDocument.FocusMap
Dim pLayer As ILayer
Set pLayer = pMap.Layer(0)
' Create an instance of ArcScene
Dim pDocument As IDocument
Set pDocument = New esriArcScene.SxDocument
Dim pApplication As IApplication
Set pApplication = pDocument.Parent
pApplication.Visible = True
' Add a layer to ArcScene
Dim pSXDocument As ISxDocument
Set pSXDocument = pDocument
pSXDocument.AddLayer pLayer
End Sub
... View more
01-18-2011
06:15 AM
|
0
|
0
|
1140
|
|
POST
|
Gregory, Is the string ModelName being set to the name of your model? The Name of your model is not the same as the display label which you see in your Toolbox. In ArcToolbox right click on your model and select properties. Then under the general tab check that you are passing the Name and not Label. Also don't start your model name with a number. Duncan
... View more
01-18-2011
05:34 AM
|
0
|
0
|
609
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 1 | 4 weeks ago | |
| 1 | 4 weeks ago | |
| 8 | 03-30-2026 10:12 AM | |
| 2 | 03-18-2026 08:16 AM |
| Online Status |
Offline
|
| Date Last Visited |
Tuesday
|