|
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
|
512
|
|
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
|
529
|
|
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
|
1559
|
|
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
|
1031
|
|
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
|
1037
|
|
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
|
1044
|
|
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
|
712
|
|
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
|
734
|
|
POST
|
like what is referenced here? Calculate Adjacent Fields (Cartography)—ArcGIS Pro | Documentation
... View more
01-27-2026
08:25 AM
|
2
|
0
|
538
|
|
POST
|
When I use the raster to point tool, not all raster cells convert to points. Raster to Point (Conversion)—ArcGIS Pro | Documentation did you follow the instructions to ensure that the extent parameter is set to avoid resampling and perhaps shifting? If you have a visual of where cells were not converted to points, that would be useful. for Zonal statistics How zonal statistics tools work—ArcGIS Pro | Documentation did you follow the discussion and comments about cell size, snap raster and cell alignment for zonal statistics? It may be the cause of some of your issues
... View more
01-26-2026
02:34 PM
|
0
|
0
|
632
|
|
POST
|
from Create Vector Tile Package (Data Management)—ArcGIS Pro | Documentation 2nd bullet Some symbology cannot be resolved in the tile creation process. Avoid symbolizing layers with hatched or gradient fills, markers along lines or polygon outlines, or most symbol effects. ... So perhaps it is a know limitation, but contacting Tech Support might provide confirmation
... View more
01-26-2026
08:09 AM
|
1
|
0
|
467
|
|
POST
|
do you mean in addition to GIS Jobs - Esri Community
... View more
01-25-2026
11:11 AM
|
1
|
0
|
1072
|
|
POST
|
Set sharing and download options—ArcGIS Pro | Documentation under Set unpacking options You can specify a folder in which project packages are unpacked. The default location is C:\Users\<user>\Documents\ArcGIS\Packages.
... View more
01-23-2026
12:03 PM
|
2
|
1
|
584
|
|
POST
|
can't test now, but memory says it is a table of contents thing, right-click on the stops and delete
... View more
01-23-2026
11:18 AM
|
1
|
0
|
626
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-06-2026 01:39 PM | |
| 1 | Wednesday | |
| 1 | Sunday | |
| 1 | a week ago | |
| 1 | 2 weeks ago |