[R-sig-Geo] generate & plot elevation contour lines

Edzer J. Pebesma e.pebesma at geo.uu.nl
Tue Jun 27 11:12:53 CEST 2006


karl.sommer at dpi.vic.gov.au wrote:
> my understanding is that adding the "contour = TRUE" will add the contour
> lines for kriged zinc concentration in the present example.
>
> However, what I am after is to superimpose contour lines of elevation in
> meters above sea level on top of an interpolated variable that is not
> elevation, eg zinc concentration or some other variable.
>
> I have an interpolated maps of an electromagnetic survey  (EM38) of a field
> and I would like to overlay a plot of contour lines to visualize surface
> drainage patterns.
>   
In that case you could pass them as a SpatialLinesDataFrame
object in the sp.layout list. It will not automatically print the
contour values, but you may be able to use colour; the corresponding
legend will be the next issue, then.
--
Edzer




More information about the R-sig-Geo mailing list