On 03/18/2015 11:31 AM, PONS Frederic - CEREMA/DTerMed/DREC/SRILH wrote:
Hi
I try to change some coordinate in a vector read by readOGR
Vecteur = readOGR(dsnlayer,layer=nomlayer)
After some calculation, I try this without success:
On Wed, 18 Mar 2015, Edzer Pebesma wrote:
On 03/18/2015 11:31 AM, PONS Frederic - CEREMA/DTerMed/DREC/SRILH wrote:
Hi
I try to change some coordinate in a vector read by readOGR
Vecteur = readOGR(dsnlayer,layer=nomlayer)
After some calculation, I try this without success:
Hello,
My advice is : why don't you reclass your raster in categories according to
raster values intervals, then you polygonize your reclassified raster ?
It would be simpler and you would have a topologically correct layer.
That's the way I do it with GRASS but you all the functions also are
Hi
I try to change some coordinate in a vector read by readOGR
Vecteur = readOGR(dsnlayer,layer=nomlayer)
After some calculation, I try this without success:
Vecteur[nbi,]@coords=cbind(ProfilProj[,1],ProfilProj[,2])
The error is:
Erreur dans as.vector(data) :
pas de méthode pour convertir
Thanks
Vecteur@coords[nbi,]=cbind(ProfilProj[,1],ProfilProj[,2]) is what I want
Fr�d�ric
Le 18/03/2015 12:14, Roger Bivand (par Internet, d�p�t
r-sig-geo-boun...@r-project.org) a �crit :
On Wed, 18 Mar 2015, Edzer Pebesma wrote:
On 03/18/2015 11:31 AM, PONS Frederic -
Hi,
Maybe you could look at raster::focal function and w (matrix of weights
arguments)
http://www.inside-r.org/packages/cran/raster/docs/focal
w
matrix of weights (the moving window), e.g. a 3 by 3 matrix with values 1;
see Details. The matrix does not need to be square, but the sides must be
Matt Strimas-Mackey stri...@zoology.ubc.ca writes:
Note: I previously posted this question to Stack Exchange,
but haven't receive a response.
Questions about the spatstat package can best be addressed directly to the
authors.
I have a large (~70MB) shapefile of roads and want to convert