[R] maptools, filename writing shapefiles

From: Patrick Giraudoux H <patrick.giraudoux_at_univ-fcomte.fr>
Date: Sun 06 Mar 2005 - 05:02:24 EST


Hi,

I meet a strange trouble writing shapefiles with write.pointShape() from maptools.

> write.pointShape(mylines[,5:9], file="Sxtplinshp", mycoordspt)
Error in write.pointShape(mylines[, 5:9], file = "Sxtplinshp", mycoordspt) :

         shapefile names must conform to the 8.3 format

It seems that the function request a special shapefile name spelling (conformed to 8.3 ESRI format?).

> write.pointShape(mylines[,5:9], file="Sxtplin", mycoordspt)

When just shortened, everything goes smoothly with the file correctly written.

I am not sure about ESRI standard requesting short names (modifying the filename by hand keep it readable by any GIS).

Can anybody (especially Roger...) tell us where comes the trouble from?

Patrick Giraudoux



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sun Mar 06 05:33:41 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:41 EST