Re: [R] RGEOS ERROR

2014-09-02 Thread Girija Kalyani
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 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, Gir

Re: [R] RGEOS ERROR

2014-09-02 Thread Pascal Oettli
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 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 wrote

Re: [R] RGEOS ERROR

2014-09-02 Thread Michael Sumner
I suspect you are seeing old code in rgeos. Please upgrade. If you cannot do that, try a few other things like ## since you obviously have raster loaded projection(clip.extent) <- projection(WorldMap) LSMap <- gIntersection(WorldMap, clip.extent, byid = TRUE) Does that work? If not possibly p

Re: [R] RGEOS ERROR

2014-09-01 Thread Pascal Oettli
What is WorldMap? From where does it come? Regards, Pascal On Tue, Sep 2, 2014 at 2:37 PM, Girija Kalyani 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:

[R] RGEOS ERROR

2014-09-01 Thread Girija Kalyani
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(proj4