<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello<br>
<br>
I'm modifying shape file in R.<br>
When exporting with writeOGR or writeSpatialShape, the data frame
has not the good format, too many digits for numeric.<br>
I tried format(layer@data[,4],digits=1) but it didn't work? <br>
<br>
Any ideas? Thanks in advance<br>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<br>
<div class="moz-signature">
<div class="moz-signature">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<title></title>
<font size="2,5" face="Arial"><b> Céline TRMAL </b></font><br>
<div class="moz-signature">
<div class="moz-signature"> <font size="1" color="#666666"
face="Arial"><b> Ingénieur Chargée d'Etudes <br>
</b></font><font size="1" color="#666666" face="Arial"><b>
DREC/Service Risques Inondations, Littoraux et
Hydrauliques </b></font><font size="1"
color="#666666" face="Arial"><b> - Tél.: 04 42 24 76 77
</b></font><font face="Arial"><br>
</font><font size="1" color="#666666" face="Arial"><b>
Direction Territoriale Méditerranée<br>
</b></font> <font face="Arial"><img alt=""
src="cid:part1.00000307.09050105@cerema.fr"
height="45" width="183"></font> <font face="Arial"><br>
</font>
<div class="moz-signature">
<div class="moz-signature"><font size="1"
color="#ee7f00" face="Arial">Centre d’études et
d’expertise sur les risques, l’environnement, la
mobilité et l’aménagement </font><br>
<a href="http://www.cerema.fr" class="type1"><font
size="4" color="#ee7f00" face="Arial">www.cerema.fr</font></a><font
face="Arial"><br>
</font>
<div class="moz-signature"> <font size="1"
color="#666666" face="Arial"> </font> </div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>