Re: [R] Maps, Eastern Europe

From: Ray Brownrigg <ray_at_mcs.vuw.ac.nz>
Date: Mon 23 May 2005 - 08:20:54 EST


> From: "Rau, Roland" <Rau@demogr.mpg.de>
>
> I would like to employ a European map in a presentation. My idea was to
> use:
> library(mapdata)
> map("worldHires", c("Austria", "Switzerland", "Germany"))
>
> where I include all countries from my analysis as a vector of character
> strings like in the example above. Unfortunately, I was unable to
> specify the Baltic States (Latvia, Lithuania, Estonia) or the Czech
> Republic.
> Initially, I thought I misspelled the country names. To avoid this
> obvious error, I checked within 'mapdata_2.0-14.tar.gz' the file
> 'worldHires.names'. To my surprise, the spelling was not the source of
> the error - it was rather the case that those countries were not
> included.
>
> Did some people experience similar problems? And if yes: how did you
> proceed?
>
Unfortunately the world databases for the maps package are very old (early 1990's) and have not been updated since, except for minor typographical errors in country names. Note that Czechoslovakia is there (as is USSR!). Also, it currently satisfies my needs, which is why I don't have the resources to update it.

I suggest you start with the maptools package, but as I understand it, you need to also find some appropriate shapefile data. [Other respondents may improve upon this suggestion.]

Regards,
Ray Brownrigg
maps package maintainer



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 Mon May 23 08:26:18 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:00 EST