I'm looking for the best way to count polylines crossing each raster cell and assign that count value to the raster cell using arcpy.
On input I have a shapefile with hundred thousands of polylines and a raster with all cells 0 values.
The result should be a raster which cells value should be a number of crossing polylines from the shapefile.
Which ArcPy tools should I use to perform this analysis?