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:
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 -