[R-sig-Geo] problem in creating shp files
Roger Bivand
Roger.Bivand at nhh.no
Mon Feb 18 20:40:18 CET 2008
On Mon, 18 Feb 2008, Paolo Cavallini wrote:
> Hi all.
> write.pointShape(coordinates=coordinates(fix_data), df=as(fix_data,
> "data.frame"), "sample")
>
> gives correct shapefiles. With:
>
> write.pointShape(coordinates=coordinates(fix_data), df=as(fix_data,
> "data.frame"), "sample.shp")
>
> the output is:
>
> sample.shp
> sample.shx
> *sample.shp.dbf*
>
> which of course is not correct. A trivial issue, of course.
Yes, the help page did say without extension, and I did trust users to
read it! Fixed in release submitted to CRAN, thanks,
Roger
> All the best.
> pc
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no
More information about the R-sig-Geo
mailing list