not aligned after cropping.
>
> Have you checked the original extent and resolution?
>
> Sarah
>
> On Tue, Mar 14, 2017 at 5:31 PM, Vijay Ramesh via R-sig-Geo
> <r-sig-geo@r-project.org> wrote:
> > I loaded a shapefile in R, and cropped and masked it with the same mas
I loaded a shapefile in R, and cropped and masked it with the same mask,
but I get different extents. Any suggestions?
Code below:
library(raster)
library(rgdal)
library(GISTools)
library(sp)
library(maptools)
##Loading the first mask
Mask <-
princomplist
> ## map 3888000 RasterBrick S4
>
> dim(pre_pca$map)
> ## [1] 900 21602
>
> # Plot the 1st comp.
> ggR(pre_pca$map[[1]])
>
> On 03/07/2017 01:06 PM, Vijay Ramesh via R-sig-Geo wrote:
>
> I am currently trying to obtain two rasters that are t
I currently possess a shapefile that consists of >5000 polygons. I would
like to know, for each polygon, how many other polygons it intersects with
and the names of each polygon it intersects with?
My output should be something like this:
[image: enter image description here]
I am currently trying to obtain two rasters that are the Principal
component axes 1 and 2 for a list of bioclimatic variables that I am using.
I am using the rasterPCA() function that exists in the RStoolbox in R, but
I am unable to write it to a raster. Below is the code and the error that I
am
I keep getting a GDAL error when I try to use the MODIS library to download
and process MODIS data.
PROCESSING:
___
GDAL : Not available. Use 'MODIS:::checkTools('GDAL')' for more
information!
Note: I have rgdal installed, along with GDAL separately installed from
osgeo4w.