Hello,

Using R 2.5.0 with  PBSmapping package version 2.09:

When I try to read in a polygon shapefile (eight polygons, the file was written by the
Feature Class to Shapefile command in ArcMap GIS 9.2) using the command:

importShapefile("TriCountyPolyDD")

The following error occurs:

Error in x[[jj]][iseq] <- vjj : incompatible types (from NULL to integer) in subassignment type fix

Using read.shape on the same file yields

> TriCounty <-read.shape("TriCountyPolyDD.shp") Shapefile type: Polygon, (5), # of Shapes: 8
>
Yet I wish to work with this shapefile using the PBSmapping tools.

Has anyone else encountered and/or repaired this?
Plan B would be to convert the Map object TriCounty into
a PolySet or PolyData used by PBSmapping package, but
so far I have not worked this out. Any suggestions?

Thanks, Rick Reeves
NCEAS / UC Santa Barbara

--
Rick Reeves     
Scientific Programmer / Analyst 
National Center for Ecological Analysis and Synthesis
UC Santa Barbara
[EMAIL PROTECTED]
www.nceas.ucsb.edu
805 892 2533

begin:vcard
fn:Rick  Reeves
n:Reeves;Rick 
org:UC Santa Barbara;National Center For Ecological Analysis and Synthesis
adr:Suite 300;;735 State Street;Santa Barbara;CA;93101;USA
email;internet:[EMAIL PROTECTED]
title:Rick Reeves,  Scientific Programmer/Analyst
tel;work:805 892 2533
url:http://www.nceas.ucsb.edu
version:2.1
end:vcard

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to