I created contour a shape file using roughly the following code:
grd.contour<-contourLines(list.x,list.y,grd.mat,levels=nlevel)
grd.contour<-ContourLines2SLDF(grd.contour)
shapef<-tclvalue(tkgetSaveFile(filetypes="{{Shape Files} {.shp}} {{All
files} *}"))
writeLinesShape(grd.contour,shapef)
It works perfectly. The only problem is that all contours on the map with
the same value are attached to the same record. Basically if a select a
contour with elevation two, all contours on the map are selected even if
they are not spatially connected. Is there a way to create a contour shapes
with independant records even when values are equal.
Any help is greatly apprecciated.

	[[alternative HTML version deleted]]

