I have a polyline shapefile representing a road network. I want to rasterise this data, with the resulting values in the raster showing the total length of lines that fall within the raster cell, similar to this question: Convert line shapefile to raster, value=total length of lines within cell - however I wish to use ArcGIS 10.2. The data is projected so the units will be metres.
I have attempted to do this via the polyline to raster tool (however the value assigned is the length of the whole segment) and also some spatial analyst tools such as line density (which requires a radius). I'm sure I am missing an easy way to do it but I can't seem to find it.