|
IDEA
|
Maybe have a tool tip come up showing the problematic path if you drag the mouse over the ! icon?
... View more
02-16-2022
04:35 PM
|
0
|
0
|
1154
|
|
POST
|
A couple of thoughts: You should be able to navigate into the multiband image to access each band using paths. Another thing to look into is the Select Data tool, which is used unpack data out of containers like multiband images and feature datasets.
... View more
02-15-2022
09:29 AM
|
0
|
0
|
2608
|
|
POST
|
That's a great idea. Example Calculate Value code arcpy.Describe(r"%Excel worksheet%").name
... View more
02-08-2022
08:35 AM
|
2
|
1
|
2259
|
|
POST
|
One more thing, you may want to look at the tools Sort and Delete Identical they may do what you want without having to use a custom script.
... View more
02-04-2022
11:22 AM
|
0
|
1
|
4146
|
|
POST
|
I could read the screen shot, but it looked like there was more code below the screen shot under the scrollbar. Looks like the answer to my question was no. To return derived parameters, you must populate the value with arcpy.SetParameterAsText(). Hope this example helps: import arcpy
arcpy.env.autoCommit = 2000
treetable = arcpy.GetParameterAsText(0)
globalid = 'REL_GLOBALID'
date_field_sort = 'DATE D'
update_cursor = arcpy.UpdateCursor(treetable, '', '', globalid, date_field_sort)
keep_list = list()
for row in update_cursor:
row_val = row.getValue(globalid)
if row_val not in keep_list:
keep_list.append(row_val)
elif row_val in keep_list:
update_cursor.deleteRow(row)
else:
pass
arcpy.SetParameterAsText(1, treetable)
... View more
02-04-2022
11:17 AM
|
0
|
0
|
4147
|
|
POST
|
Good for you for isolating this bug. I highly recommend updating Pro to the current version to see if it is fixed and if not reporting the issue to Esri tech support, that's how these things get fixed. If you get a NIM number, post it in this thread for future reference so people can see if/when it was fixed.
... View more
02-04-2022
09:27 AM
|
1
|
1
|
2308
|
|
POST
|
Can you provide more information? How many rows and columns is the slope raster? What are these polygons, and what are you trying to accomplish? (There may be a better way.) I'm thinking the problem is in the raster to polygon conversion of these polygons, you may have better luck if you convert the polygons to a raster first and then try the zonal statistics. (This also gives you more control on how the raster is created with all the options on the Polygon To Raster tool.)
... View more
02-03-2022
06:46 PM
|
0
|
0
|
3119
|
|
POST
|
Is the derived output parameter being set with arcpy.SetParameterAsText() ?
... View more
02-03-2022
06:41 PM
|
0
|
2
|
4351
|
|
POST
|
ArcMap or Pro? If you are using Pro a named user license avoids this problem as you simply log in to get a license on any machine with Pro installed. If you are using ArcMap this is a strong incentive to switch to Pro. Especially if you are new to ArcGIS as I think Pro is much easier to learn first!
... View more
01-31-2022
07:05 AM
|
0
|
1
|
2042
|
|
POST
|
Updated link for @EricKrause reply: kriging results to raster
... View more
01-24-2022
02:05 PM
|
0
|
0
|
1218
|
|
POST
|
I can't imagine why this would take five hours. What parameters are you using? Nevertheless if you rasterize on sequence number you only have to do it once and then you have a raster you can display with any joined value (no need to copy the dataset 300 times).
... View more
01-24-2022
06:46 AM
|
0
|
0
|
3668
|
|
POST
|
Sure you don't want to create a raster version of your square cells? It would display dramatically faster and you would not have this problem.
... View more
01-23-2022
11:17 AM
|
1
|
0
|
3879
|
|
POST
|
There were some sig changes from 2.8 to 2.9 under the hood of Geoprocessing, for instance there is a new atbx toolbox format, so your issue this does not surprise me. Good to know!
... View more
01-21-2022
11:59 AM
|
0
|
0
|
1159
|
|
POST
|
I would think you would want to rename the shapefile and then zip it. If this isn’t in a loop you would use parse path on your shapefile to get the folder and shapefile name to pass to this function.
... View more
01-21-2022
11:45 AM
|
1
|
0
|
1478
|
|
POST
|
The modelbuilder wrapper I set up asks for a path and a shapefile root name. I will update the function doc to make that clear. For example, your call above assumes you have a shapefile E:\mypath\open.shp
... View more
01-21-2022
09:54 AM
|
0
|
2
|
1489
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-11-2021 01:26 PM | |
| 5 | 12-10-2021 04:58 PM | |
| 1 | 02-27-2017 09:30 AM | |
| 2 | 12-04-2023 01:05 PM | |
| 1 | 04-12-2016 10:17 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-19-2024
12:10 AM
|