I have a continuous raster dataset and a polyline dataset. Now I would like to add the mean of all cell values which are intersect with the features of the polyline dataset. It pretty much resembles the 3D Analyst Tool's "Add Z information"-tool, but with ignoring NoData. When I use the "Add Z information" and one of the features lies on a NoData cell, then the mean Z also gets NoData. I appreciate any help.