[R] RArcInfo Package, get.bnddata()
Brian.J.GREGOR@odot.state.or.us
Brian.J.GREGOR at odot.state.or.us
Tue Mar 12 23:55:44 CET 2002
I am having trouble using get.bnddata() in the RArcInfo package. I
installed the version 0.2 binary of the package for Windows and am using R
1.4.1 on Windows NT 4.0. I have had no problems importing and plotting arc
data with get.arcdata() and plotarc(). plotpal() also works fine. I've
been able to use get.arcdata(), get.labdata(), get.paldata(),
get.tablenames(), get.tablefields(), get.tabledata(). When I try
get.bnddata() as follows, I get an error:
> wet.bnd <- get.bnddata("wetlands\\info", "WETLANDS.BND")
Error in get.bnddata("wetlands\\info", "WETLANDS.BND") : Couldn't
open table
get.tablenames() shows that the table exists
TableName InfoFile NFields RecSize NRecords
External
1 WETLANDS.BND ARC0000 1 16 1
FALSE
2 WETLANDS.PAT ARC0001 1 26 355
FALSE
3 WETLANDS.TIC
and if I use get.tabledata() the table will open (but the values are set to
zero)
> wet.bnd <- get.tabledata("wetlands\\info", "WETLANDS.BND")
> wet.bnd
$"XMIN "
[1] 0
$"YMIN "
[1] 0
$"XMAX "
[1] 0
$"YMAX "
[1] 0
I'm probably overlooking something simple. What might it be?
Also, is it possible to change the extent of the view; perhaps by changing
the boundary values?
Thanks in advance.
Brian Gregor, P.E.
Transportation Planning Analysis Unit
Oregon Department of Transportation
Brian.J.GREGOR at odot.state.or.us
(503) 986-4120
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list