|
POST
|
000184: Spatial index does not exist.—ArcGIS Pro | Documentation if you need one Add Spatial Index (Data Management)—ArcGIS Pro | Documentation there are other links on "Spatial Index" in the help files that may be applicable to your situation
... View more
01-30-2026
08:43 AM
|
0
|
2
|
364
|
|
POST
|
which tool? was there an error number? what was the expression? visuals might help
... View more
01-30-2026
03:59 AM
|
0
|
0
|
213
|
|
POST
|
are you using Generate Points Along Lines (Data Management)—ArcGIS Pro | Documentation or Generate Points Along 3D Lines (3D Analyst)—ArcGIS Pro | Documentation What do you mean by inconsistent results?
... View more
01-30-2026
01:59 AM
|
0
|
0
|
241
|
|
POST
|
Pro comes with python installed. Did you read some of the basic information? ArcGIS Pro Python reference—ArcGIS Pro | Documentation Python in ArcGIS Pro—ArcGIS Pro | Documentation Just follow the links on setting up you IDE and whether you want to install packages in a cloned environment. The base package setup is in the arcgispro-py3 location.
... View more
01-30-2026
01:55 AM
|
0
|
0
|
428
|
|
POST
|
is "Length" and existing field name in the geodatabase? (checking for a reserved word trigger), if it isn't try using a different name. There are no publicly facing bugs bugs on the Support web site for this version of Pro
... View more
01-29-2026
01:04 PM
|
0
|
0
|
564
|
|
POST
|
You have tried all the referenced suggestions and the bug, so I would copy the source geodatabase to a computer with a newer version of Pro to test. Otherwise contact Tech Support since something may apply to Pro 3.2 that has been addressed already
... View more
01-29-2026
12:47 PM
|
2
|
0
|
688
|
|
POST
|
which can be done using numpy as well. an old missive Generate Near Table for points - Esri Community and a newer one Really close points - Esri Community
... View more
01-29-2026
09:19 AM
|
0
|
0
|
320
|
|
POST
|
If you get bogged down on any details, give us a buzz. on that note, arc returns "structured" arrays, since you want just the coordinates, here is a final tip for now. # -- points in arc** format
pnts_arc
array([( 8.78, 91.06), (30.24, 8.75), (98.45, 77.13), (18.81, 49.23),
( 5.66, 19.19), (57.84, 62.84), (93.75, 98.79), (88.83, 44.78),
(52.11, 85.75), (32.27, 37.44)],
dtype=[('SHAPE@X', '<f8'), ('SHAPE@Y', '<f8')])
# -- a quick import and conversion to get an unstructured array to work with
from numpy.lib.recfunctions import unstructured_to_structured as uts
pnts_numpy = stu(pnts_arc)
pnts_numpy
array([[ 8.78, 91.06],
[30.24, 8.75],
[98.45, 77.13],
[18.81, 49.23],
[ 5.66, 19.19],
[57.84, 62.84],
[93.75, 98.79],
[88.83, 44.78],
[52.11, 85.75],
[32.27, 37.44]])
... View more
01-28-2026
01:45 PM
|
0
|
0
|
337
|
|
POST
|
You can read from the featureclass (fc) what you want array = arcpy.da.FeatureClassToNumPyArray(fc, ["OID@", "SHAPE@XY"]) # oid and paired coordinates
array = arcpy.da.FeatureClassToNumPyArray(fc, ["SHAPE@X","SHAPE@Y"]) # just the x, y as separate fields
# "some!!!" of the possibilities are in the code samples
... View more
01-28-2026
01:23 PM
|
0
|
0
|
1066
|
|
POST
|
FeatureClassToNumPyArray FeatureClassToNumPyArray—ArcGIS Pro | Documentation can replace the searchcursor and the resultant array can be queried should you need to check other attributes. There has been some generalities here since your original question was solely about coordinates
... View more
01-28-2026
01:02 PM
|
0
|
2
|
730
|
|
POST
|
import numpy as np
pnts = np.random.rand(10,2) * 100
pnts = np.round(pnts, 2) # 2 decimal precision
p = pnts[2] # -- take a sample point (2nd position)for testing inclusion/equality
np.isin(p, pnts).all(-1) # are both x and y coordinates the same
True
# now where is it
np.nonzero((p == pnts).all(-1))[0] # we took the 2nd point remember
array([2])
# inputs for sample points and a single point
pnts
array([[38.79, 17.36],
[54.56, 80.24],
[83.56, 54.81],
[98.59, 48.87],
[98.64, 98.10],
[26.62, 1.80],
[85.05, 15.94],
[53.33, 85.95],
[ 8.25, 3.17],
[94.05, 77.85]])
p
array([83.56, 54.81]) Read once, test as appropriate or test many ps = pnts[[0, 2, 4, 6]] # take the various points
np.nonzero((ps == pnts[:, None]).all(-1))[0] # where are they, broadcasting necessary
array([0, 2, 4, 6])
ps
array([[38.79, 17.36],
[83.56, 54.81],
[98.64, 98.10],
[85.05, 15.94]])
... View more
01-28-2026
12:47 PM
|
0
|
4
|
736
|
|
POST
|
a bit issue in any solution would be how you address floating point issues. Are you limiting the decimal precision of the inputs? (ie 3 decimals for data in a projected coordinate system) How close is close? or is 'exact' the only case you are interested in? (eg [400,000.01, 5,000,000.01] versus [400,000.00, 5,000,000.00] The could be a cases made to use NumPy to facilitate comparisons since it has options to simplify inclusion, closesness or equality tests with or without tolerances. Arcpy has FeatureClassToNumPy array that facilitates getting point coordinates into an appropriate array format. The next stage would be whether your points that you want to test are entered manually, read from a text file or something else.
... View more
01-28-2026
12:31 PM
|
1
|
2
|
743
|
|
POST
|
It is useful to see the applicable selectors for polygon selecting polygon in the visual guide Select By Location graphic examples—ArcGIS Pro | Documentation under Select polygon using polygon The other examples are useful as well
... View more
01-27-2026
12:30 PM
|
1
|
0
|
502
|
|
POST
|
Select Layer By Location (Data Management)—ArcGIS Pro | Documentation does it follow the code examples in the help topic? The output should be a layer if a selection was matched
... View more
01-27-2026
11:08 AM
|
1
|
0
|
524
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Tuesday | |
| 3 | Friday | |
| 1 | 3 weeks ago | |
| 5 | 3 weeks ago | |
| 1 | 3 weeks ago |