|
POST
|
No...but it has been requested, and will probably be the default in future deployments of Arc
... View more
09-30-2011
11:11 AM
|
0
|
0
|
925
|
|
POST
|
your last two lines are indented incorrectly, you delete the rows in the first pass
... View more
09-27-2011
01:13 AM
|
0
|
0
|
1908
|
|
POST
|
Did you toggle on the extension? (Customize |Extensions)
... View more
09-26-2011
12:13 PM
|
0
|
0
|
545
|
|
POST
|
If both fields aren't string/text, you can't concatenate them (ie use the + ) unless you convert them to string first ( ie using python's str method)
... View more
09-25-2011
12:17 PM
|
0
|
0
|
1908
|
|
POST
|
did you try rebuilding to see if the original file is in error?
... View more
09-25-2011
03:21 AM
|
0
|
0
|
2929
|
|
POST
|
These two rows del rows arcpy.AddMessage("Completed") need to be de-dented to line up with the for statement try:
rows = arcpy.UpdateCursor(infc)
for row in rows: # iterate over the rows
....
....
del rows
arcpy.AddMessage("Completed")
... View more
09-25-2011
03:19 AM
|
0
|
0
|
2656
|
|
POST
|
What is even stranger is the class/value shown with identify (4) doesn't match that within the raster table (6). In any event, you would multiply the cell area by the count to get area (which wouldn't help in your case anyway)
... View more
09-23-2011
02:46 AM
|
0
|
0
|
2929
|
|
POST
|
grid tables give cell count which multiplied by the square of the cell width gives area...histogram, IMS...yields area...check in any event
... View more
09-22-2011
01:03 PM
|
0
|
0
|
2929
|
|
POST
|
Grids should never be housed in a folder with spaces. Check that as the root problem first.
... View more
09-16-2011
12:12 PM
|
0
|
0
|
1684
|
|
POST
|
Check to ensure that you don't have a single point selected by opening the files table and looking at the selection numbers at the bottom of the table
... View more
09-15-2011
07:08 AM
|
0
|
0
|
1197
|
|
POST
|
Just curious ... are these ESRI grids in a folder (ie c:\stuff) or in a gdb?
... View more
09-14-2011
11:18 AM
|
0
|
0
|
2365
|
|
POST
|
Costpath perhaps, but check out the distance toolset at http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/An_overview_of_the_Distance_tools/009z00000014000000/
... View more
09-14-2011
02:54 AM
|
0
|
0
|
510
|
|
POST
|
Alex I am sure you can figure out the rest from this verbose coding example:
'''
ParsingDataDemo.py
A demo file to parse data which is quasi-fixed width
File and script must reside in the same folder...fix this if you want
'''
import sys, os
data_path = (os.path.dirname(sys.argv[0]) + "/").replace("\\","/") #can be skipped if you follow
data_file = data_path + "ParsingDataDemoData.txt" #fix this or better still create a tool
#data_file should be sys.argv[1] which allows a user to select a file in a folder
a_file = open(data_file)
data = a_file.readlines()
for a_line in data:
record_type = a_line[:3]
parcel_num = a_line[3:11]
the_rest = a_line[11:]
print record_type, parcel_num, the_rest
... View more
09-12-2011
02:43 PM
|
0
|
0
|
8807
|
|
POST
|
By any chance is this thread related to this thread, re the sorting issue? http://forums.arcgis.com/threads/36757-No-sort-option-in-the-DA-module-cursors
... View more
09-02-2011
06:48 AM
|
0
|
0
|
2663
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-03-2017 11:39 AM | |
| 1 | 08-05-2019 05:21 PM | |
| 1 | 09-02-2016 08:05 AM | |
| 1 | 01-15-2018 01:10 PM | |
| 1 | 09-17-2018 12:48 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:22 AM
|