[R] maptools: using to sets of information (within two shape files) for one plot
Michael Sumner
mdsumner at gmail.com
Thu May 31 12:46:13 CEST 2012
Please let us know at least what package/s you are using to read the
data from shapefiles and the code you are using.
The two data sets may be using different projections, so use
summary(obj1) and summary(obj2) to describe their projection metadata
and data extents (well, at least if they are Spatial* objects from the
sp package). With sp/rgdal, or other packages these can be reprojected
if you know the original coordinate systems so that plotting them
together makes sense. There are good resources and vignettes sp and
related tools that explain this, and a dedicated mailing list for data
like these (R-Sig-Geo).
Cheers, Mike.
On Thu, May 31, 2012 at 7:32 PM, Marion Wenty <marion.wenty at gmail.com> wrote:
> Dear all,
>
> I am using a shape file containing the information regarding the borders of
> the PARISHES of Austria. I created a plot with different colours for
> different percentages of child care institutions.
>
> Now I would like to add the information of the COUNTY boundaries to this
> plot which I have got in another shape file. I would like these boundaries
> to be shown with bold lines so that they can be seen well.
>
> I tried this with adding another plot to the existing plot, but the second
> plot was not at the same place as the first plot and I couldn't change that
> by using the commands fig or mar.
>
> Could anybody help me with this?
>
> Thank you very much in advance.
>
> Marion
>
> [[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.
--
Michael Sumner
Hobart, Australia
e-mail: mdsumner at gmail.com
More information about the R-help
mailing list