Hi list,

I have a message error using contourLines  and ContourLines2SLDF 
functions (maptools package).

rangerp<-read.table("NAhalleri.txt", header=T)
coordinates(rangerp)=~long+lat
gridded(rangerp)=TRUE
proj4string(rangerp)<-CRS("+proj=longlat")
imgrp<-as(rangerp,"SpatialGridDataFrame")
img1rp<-as.image.SpatialGridDataFrame(imgrp["V1"])
CLrp<-contourLines(img1rp, levels=0.0000878882)
CLSLrp<-ContourLines2SLDF(CLrp)
/Error in ContourLines2SLDF(CLrp) : cL too short/

Could anyone help understant what happens?
Can the input table be too long (3 columns, but almost 300 000 lines)?

Many thanks,

Maxime

Maxime Pauwels
Researcher ID: http://www.researcherid.com/rid/A-1745-2009

Laboratoire de Génétique et Evolution des Populations Végétales
FRE CNRS 3268
Université de Lille, USTL-Lille1
http://gepv.univ-lille1.fr
Tel  : +33 3 20 33 62 38
Fax  : +33 3 20 43 69 79
                        
«Impose ta chance, serre ton bonheur et va vers ton risque. A te regarder, ils 
s'habitueront.»
René Char


        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to