|
POST
|
Please do report it (and share the NIM in this thread so it will get voted up!) This sounds like a mission critical bug. Doing this in Python is the obvious workaround. With the advantage of being able to do more parameter validation and error messages!
... View more
12-08-2021
03:15 PM
|
0
|
1
|
694
|
|
POST
|
ArcPro licenses are best assigned from named users unless you want to share a limited number of extension licenses among users, if that is the case I recommend sticking with concurrent for your Pro licenses. I don’t know anything about the extra licenses you are talking about
... View more
12-08-2021
03:14 PM
|
0
|
0
|
2819
|
|
POST
|
The problem is not the model but the tools you are using (which you are not specifying) that may not support shapefiles. You may want to try running that particular tool on your input interactively to see if it works at all on your data. (Note, shapefiles do not have a Shape_Area field if you are using that.) ArcGIS Pro Help: Geoprocessing considerations for shapefile output
... View more
12-07-2021
10:13 PM
|
0
|
2
|
2100
|
|
POST
|
Comment from the X-Ray download page (ArcGIS Online) - The X-Ray add-in for ArcCatalog will not be certified on ArcGIS Catalog 10.8 -10.8.1. We do not intend to update or certify the addin for any future releases. (In saying that, there is nothing preventing the addin from working in 10.8 or 10.8.1 and some folks are using it successfully.) Sounds like it is not supported, so if it doesn't work, you should probably try 10.7.
... View more
12-06-2021
12:57 PM
|
0
|
0
|
4978
|
|
POST
|
The transformation warning has to do with the coordinate systems of the inputs. Some transformations between horizontal datums are simply not supported. You can probably turn this message off by turning off the geotransformations in the backstage (settings).
... View more
12-06-2021
12:54 PM
|
0
|
0
|
5874
|
|
POST
|
I have seen this when I have an old incompatible extension installed (ie my uninstall of the old version did not include everything ArcGIS).
... View more
12-06-2021
12:44 PM
|
0
|
0
|
5875
|
|
POST
|
Dan, nested looping is supported, but it can be tricky, and you can run afoul of ModelBuilder tool validation (and quirks). You are correct that that these nested workflows are sometimes easier to do by going to Python. Note you can call a model tool from a python script pretty easily so if you can get a good geoprocessing workflow worked out in a model you can write a fairly simple Python driver script to loop on it, and run the script from several entry points, including the command line, Jupyter notebook, script tool, or even as a python function in the Calculate Value tool. I think if @圈圈 has the exactly same looping working with the older version of software, this is definitely something to take to tech support. I have successfully done nested looping in 2.8.
... View more
12-05-2021
09:44 PM
|
0
|
1
|
4044
|
|
POST
|
The easiest way to do this in ModelBuilder is to use the Sort tool to sort by CODE and Shape_Area and then write a python function in Calculate Field tool with a code block with a function that assigns values according to your rules as you navigate through the sorted table. Or, take what I bet is @DanPatterson's advice and do this in Python/numpy in a Calculate Value function that reads the table, sorts it and does your logic. I do not follow your logic here.
... View more
12-05-2021
09:34 PM
|
0
|
0
|
1201
|
|
POST
|
Zap the NaN's: str(arcpy.Describe(r"%buffer fc%").Extent).replace("NaN","") Do not forget to set the Calculate Value output data type to Extent so you can connect it to the tool's parameter of type extent. This validates OK for me. No promises whether it actually gets the tool to give you the output you want though! If it needs to be WGS84, run your buffer with an output coordinate system setting of WGS84 and use that to calculate your extent. Executing (Calculate Value): CalculateValue str(arcpy.Describe(r"efillcells_poly").Extent).replace("NaN","") # Extent
Start Time: Wednesday, December 1, 2021 5:29:49 PM
Value = 622280.000000002 4857190 626460 4862460
Succeeded at Wednesday, December 1, 2021 5:29:50 PM (Elapsed Time: 0.03 seconds)
Executing (Layer To KML): LayerToKML efillcells_poly C:\gisclass\efillcells_poly_LayerToKML.kmz 0 NO_COMPOSITE "622280.000000002 4857190 626460 4862460" 1024 96 CLAMPED_TO_GROUND
Start Time: Wednesday, December 1, 2021 5:29:50 PM
Succeeded at Wednesday, December 1, 2021 5:29:51 PM (Elapsed Time: 1.91 seconds)
... View more
12-01-2021
04:28 PM
|
1
|
2
|
5565
|
|
POST
|
Two approaches to pass that extent to the tool: 1) connect the extent feature class (buffer output) to the layer to kmz tool and choose Extent environment. The tool help does say it honors the environment extent. 2) use Calculate Value to return extent object : str(arcpy.Describe(r"%buffer fc%").Extent), data type Extent and connect that extent to the layer to KMZ tool parameter Good luck!
... View more
12-01-2021
11:36 AM
|
0
|
4
|
5608
|
|
POST
|
I have never been a big fan of packages, which work by unzipping a bunch of cruft into a users's documents folder (with the aforementioned long, nasty paths with spaces, which have a bad habit of breaking spatial analyst tools.). I would know more about if I hadn't have had problems like this whenever I have tried it. I have been more successful just making sure relative paths are set in the model tool properties and zipping the entire project folder. Even then I have had problems with hard-coded paths in my models this term working with students. I need to spend more time on this to figure out the best practices in Pro (vs ArcMap). Another tip to make model tools more portable is to make liberal use of memory (in_memory in ArcMap) (as long as data not too big) and environment based paths (%workspace%, %scratchGDB%, %scratchFolder%) so my model tools aren't as dependent on paths that may not be there.
... View more
12-01-2021
11:26 AM
|
0
|
0
|
5894
|
|
POST
|
If you verified that a) spatial analyst is installed and b) you have a license in ArcGIS Administrator and you have checked the Spatial Analyst box then you should not get 010096 (which is specifically no spatial analyst license, not installed is a different error message). If a reinstall does not fix it, contact tech support. Esri KB article: Error: ERROR 010096: There is no Spatial Analyst license currently available or enabled
... View more
12-01-2021
11:15 AM
|
0
|
0
|
2744
|
|
POST
|
Good solution removing the space. This can happen with the Spatial Analyst tools - they often bail on names, layer names, or even paths with spaces or any special characters.
... View more
11-29-2021
02:40 PM
|
0
|
0
|
1923
|
|
POST
|
Yes, Add Field button worked fine for me with a raster .tif table. I would make sure you don't have an edit session open. It's possible file naming is an issue, and there are so many things that can make a layer non editable and it is sometimes not easy to diagnose! Try the Add Field tool maybe you'll get a useful error message.
... View more
11-29-2021
02:37 PM
|
0
|
1
|
8933
|
| 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
|