Hi,
I have some polygons with some polylines in it (same as above). The polylines divided into three categories (for example: urban street, highways, freeways) I want to understand the sum of each polyline in each of the polygons.
I mean for example I want to know the total length of the urban streets in Polygon A.
I find a boring way for this,First spiliting the roads for each polygone then selecting by attribute, clicking on the attribute table and in the statistics I can see the sum of the selected features. But I am looking for a faster way. I also tried the Spatial Join but this option only gave me the total length of the all types of road in each polygon. I want the total length of each polyline seperately. Something just like this:
sum of urban roads in polygone A: 17526 m
sum of highways in polygone A: 18945 m
sume of freeways in polygone B: 8900 m
etc
Does anyone know the fastest way to find these numbers?
Summarize Within—Help | ArcGIS Desktop
might be in arcmap, but it is in pro for sure
Does anyone know how to do this without Summarize Within tool? My ArcMap 10.6.1 does not have this tool. I would like to summarize road lengths by road type within a county.
Thanks in advance!
CLASSIFICATION: UNCLASSIFIED
Do you know Python? I so you can use the Python API and write a script to filter your table on road lengths and road types and then use the Pandas and Seaborn libraries to make a histogram. I have also seen a new little set of libraries called plot.ly but I haven't used them yet. If you don't know Phython, I would suggest exporting your table to a CSV file and importing it into Excel and use Excel's plotting tools to make your histogram.
I hope this helps
Easy done in arc desktop. Use Tabulate Intersection (Analysis Tool Box > Statistics). This will create a table of the sum of the line within the polygon feature. The table will hold the polygon id. Join this table back to the original polgyon layer
Easy done in arc desktop. Use Tabulate Intersection (Analysis Tool Box > Statistics). This will create a table of the sum of the line within the polygon feature. The table will hold the polygon id. Join this table back to the original polgyon layer