[R-sig-Geo] problem in creating shp files

Paolo Cavallini cavallini at faunalia.it
Mon Feb 18 17:21:24 CET 2008


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.
All the best.
pc
-- 
Paolo Cavallini, see: http://www.faunalia.it/pc




More information about the R-sig-Geo mailing list