# Difference between/uses of kernel and line density?

I am reading up on density calculations and their variants, and situations to which they might each be applied.

I have read the article on differences between point line and kernel density

I was hoping someone could provide more depth to the above answer.

To provide a contextual scenario, I am exploring options for calculating density of polylines (shipping lanes) within a grid. I would like to know the density of lines within a given grid square of predefined size (500m x 500m).

In what way does a kernel density calculation differ from a line density calculation, and by extension, which would therefore be more suitable for the aforementioned task?

• Hi, I am struggling to see how this question is too broad. I would like to know the differences between kernel and line density, and the circumstances in which one may be used in preference of the other. That to me seems specific and focussed. Please advise. – Maggie Oct 8 '18 at 9:47
• When you try both methods, if the results are not the same, then what difference are you concerned about? It is asking for a list of circumstances in which one would be preferred after the other that to me makes this too broad. If you ask specifically, and in detail, about your particular circumstance then I would start to see a case for re-opening. – PolyGeo Oct 8 '18 at 10:14
• I am interested in understanding what a kernel density calculation does that a line density calculation does not. They obviously utilise different methodologies or calculation processes or there would not be 'kernel density ' and 'line density' options as separate entities, only 'density'. Is it the method of calculation? Is it the output? Why would I choose to use a kernel density over a line density when attempting to determine the density of a number of polylines, as stated in my edited question? – Maggie Oct 8 '18 at 10:20
• Additionally, I was not seeking a list of circumstances, merely a real-life example to substantiate the answer and provide additional clarity around what makes a kernel density calculation different - and therefore why one might choose to utilise 'kernel' over 'line density' when calculating the density of a set of polylines within a grid. – Maggie Oct 8 '18 at 10:23