|
POST
|
There have been some major changes to the projection engine since then, including vertical datum support. I'd get on the horn with Esri support for the straight story.
... View more
04-22-2020
06:53 PM
|
0
|
0
|
2820
|
|
POST
|
I am having a heck of a time with advanced search. I get the same results from Pro and arcgis.com. I would think I'd still be getting USA Major Roads from both searches. I tried owner:Esri and owner:esri. I've seen similarly weird results with type:"Feature Layer" - not seeing things that seem like they should come up. Search 1: Search 2:
... View more
04-22-2020
06:10 PM
|
0
|
2
|
1203
|
|
POST
|
Is your ASCII raster file named with an .asc extension so ArcGIS will recognize it as a raster? Raster file formats—ArcGIS Pro | Documentation
... View more
04-17-2020
08:04 AM
|
2
|
3
|
16085
|
|
POST
|
import os
... (snip)
for fc in listfeature:
listfield=arcpy.ListFields(fc, 'DRAWINGID')
if listfield:
out_tbl = os.path.join(r'C:\Users\aaaaa\Documents\ArcGIS\Default.gdb',
"{}_tbl".format(fc))
arcpy.Frequency_analysis(fc, out_tbl, 'DRAWINGID')
... View more
04-15-2020
10:17 PM
|
0
|
0
|
1017
|
|
POST
|
I highly recommend using string formatting, a lot less painful "Some_Directory/Test_Water_Cityworks.gdb/{}3{}_Comp".format("%Origin_Table%"[:6], "%Origin_Table%"[7:])
... View more
04-15-2020
10:11 PM
|
1
|
0
|
4927
|
|
POST
|
A downside of this method is the number of decimals is not padded, ie 29.03 is displayed as "29" not "29.0". There is fortunately, another function (which also adds commas by default for large numbers): FormatNumber([NGVD],1) Or, using Python (note in Python you must float() the value, as the label parser gets the value as string, regardless of field type! -- VBScript of course, being VBScript, doesn't care about data type) "{:0.1f}".format(float([NGVD]))
... View more
04-12-2020
04:29 PM
|
4
|
0
|
53321
|
|
POST
|
Joe, just a general note: my experience is if you can do a process within an Esri tool like Reclassify or raster functions you really want to go that path as their tools are written in C++ allowing for a lot of optimization you can't do from the raster calculator or python scripting side of things, including nifty memory management, tiling and multiprocessing for many tools.
... View more
04-08-2020
12:51 PM
|
0
|
1
|
3973
|
|
POST
|
I would think you would use the living atlas countries layer and do a join to CSV table data.
... View more
04-08-2020
12:41 PM
|
1
|
0
|
902
|
|
POST
|
OOPS in Python it's zero based indexes ([1,2,3][0] == 1) so use [!Value! - 1] I will edit my post to be correct.
... View more
04-08-2020
12:15 PM
|
4
|
1
|
4491
|
|
POST
|
Note that since these are point buffers, you could filter the points with the Weed Points tool included in the toolbox, at least to get one weeded group to do at once before doing the rest sequentially. I mention this because this may save you days of processing.
... View more
04-08-2020
12:09 PM
|
1
|
1
|
4960
|
|
POST
|
So thrilled my old toolbox is working for you! My python script processes the buffers one at a time and does not do this with multiprocessing (this is kind of tricky in Python especially with tools launched the usual way from a toolbox). If you can separate your buffers into non-overlapping groups you can assign each buffer an index number to process in groups. I have not implemented multiprocessing but even doing non-overlapping groups sequentially would be a LOT faster than one by one. I do not have a tool unfortunately to find the non-overlapping groups. Multiprocessing in the ArcGIS environment s a lot easier to implement in C++ (as opposed to python script tools -- there are several geonet threads on this) and the current Pro 2.5 version of Zonal Statistics is supposed to allow for overlapping buffers, maybe when the term is over I will update my tool to take advantage of that.
... View more
04-08-2020
11:43 AM
|
1
|
3
|
4960
|
|
POST
|
You could run this on the Pro command line and copy and paste from the results and paste into a text file or word doc. dd = {}
with arcpy.da.SearchCursor("test", ["STREET", "GRID"]) as rows:
for row in rows:
print(row)
if row[0] in dd: dd[row[0]].append(row[1])
else: dd[row[0]] = [row[1]]
for k in dd:
print('{} - {}'.format(k, ",".join(sorted(list(set(dd[k]))))))
# prints:
# BAKKER RD - B1,B5,B6
# PRUDER ST - A2
... View more
04-07-2020
11:29 PM
|
0
|
0
|
2104
|
|
POST
|
It would be helpful to know what criteria and why. If the shapefiles are all in one folder, the Calculate Value tool with a python function that uses arcpy.ListFeatureClasses() would do it. Less complicated than arcpy.da.Walk. In pure ModelBuilder, you could use Iterate Feature Classes in a submodel that returns a multivalue with the list.
... View more
04-07-2020
10:46 PM
|
0
|
2
|
1820
|
|
POST
|
If this is a feature class with a single row and you want to add these four field values, the simplest way is four Calculate Field runs that populate these values one by one. If these are for a particular row, it gets more complicated and the easiest way would be to write a Python function that uses arcpy.da.UpdateCursor to select the row you want and update values in the table.
... View more
04-07-2020
10:43 PM
|
1
|
0
|
809
|
| 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
|