Question

Spatially attributing a list of polygons based on an intersection with a linear feature

  • 11 April 2013
  • 1 reply
  • 0 views

Badge
I'm looking for a solution that produces an output of a spatially ordered list of parcel features using the intersection of the parcel and a linear feature. 

 

 

To assign the spatial order, an attribute numeric integer field will be added in the writer feature type called listing and it would be populated beginning with "1" for the 1st parcel intersected by the beginning point of that line. Then the next parcel intersected by the line would have a listing attribute number of '2', and so on until the last intersected parcel at the end point of the line is reached.

 

 

Any suggestions?

1 reply

Userlevel 4
Hi,

 

 

you might use the TopologyBuilder with your parcels and your line feature(s) as input. You can then iterate over the resulting lines (sort by the attribute _from_node to preserve line orientation), overlaying them over the parcels using a SpatialRelator to get an ordered list of each parcel intersected by the input line feature.

 

 

David

Reply