I am working with two layers. One is polygons (animal locations buffered by 5 km), and the other is polylines (for example, roads). I would like to calculate the line density for each polygon, separately.
I did this for multiple other buffer sizes (ex 2km) and was able to do it easily by creating a line density raster, and then using Zonal Statistics as Table to extract the mean pixel value.
However, when I run this with my 5km buffers, I get a number of errors such as "number of unique values exceeds 500 .." and "Error in executing grid expression". I'm afraid my raster cell size might be too small (ie many unique values), but I would like to continue using this raster layer, if I can.
Anyone have any other ideas as to how I can extract this information? I've also tried Extract my Mask, playing around with Line Density, and Isectpolyrast in GME, to no avail. I'd also like to avoid running this for each polygon separately, as there are hundreds of thousands, unless I can write a python script (my coding isn't up to par...).