search for: meterwidth

Displaying 1 result from an estimated 1 matches for "meterwidth".

2010 Oct 06
1
R getting slower until it breaks...
...uot;,format="GTiff",overwrite=FALSE) aaa<-2 } ################################################################################# ## Fonction 2 - Creation de fonction convertissant les coordonnee metrique en coordonnee pixels ##### latlong_to_pixels<- function(Coord, facteur, meterWidth=NULL) { #Coord doit ?tre c(x,y) newX <- Coord[1] / facteur newY <- Coord[2] / facteur if(!is.null(meterWidth)){ newWidth <- meterWidth / facteur return(c(newX,newY,newWidth)) } return(c(newX,newY)) } ######################################################################...