Dear UseRs, I'm using the library maps. I'm drawing maps of Italy. The map available for this library were prepared around *1989*: "This italy database comes from the NUTS III (Tertiary Administrative Units of the European Community) database of the United Nations Environment Programme (UNEP) GRID-Geneva data sets. These were prepared around *1989*" [cited: help("italy")]. The details of this map is by "province", which is not maybe optimal, but is OK. However, after 1989 many new province are born. So for example the new provincia of Rimini has born and the sardinan Island has doubled them. Some of you do know how to get upgraded maps of italy? I think it would useful for all Italian mapers. The second question is as follow: Italy is subdivided in "regioni". Each "regione" is a set of many province; so, if I want to plot map region-based index, how can I omit the borders of prince belonging to the same "regione"? so, how plot maps to a higher unit level? [[alternative HTML version deleted]]
If I remember correctly, the maps package only has a few dedicated maps that works with it. The maptools package has similar (but not exactly the same) functionality and can work with shapefiles that are more commonly available. Maptools also integrates nicely with the sp and related packages that give many more options for working with the maps. For the 2nd question, I would suggest plotting the map first using the province, then plot a second map over the top using the information on the regioni using a different color/line thickness for the boarders and no fill (so that the province show through). This requires having 2 different map files, one with province and one with regioni information (there may be a better way with overlaying information, but this method works without having to think about it too much). Hope this helps, -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org (801) 408-8111> -----Original Message----- > From: r-help-bounces at r-project.org > [mailto:r-help-bounces at r-project.org] On Behalf Of livio spam > Sent: Friday, September 05, 2008 12:24 PM > To: r-help at r-project.org > Subject: [R] upgraded maps database for italy? > > Dear UseRs, > I'm using the library maps. I'm drawing maps of Italy. The > map available for this library were prepared around *1989*: > "This italy database comes from the NUTS III (Tertiary > Administrative Units of the European Community) database of > the United Nations Environment Programme (UNEP) GRID-Geneva > data sets. These were prepared around *1989*" > [cited: help("italy")]. > The details of this map is by "province", which is not maybe > optimal, but is OK. > However, after 1989 many new province are born. So for > example the new provincia of Rimini has born and the sardinan > Island has doubled them. > > Some of you do know how to get upgraded maps of italy? I > think it would useful for all Italian mapers. > > The second question is as follow: Italy is subdivided in > "regioni". Each "regione" is a set of many province; so, if I > want to plot map region-based index, how can I omit the > borders of prince belonging to the same "regione"? > so, how plot maps to a higher unit level? > > [[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. >
The "italy" (and "france") databases only exists in the maps package because somebody supplied me with the data in an appropriate format - latitude/longitude pairs separately for each polygon (provinces in this case). If you have the appropriate data for what you want i.e. updated provinces and regioni, then I could generate a new database (no promises as to how quickly this will happen though). You *could* do it yourself if you read all the references contain in the maps documentation, but I wouldn't recommend learning how to do this unless you intend doing it frequently. However as Greg Snow comments, maptools may well be a better way to go and uses a more generally available data format. The maps package, which traces its roots back to 'New' S (the Blue book), is rather showing its age, but there is no reason to delete it while some people still find it useful. Regards, Ray Brownrigg livio spam wrote:> Dear UseRs, > I'm using the library maps. I'm drawing maps of Italy. The map available for > this library were prepared around *1989*: > "This italy database comes from the NUTS III (Tertiary Administrative Units > of the European Community) database of the United Nations Environment > Programme (UNEP) GRID-Geneva data sets. These were prepared around *1989*" > [cited: help("italy")]. > The details of this map is by "province", which is not maybe optimal, but is > OK. > However, after 1989 many new province are born. So for example the new > provincia of Rimini has born and the sardinan Island has doubled them. > > Some of you do know how to get upgraded maps of italy? I think it would > useful for all Italian mapers. > > The second question is as follow: Italy is subdivided in "regioni". Each > "regione" is a set of many province; so, if I want to plot map region-based > index, how can I omit the borders of prince belonging to the same "regione"? > so, how plot maps to a higher unit level? > > [[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.
Possibly Parallel Threads
- Data for use in maps()
- Calculating total observations based on combinations of variable values
- Change state names to abbreviations in an irregular list of names, abbreviations, null values, and foreign provinces
- samba/PAM/winbind/ssh
- shapefiles manipulations ??