Message-ID: <alpine.LFD.2.20.1607261135140.2577@reclus.nhh.no>
Date: 2016-07-26T09:35:56Z
From: Roger Bivand
Subject: Format data frame of a shp file
In-Reply-To: <57972E64.2090607@cerema.fr>
On Tue, 26 Jul 2016, "TRMAL C?line - CEREMA/DTerMed/DREC/SRILH" wrote:
> Hello
>
> I'm modifying shape file in R.
> When exporting with writeOGR or writeSpatialShape, the data frame has
> not the good format, too many digits for numeric.
Please provide a reproducible example.
Roger
> I tried format(layer at data[,4],digits=1) but it didn't work?
>
> Any ideas? Thanks in advance
>
--
Roger Bivand
Department of Economics, Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; fax +47 55 95 91 00
e-mail: Roger.Bivand at nhh.no
http://orcid.org/0000-0003-2392-6140
https://scholar.google.no/citations?user=AWeghB0AAAAJ&hl=en
http://depsy.org/person/434412