Re: [R] maptools: using to sets of information (within two shape files) for one plot

2012-06-20 Thread Marion Wenty
Hello Mike,
thank you very much for the information about the projections and the
R-Sig-Geo mailinglist!
For now I solved the problem by getting another shape file with the same
projections so I didn't have to reproject the data sets.
However, I might need this in the future - if so your information will be
of good use to me.
Thanks again!
Marion

2012/5/31 Michael Sumner 

> 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 
> 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@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: mdsum...@gmail.com
>

[[alternative HTML version deleted]]

__
R-help@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.


Re: [R] maptools: using to sets of information (within two shape files) for one plot

2012-05-31 Thread Michael Sumner
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  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@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: mdsum...@gmail.com

__
R-help@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.