[R] RGEOS ERROR

Girija Kalyani smileismystyl at gmail.com
Tue Sep 2 13:56:50 CEST 2014


Thanx for the reply.
It is solved.
It is just a sample file whose dimensions are clipped.
Thanx


On Tue, Sep 2, 2014 at 4:19 PM, Pascal Oettli <kridox at ymail.com> wrote:

> Please keep your reply inside the thread. Anyway, it doesn't anwer the
> question.
>
> Regards,
> Pascal
>
> On Tue, Sep 2, 2014 at 7:18 PM, Girija Kalyani <smileismystyl at gmail.com>
> wrote:
> > Sir,
> > The worldmap i here refer to is , the shape file of the complete world
> map
> >
> >
> >
> > On Tue, Sep 2, 2014 at 12:09 PM, Pascal Oettli <kridox at ymail.com> wrote:
> >>
> >> What is WorldMap? From where does it come?
> >>
> >> Regards,
> >> Pascal
> >>
> >> On Tue, Sep 2, 2014 at 2:37 PM, Girija Kalyani <smileismystyl at gmail.com
> >
> >> wrote:
> >> > working configuration:
> >> > R-3.1.1
> >> > WIN-64
> >> > goal: want to perfrom ploygon clipping, giving bounding box values of
> my
> >> > study area and extract the area from world map.
> >> >  I followed:
> >> >
> >> >> clip.extent <- as(extent(76.3700, 31.7439, 78.6541, 33.2653),
> >> >> "SpatialPolygons")
> >> >
> >> >> proj4string(clip.extent) <- CRS(proj4string(WorldMap))> LSMap <-
> >> >> gIntersection(WorldMap, clip.extent, byid = TRUE)
> >> >
> >> > Error :
> >> >
> >> > In RGEOSBinTopoFunc(spgeom1, spgeom2, byid, id, drop_not_poly,
> >> > "rgeos_intersection") :
> >> >   spgeom1 and spgeom2 have different proj4 strings
> >> >
> >> >
> >> > Any help or assistance would be highly obliged
> >> >
> >> >         [[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.
> >>
> >>
> >>
> >> --
> >> Pascal Oettli
> >> Project Scientist
> >> JAMSTEC
> >> Yokohama, Japan
> >
> >
> >
> >
> > --
> > :) Smile is my Style :)
>
>
>
> --
> Pascal Oettli
> Project Scientist
> JAMSTEC
> Yokohama, Japan
>



-- 
:) Smile is my Style :)

	[[alternative HTML version deleted]]



More information about the R-help mailing list