[R] Import and plotting question for geographical data

From: Schweitzer, Markus <Markus.Schweitzer_at_hilti.com>
Date: Tue, 12 Feb 2008 11:45:13 +0100


Hello Everybody,

I have been using R for quite some time, but am new to the topic of GEO-data, GIS and drawing maps in R.

I have found following paper, which introduces the usage of the package RArcInfo
http://www.ci.tuwien.ac.at/Conferences/DSC-2003/Proceedings/GomezRubio.p df.
Unforutunately I could not find any files to the examples.

My aim is to reproduce figure 6 on page 8. I found the data here http://www.grid.unep.ch/data/download/gnv158.zip which basically consists of 2 *.e00 files. I then started to convert these files and to read into R



library(RArcInfo)

e00toavc("euadmll.e00", "euadmll")
e00toavc("eunamll.e00", "eunamll")

arcsregio<-get.arcdata(".", "euadmll")
palregio<-get.paldata(".", "euadmll")
bnd.regio<-get.bnddata("info/", "euadmll.bnd") patregio<-get.tabledata("./info","euadmll.pat")

nregio<-length(palregio[[1]][[1]])

plotpoly(arc=arcsregio, pal=palregio, bnd=bnd.regio, col="blue")


So far it works, and I can even plot the map of europe but several things are worrying me:

Drawing maps would be a great feature and I hope you can help me, getting it to run.

Thank you very much in advance and best regards,

Markus

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue 12 Feb 2008 - 10:58:53 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 12 Feb 2008 - 11:30:13 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive