Select to view content in your preferred language

Classify Line based on nearby point attributes

179
4
Jump to solution
10-29-2024 09:26 AM
Labels (2)
Anne_Tetley
Occasional Contributor

Hi,

I'm looking for a tool which could help us classify road sections based on the predominant housing type on that road.  We have an address point feature class which contains housing type (Terraced, Semi Detached, Detached etc) and a highway centre line feature class where the roads are split into sections.  We want to find the predominant housing type for each section.  

We might be able to do it purely on attribution - as the address data links to unique street reference numbers.  but if we wanted to further subdivide the highway lines into smaller sections for example, is there a way of analysing this spatially?

 

0 Kudos
1 Solution

Accepted Solutions
ZachBodenner
MVP Regular Contributor

Without actually trying this out, one idea (if you have the ability to leverage attribute rules here) is to create an attribute rule that is broken down into roughly three steps

1. generate a buffer around the line, (this would use the Buffer operation)

2. count the number of each type of house falls within the buffer (Intersects on the above buffer with the address points, followed by a count function for each property type)

3. return the value of the highest number into the attribute field

 

I can think of a number of reasons why that might be really difficult or possible complications, but it might be worth experimenting with to get you started?

Happy mapping,
- Zach

View solution in original post

4 Replies
ZachBodenner
MVP Regular Contributor

Without actually trying this out, one idea (if you have the ability to leverage attribute rules here) is to create an attribute rule that is broken down into roughly three steps

1. generate a buffer around the line, (this would use the Buffer operation)

2. count the number of each type of house falls within the buffer (Intersects on the above buffer with the address points, followed by a count function for each property type)

3. return the value of the highest number into the attribute field

 

I can think of a number of reasons why that might be really difficult or possible complications, but it might be worth experimenting with to get you started?

Happy mapping,
- Zach
Anne_Tetley
Occasional Contributor

Thanks, that sounds sensible, I'll give it a go.  I think I was trying to over complicate it, but that would get us where we want to be.

0 Kudos
Anne_Tetley
Occasional Contributor

I didn't do it as an attribute rule as its just a one off exercise at this stage.  But this way of working did the job,  I buffered the road centre lines by 25m, split the city up into smaller units and used the he Summarise within tool to find the predominant housing type.  Did what we wanted perfectly, thanks for your advice.

0 Kudos
ZachBodenner
MVP Regular Contributor

You bet, glad it worked out!

Happy mapping,
- Zach
0 Kudos