|
POST
|
Now just apply that to the code you posted in the original thread
... View more
02-24-2025
09:44 AM
|
0
|
1
|
2155
|
|
POST
|
Code formatting ... the Community Version - Esri Community line numbers will be useful to those wanting to examine your code
... View more
02-24-2025
08:48 AM
|
0
|
3
|
2165
|
|
POST
|
That is what I was afraid of. Feature To Point (Data Management)—ArcGIS Pro | Documentation will allow you to get the centroid of multipart polygons, and it will probably not be within the extent of an existing polygon part. The nice thing is that everything done has an ID value, so what I am thinking is Generate Origin-Destination Links (Analysis)—ArcGIS Pro | Documentation with the centroid of the multipart polygon as the "origin" and the singlepart representation of the destinations. The distance LINK_DIS field could be queried by some threshold distance to identify outliers A spatial join isn't recommended since you could inadvertantly "assign" one of the singleparts to another multipart polygon because of the distance. I don't have a dataset to test this on, so I would definitely subsample your thousands to an area that you know you have an issue. Perhaps remove sensitive data from this subsample and post a zipped gdb ( Feature Class(es) To Geodatabase— )
... View more
02-24-2025
06:55 AM
|
0
|
1
|
1822
|
|
POST
|
Multipart To Singlepart (Data Management)—ArcGIS Pro | Documentation but that would only allow you to detect those that are indeed completely isolated prior to the dissolve. re-assembling would be required after with Dissolve once you have fixed the attribute
... View more
02-24-2025
05:18 AM
|
0
|
3
|
1836
|
|
POST
|
Project tool.... this should be the only avenue to use if you want to control your output. You can select from suggestions or follow your own path if you have a particular reason or knowledge Project on the fly .... IMHO the worst thing introduced to the GIS world, It tries to do the right thing but ultimately the responsibility is the user, so I would even expect it to have suggestions Map Properties .... again you can do what you want if you want to mix projected and geographic data into one map because you have to , or choose to. It gives an option to take some control over what to use if anything is suggested.
... View more
02-23-2025
05:04 PM
|
0
|
2
|
2107
|
|
POST
|
are you trying to create a local or global scene? Scenes—ArcGIS Pro | Documentation you could emulate the tutorial with your data Convert a map to a scene—ArcGIS Pro | Documentation
... View more
02-23-2025
10:41 AM
|
0
|
1
|
1890
|
|
POST
|
You mean by not adding a new text field and concatenating two existing fields into the new one, I am guessing. This is the existing calculation topic Attribute rule script expression examples—ArcGIS Pro | Documentation or there may be something in their github site Esri/arcade-expressions: ArcGIS Arcade expression templates for all supported profiles in the ArcGIS platform.
... View more
02-22-2025
08:21 AM
|
1
|
0
|
1748
|
|
BLOG
|
There is also the new StringDType() Working with Arrays of Strings And Bytes — NumPy v2.2 Manual I feel a blog coming on 🤔
... View more
02-22-2025
04:55 AM
|
1
|
0
|
2284
|
|
POST
|
In Product Plan as of Wednesday The issue has been added to the development team's backlog. The goal for issues with this status is to address them in a near-term release (next release or two). Check the issue's Additional Information or Alternate Solution section to see if there is helpful information until it can be fully addressed. So 3.5 is in internal Beta... I wonder if it is on the radar.
... View more
02-21-2025
02:14 PM
|
0
|
0
|
2026
|
|
BLOG
|
Data types — NumPy v2.2 Manual lots in there and their association with python and C and if you have time Datetimes and timedeltas — NumPy v2.2 Manual
... View more
02-21-2025
01:32 PM
|
1
|
0
|
2302
|
|
POST
|
This is the only publically facing bug for Add Join and Pro 3.4 BUG-000173762 for ArcGIS Pro I would report it in case it is specific to modelbuilder
... View more
02-21-2025
11:00 AM
|
0
|
0
|
2050
|
|
BLOG
|
my this : np.random.randint(0, 100, size=10000000, dtype='int') # 10, 000, 000 your this : random.randint(0,100) for _ in range(1000000) # 1, 000, 000 factor of 10
... View more
02-21-2025
10:50 AM
|
1
|
0
|
2333
|
|
POST
|
You will need to make this an "Idea" to see if gains any traction as highly requested. Since there is an obvious workaround and the documentation is pretty full already Keyboard shortcuts in the Contents pane—ArcGIS Pro | Documentation
... View more
02-21-2025
05:20 AM
|
0
|
0
|
892
|
|
BLOG
|
Also, The current version of numpy that Pro uses is best suited to numbers 10,000,000 random intergers in the range of 0, 100 %timeit python() 1.55 s ± 106 ms per loop (mean ± std. dev. of 7 runs, 1 loop each) %timeit numpy() 546 ms ± 44.3 ms per loop (mean ± std. dev. of 7 runs, 1 loop each) You will have to create a separate conda environment if you want to work with more recent versions of python (3.12, 3.13) and numpy (2.2.0 ) and pandas if you work with text a lot The newer version of NumPy handles string data better than the version you are currently using. Addendum don't do timing on battery power, a small but interesting fact 😉 this = np.random.randint(0, 100, size=10000000, dtype='int') from collections import Counter def python(): return np.array(list(Counter(this).items())) def numpy(): v, u = np.unique(this, return_counts=True) return np.array(list(zip(v, u))) %timeit python() 807 ms ± 6.37 ms per loop (mean ± std. dev. of 7 runs, 1 loop each) %timeit numpy() 312 ms ± 5.71 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
... View more
02-20-2025
05:15 PM
|
1
|
0
|
2402
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 1 | 4 weeks ago | |
| 1 | 2 weeks ago | |
| 1 | 2 weeks ago | |
| 1 | 3 weeks ago |