Hi!

My goal is to colorcode a river network according to the values of
a raster map (which comes from an interpolation). The spatial lines are
imported
from a shapefile. The raster could be imported or I could run the
interpolation in R.

As what I'm planing could be rather involved, I prefer asking before:

1. Convert spatial lines to spatial points as discussed earlier this week.
2. Overlay points on the raster and get the values for the points in a
Spatial Points Data Frame
3. Convert the Spatial Points Data Frame into Spatial Lines Data Frame
4. writeOGR() to shapefile.

The main question is: is the data frame of the points going to be
transferred to the lines
at step 3?

THnaks

Agus

	[[alternative HTML version deleted]]

