[prev in list] [next in list] [prev in thread] [next in thread]
List: r-sig-geo
Subject: Re: [R-sig-Geo] Format data frame of a shp file
From: Roger Bivand <Roger.Bivand () nhh ! no>
Date: 2016-07-26 9:35:56
Message-ID: alpine.LFD.2.20.1607261135140.2577 () reclus ! nhh ! no
[Download RAW message or body]
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@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@nhh.no
http://orcid.org/0000-0003-2392-6140
https://scholar.google.no/citations?user=AWeghB0AAAAJ&hl=en
http://depsy.org/person/434412
_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic