Sequentially number features (intersecting and non-intersecting) along linear path

638
5
02-14-2022 08:55 AM
mroberts_troy
New Contributor II

We need to sequentially number features along a linear path.  It's easy to number features that intersect with the route, but what about those that are not intersecting?  See this graphic which illustrates how we need to number things, from west-to-east.  This is a hypothetical screenshot, so I know the parcels don't look correct.  Also we cannot assume that the route will always be in a one-way direction.  Sometimes it'll be West to East and sometimes it'll be North to South, etc.

mroberts_troy_0-1644857657844.png

 

0 Kudos
5 Replies
DanPatterson
MVP Esteemed Contributor

Near or Near as Table

Near (Analysis)—ArcGIS Pro | Documentation

might provide some opportunities especially for the non-traversed parcels


... sort of retired...
0 Kudos
MicZatorsky_AEC
Occasional Contributor III

Create a route from the line.  Create points at poly centers.  Locate (point) features along the route, using a radius tolerance for the off-line points.  This will give you an m-value for each point.   

MicZatorsky_AEC_0-1644983164731.png

The point ID appears to be the incrementing integer you want.  But even if its not, you should be able to create one easily enough from any set of points with ordered m-values

https://desktop.arcgis.com/en/arcmap/latest/manage-data/linear-referencing/locating-features-along-r...

 

 

mroberts_troy
New Contributor II

Thanks for that recommendation, but centers are not always in order of feature.  See this example:

mroberts_troy_0-1645719461631.png

In this example, the blue shape clearly comes first, but the center is to the "right" of the red shape, and therefore it would be ordered second using your method. 

0 Kudos
MicZatorsky_AEC
Occasional Contributor III

In that case, instead of using polygon centroids, use the polygons.   LFAR will return a start and end m-value for each polygon.  
MicZatorsky_AEC_0-1645994487380.png

Find the minimum m-value for each polygon, sort that list and then you have the new order ID. 

0 Kudos
DanPatterson
MVP Esteemed Contributor

Then you will have to find the rule that suits all situations, like left-most extent top point or something.  Feature extent can easily be obtained


... sort of retired...
0 Kudos