|
POST
|
Rebecca, Well you could convert all combination of points into polylines using the Points To Line tool. If you are using model builder then you would probably have a master model with an feature iterator calling a sub-model which builds the polylines. Again I think this would be easier as a python script. Then you could create a model that loops for each line, rasterizes it using the polyline to raster tool (so only 1 polyline at a time) and use the zonal statistics tool to get the sum of the cells under your rasterized polyline. Duncan
... View more
11-14-2011
05:35 AM
|
0
|
0
|
2365
|
|
POST
|
Rebecca, I'm not so familiar with the type of analysis you are talking (I don't do too much grid analysis). So this is my understanding. You have a cost layer distance to river. You have point 1 and it is intersecting a cell that is 1 mile from a river, point 2 is on another cell that is 4 miles from a river. So the value you are interested is the difference between these 2 points, which is 3 and then you repeat this analysis for all combinations of points (your 68 points)? If I have understood this correct then you could use the tool Extract Multi Values to Points. This would get all your cost values for each point in 1 hit. You could then use a feature selection iterator to loop through your data doing the pairwise difference (I'm assuming you are ArcGIS 10)? If you can program in Python it may be easier to do the looping in that? Duncan
... View more
11-14-2011
12:38 AM
|
0
|
0
|
2365
|
|
POST
|
I spotted the Android App on the ESRI news feed and tried to download it. I have an HTC wildfire phone which is running the minimum OS that the application requires but it refused to install. I contacted the email address on their homepage and they have not bothered to reply, not brilliant customer support... I will look out for this Panasonic device, sounds good.
... View more
11-13-2011
11:53 PM
|
0
|
0
|
1998
|
|
POST
|
Andrew, May be your solution is some combination of the describe object, more info here. You could try using the dataElementType property? This bit of python will give you all the data element types as long as they are not in a grouplayer. mxd = arcpy.mapping.MapDocument("CURRENT")
l = arcpy.mapping.ListLayers(mxd)
for al in l:
d = arcpy.Describe(al)
print d.dataelementtype Duncan
... View more
11-11-2011
07:06 AM
|
0
|
0
|
1057
|
|
POST
|
Rebecca, It may help others to help you if you draw what you are trying to ask and upload it. You start off talking about points then end up talking about selected cells, so what are you actually talking about?
... View more
11-11-2011
06:27 AM
|
0
|
0
|
2365
|
|
POST
|
Thomas, If you are happy to convert your models into Python code then you could take advantage of multi-core processors as described in this blog. It does mean you will have to stop working in the model builder environment. Duncan
... View more
11-11-2011
06:17 AM
|
0
|
2
|
2523
|
|
POST
|
Hello, I wanted to bump this thread up to the top to find out what the latest is? There is nothing on the ArcPad blog about the future of Arcpad. I know mobile 7 is a very different beast and that Arcpad seems to be tied to hardware development (Trimble etc..) so I was wondering what ESRI were envisaging for ArcPad? I don't follow mobile development too closely but modern mobile OS seem to be all about gestures and fluffy looking "apps" ,a scenario I can't see working if one is trying to capture detailed geometries. So if ArcPad is tied to hardware and big companies like Trimble or Magellan are not moving towards such OS then does this mean ArcPad is "stuck" at mobile 6.5 and we should NOT be running out to buy the latest hardware? Duncan
... View more
11-11-2011
05:05 AM
|
0
|
0
|
1998
|
|
POST
|
Michelle, I downloaded your toolbox and had a look at it. In your initial thread you said that it would not even run the table select part of Python. This bit I have tested only. The parameter setting for your "Output selected data" was incorrect. It's direction was set to input this should be an Output. This allowed that section of code to execute correctly even with the text file (my idea of dBase was a red herring). This bit of code now generates a table based upon your sql expression which should join to your featureclass. Duncan
... View more
11-09-2011
01:15 AM
|
0
|
0
|
1879
|
|
POST
|
Michelle, You upload data/toolboxes by zipping them up first... Your sample of data (Wost_Test) is this originally a text file? Convert it to a dbf first. Duncan
... View more
11-08-2011
07:19 AM
|
0
|
0
|
1879
|
|
POST
|
Tom, Don't have a grid file name long than 8 characters. Duncan
... View more
11-08-2011
06:53 AM
|
0
|
0
|
892
|
|
POST
|
Michelle, Can you upload your toolbox that you have linked your python script to so we can check the parameters. Also give us an example of the sql expression you are adding and maybe a sample of your data (in the format that it is stored as)? Duncan
... View more
11-08-2011
06:47 AM
|
0
|
0
|
1879
|
|
POST
|
Aleydis, I use PyScripter as my Python development environment. I find running a script from the Python command line window in ArcMap slower than running it from the IDE environment. Also if you have a multicore processor maybe you could try and utilise them all? There is a great blog article showing a simple example here. Duncan
... View more
11-08-2011
06:39 AM
|
0
|
0
|
590
|
|
POST
|
Ivan, This code gets to the width and height of a graphic: Public Sub test()
' Get the map and the graphics container for it
Dim pMap As IMap
Dim pMXDocument As IMxDocument
Set pMXDocument = ThisDocument
Set pMap = pMXDocument.FocusMap
Dim pGraphicsContainer As IGraphicsContainer
Set pGraphicsContainer = pMap
' Get the first element
Dim pElement As IElement
pGraphicsContainer.Reset
Set pElement = pGraphicsContainer.Next
' Get the name property and display
Dim pElementProperties As IElementProperties
Set pElementProperties = pElement
MsgBox pElementProperties.Name
' Get the width and height and display
Dim pEnvelope As IEnvelope
Set pEnvelope = New Envelope
Dim pDisplay As IDisplay
Set pDisplay = pMXDocument.ActiveView.ScreenDisplay
pElement.QueryBounds pDisplay, pEnvelope
MsgBox CStr(pEnvelope.Width), vbInformation, "width"
MsgBox CStr(pEnvelope.Height), vbInformation, "height"
End Sub Another Interface is IBoundsProperties. This code worked well for a circle but I noticed that when I drew a polyline graphic it's width was different to what the dialog was reporting, not sure why. Duncan
... View more
11-08-2011
12:48 AM
|
0
|
0
|
825
|
|
POST
|
Are you saying the ArcToolbox contains no tools, so the whole window is blank? I used to get this problem in 9.3 and found that the only way to make them come back is to add the system tools. In ArcGIS 10 you would open ArcToolbox, right click anywhere in it and select add toolbox. In the look in drop down select toolboxes then go into system toolboxes and select everything. Duncan
... View more
11-03-2011
08:34 AM
|
0
|
0
|
5843
|
|
POST
|
Joe, Try using the Collect value tool. In your model attach the point_ge.shp output of the iterator to a collect value tool. In model builder go to to menu option insert > model only tools > collect values. This as the name suggests collects the values generated by the iterator which can then feed into the append tool. Duncan
... View more
11-03-2011
01:53 AM
|
0
|
0
|
4599
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-15-2026 07:35 AM | |
| 1 | 04-14-2026 06:38 AM | |
| 1 | 04-14-2026 04:16 AM | |
| 8 | 03-30-2026 10:12 AM | |
| 2 | 03-18-2026 08:16 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|