|
POST
|
The following is supposed to write the partial content of four Attribute Tables [AT] to a single CSV file. While it finishes “successfully”, it only writes the last of the four tables to the specified CSV file [MyOutput8.csv]. I had though that the statement arcpy.env.overwriteOutput=True on line 19 would address that but clearly I’m wrong. The CSV output looks like this, which is correct, except for the missing three AT’s that should precede it. Advice, please. Thank you so much.
... View more
01-31-2021
01:35 PM
|
0
|
8
|
5143
|
|
POST
|
Thanks very much. This solved that problem. Looks like I need some more time learning the details of Python. Be well, Bill Cole
... View more
01-17-2021
07:06 AM
|
0
|
0
|
4329
|
|
POST
|
This is for ArcGIS Desktop 10.8.1, Python 2.7. The purpose of this script is to examine Attribute Tables associated with a set of Feature Classes and to extract from those tables a set of fields, writing those fields to a single csv file. The following script threw the error “’None Type’ object is not iterable” that was flagged on Line 20, highlighted in the figure below. After reading several threads about None Type [here’s one from Geonet] I’ve decided that I’m just not smart enough to sort this out by myself nor have sufficient experience with Python to do so. Here’s what I’ve done to narrow things down: Ran a script to print out the FC’s that would be listed by line 12. This gave me the expected answer. Checked to make sure that the field names listed on line 26 were spelled and capitalized correctly. They were and were able to produce a csv file for a single FC. To get to this point, I’ve been the beneficiary of help from several Geonet denizens for which I am very grateful. I hate to keep asking and not giving, but here I am and would be grateful, yet again, for some suggestion or two about what I should be looking for to resolve this error.
... View more
01-15-2021
08:02 AM
|
0
|
2
|
4378
|
|
POST
|
Thank you again. I should have picked up on the need to make a new line but what do I know. Very much appreciate your patience and help. Be well. Bill Cole
... View more
01-13-2021
06:29 AM
|
1
|
0
|
2214
|
|
POST
|
Mr. Pike, thank you very much for your input. Obviously I still have much to learn about the Python/AcrPy world. Just to make sure that I understood your suggestions, below is a modified script, hopefully reflecting the changes you offered. Please let me know if I have made yet another mistake.
... View more
01-12-2021
07:22 AM
|
0
|
2
|
2223
|
|
POST
|
This is for ArcGIS 10.8.1 and Python 2.7 Using Blake Terhune’s solution [thank you, Blake] shown in the ESRI Community article Export Attribute Table to .csv as a basis to create a .csv file from the selected contents of an attribute table, I need to go one step further and modify that script so that it will cycle through a defined number of Attribute Tables within a defined .gdb. [Leaving the changes out, the script works fine for a single FC.] To do that I made these changes, which, it appears, to have been wrong. Here’s the modified script with the modifications highlighted in yellow: Modified CSV Script 1. I added line 12 which is intended to create a variable that extracts all FC’s that end with “03”. 2. Then modified line 15 so that that variable defined the array of input tables. 3. Finally added a for-loop as line 20 to cycle through those tables defined by line 15, outputting a – hopefully – concatenated .csv file containing all of the Attribute Table entries. This didn’t work as shown by this run-time result: ArcPy Error I checked to see if all the Fields defined in line 25 were spelled correctly – as I gotten a similar error when there was a problem with the field list – but they were all spelled and capitalized correctly. I would be grateful for some guidance on where I have gone wrong, please. Thanks so much,
... View more
01-11-2021
12:58 PM
|
0
|
4
|
2241
|
|
POST
|
I am looking for a hydrology tutorial for ArcGIS Desktop 10.8.x. I have used the Hydrologic analysis sample applications for ArcMap web page as a start, but find that there are missing pieces - parts that I don't understand - that I have not been able to sort out. I was hoping to find a tutorial like the excellent ArcGIS Spatial Analysis Extension Tutorial. Suggestions would be gratefully received. Thank you all very much, Bill Cole
... View more
09-19-2020
08:05 AM
|
0
|
0
|
985
|
|
POST
|
Checked w/Tech Support. Turns out that I was looking in the wrong place for the Proximity Tool Set. It is part of the Analysis group, while the instructions I was working with showed the Proximity Tool Kit as being in the first layer under Analysis Tools. My apologies.
... View more
06-23-2020
07:51 AM
|
1
|
0
|
1245
|
|
POST
|
Thanks much for the information. In my install of Win10 I have to do *Control Panel | Apps | scroll to ArcGIS Desktop 10.8 | Uninstall | Repair | Install*. Sadly, that did not fix the problem so I guess I've got to call Tech. Bill Cole
... View more
06-23-2020
06:55 AM
|
0
|
0
|
1245
|
|
POST
|
Had the proximity tool kit in 10.7 and have now discovered that it is missing in my 10.8 install. Running ArcGIS Desktop. How to fix this please. Thanks much, Bill Cole
... View more
06-21-2020
01:11 PM
|
0
|
5
|
1360
|
|
POST
|
Thank you very much for the guidance. The questions follow, with the hope that I've provided enough information. Exercise 3 of the ArcGIS Desktop Spatial Analysis Tutorial is located here: https://desktop.arcgis.com/en/arcmap/latest/extensions/spatial-analyst/tutorial/exercise-3-finding-a-site-for-a-new-school.htm I printed the exercise so I could write notes on it. The page numbers refer to the printed document. 1. When the tutorial in exercise 3, page 8, mentions finding “locations close to recreation sites” in connection with “deriving distance from recreation sites”, I'm assuming that the "from" point is the recreation site point but what is the "to" point? 2. Same question for schools' locations. I'm assuming the answers are the same, but am not sure. 3. Why is the destination point placed where it is? 4. What is the thinking that went into the assignment of different weights to each of the landuse types? Page 19. 5. Same question about the “% influence” column values associated with the data elements used in the Weighted Overlay tool, page 19.
... View more
05-08-2020
01:50 PM
|
0
|
0
|
1777
|
|
POST
|
I have several questions about Exercise 3 of the ArcGIS Desktop Spatial Analysis tutorial. Where would be the most appropriate place to ask these questions? Thank you.
... View more
04-29-2020
11:48 AM
|
0
|
2
|
1891
|
|
POST
|
When I went to do that this popped up: Pressing the Transformations ... button showed this: I have no idea what these additional GCSs are associated with. Having never encountered this before, not sure what the right thing to do is.
... View more
08-22-2016
05:52 AM
|
0
|
0
|
2210
|
|
POST
|
Dan, thanks. There are two coordinate systems associated with this data frame: NAD_1927_StatePlane_Virginia_South_FiPS_4502 GCS_North_American_1927 The data frame's base map is ArcGIS topographic. On top of that is a georeferenced 1918 USGS topo map which is associated with the NAD coordinate system. I'm assuming that the GCS coordinate system is associated with the basemap, but maybe not? Maybe that's the problem?
... View more
08-20-2016
08:50 AM
|
0
|
2
|
2210
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 1 | 02-01-2021 05:46 AM | |
| 1 | 02-01-2021 05:40 AM | |
| 1 | 01-13-2021 06:29 AM | |
| 1 | 02-08-2016 08:59 AM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|