Hi there,

I have a spatial road network for which I would like to construct a
"distance map" as in the distmap() function in the spatstat package.
However this function only seems to readily accept .ppp, .psp, and owin
objects.  How can I import my data into a format that can be used to create
a distmap with this data?  Is there some sort of mask or filter that would
work in this case?

I can import the raster as an im, SpatialGridDataFrame, or as a
SpatialLinesDataFrame, but none of these are compatible with distmap!

Tyler

	[[alternative HTML version deleted]]

