Re: [R-sig-Geo] adapting spatial points and wrld_smpl to a reference system implicit in a .nc file

2016-02-24 Thread Chris Reudenbach
Agus, sorry for the addon but I think I have to provide a correction of the corner coordinates (e.g. the extent values): In the example that you have posted below I did calculate the extent using the domain center coordinate and the WRF grid resolution in meter and the number of rows and col

[R-sig-Geo] Multiplying a raster object

2016-02-24 Thread Tadaishi Yatabe-Rodriguez
Hi community, I have a raster object of a kernel density, where the linear unit is meter, and when I plot it it gives me very small density values (units per sq meter, I suppose). I figure that if I multiply it, say by a 1000, it will give density values in units per sq km. It looks good on the le

Re: [R-sig-Geo] Multiplying a raster object

2016-02-24 Thread Loïc Dutrieux
On 02/23/2016 09:22 PM, Tadaishi Yatabe-Rodriguez wrote: Hi community, I have a raster object of a kernel density, where the linear unit is meter, and when I plot it it gives me very small density values (units per sq meter, I suppose). I figure that if I multiply it, say by a 1000, it will gi

[R-sig-Geo] Problems with mapmisc::insetMap()

2016-02-24 Thread Agustin Lobo
Hi! When I make an insetMap for an small country, I get a very uggly "X" marking its position: require(rgdal) require(raster) require(mapmisc) nica <- getData("GADM", country="NIC", level=0) nicabg <- openmap(nica, path="landscape") map.new(nicabg, 0.7,mar=c(2, 2, 2, 0) + 0.1) plot(nicabg,axes=TR

Re: [R-sig-Geo] Problems with mapmisc::insetMap()

2016-02-24 Thread John Baumgartner
On Thu, Feb 25, 2016 at 4:26 AM, Agustin Lobo wrote: > > Hi! > > When I make an insetMap for an small country, I get a very > uggly "X" marking its position: > > require(rgdal) > require(raster) > require(mapmisc) > nica <- getData("GADM", country="NIC", level=0) > nicabg <- openmap(nica, path="la