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

2016-02-26 Thread Jonathan Greenberg
>>> tools and be stored and used much more efficiently. >> >>>>> >> >>>>> (I've seen Lambert Conformal Conic and Lambert Azimuthal Equal Area >> >>>>> terminology conflated in this context too. ) >> >>>>>

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

2016-02-26 Thread Jonathan Greenberg
>>>>>>> I tried to make it work but I had to give up. I wanted to > >>>> reproject > >>>>> the > >>>>>> Lamberth conformal conic coordinates to long-lat but it didn't work. > >>>>>>>> Perhaps someo

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
vice Solutions T +45 9730 5135 M +45 2547 6050 fr...@vestas.com http://www.vestas.com Company reg. name: Vestas Wind Systems A/S This e-mail is subject to our e-mail disclaimer statement. Please refer to www.vestas.com/legal/notice If you have received this e-mail in error please contact the sende

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

2016-02-23 Thread Agus Camacho
coordinates (degrees >>> decimal) >>> > > >> proj4string(uro) <- CRS("+proj=longlat +datum=WGS84") >>> > > >> >>> > > >> ## wrld_simpl is in geographical coordinates >>> > > >> proj4st

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

2016-02-23 Thread Dominik Schneider
>>>> ",") >>>> > > >> coordinates(uro) <- ~lon+lat >>>> > > >> >>>> > > >> ## Set projections for the 3 data sets >>>> > > >> >>>> > > >> ## Lamberth's c

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

2016-02-23 Thread Agus Camacho
; > > +ellps=WGS84" >>> > > >> projection(r) >>> > > >> >>> > > >> ## Assume that lon, lat are geographical coordinates (degrees >>> decimal) >>> > > >> proj4string(uro) <- CRS("+proj=longlat

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

2016-02-23 Thread Michael Sumner
## some distortions >> > > >> pdf("uro.png") >> > > >> >> > > >> plot(r) >> > > >> points(uro) >> > > >> plot(wrld_simpl, add = TRUE) # World will be clipped to extent of >> 'r' >

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

2016-02-23 Thread Agus Camacho
>>> Cheers, Mike. >>>>>> >>>>>> >>>>>> >>>>>> -Alex >>>>>>>> >>>>>>>> On 02/22/2016 10:17 PM, Frede Aakmann Tøgersen wrote: >>>>>>>> >>>&

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

2016-02-23 Thread Chris Reudenbach
: 38.00046 ## Save data in R binary format save(list = c("r", "uro", "wrld_simpl"), file = "uro.RData") Yours sincerely / Med venlig hilsen Frede Aakmann Tøgersen Specialist, M.Sc., Ph.D. Plant Performance & Modeling Technology & Service Solutio

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

2016-02-23 Thread Agus Camacho
(maptools) >>>>>>>> data(wrld_simpl) >>>>>>>> >>>>>>>> r <- raster("raster.grd") >>>>>>>> projection(r) >>>>>>>> ## > NA >>>>>>>> >>

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

2016-02-23 Thread Chris Reudenbach
Specialist, M.Sc., Ph.D. Plant Performance & Modeling Technology & Service Solutions T +45 9730 5135 M +45 2547 6050 fr...@vestas.com http://www.vestas.com Company reg. name: Vestas Wind Systems A/S This e-mail is subject to our e-mail disclaimer statement. Please refer to www.vestas.

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

2016-02-23 Thread Agus Camacho
;> pdf("uro.png") >> > > >> >> > > >> plot(r) >> > > >> points(uro) >> > > >> plot(wrld_simpl, add = TRUE) # World will be clipped to extent of >> 'r' >> > > >> >> > > >

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

2016-02-23 Thread Dominik Schneider
> > > >> ## Reproject the raster to long-lat > > > >> ## This doesn't work (collapsed domain) > > > >> rp <- projectRaster(r, crs = "+proj=longlat +datum=WGS84 +no_defs > > > +ellps=WGS84 +towgs84=0,0,0") > > > >> >

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

2016-02-23 Thread Roger Bivand
ed this e-mail in error please contact the sender. -Original Message- From: R-sig-Geo [mailto:r-sig-geo-boun...@r-project.org] On Behalf Of Agus Camacho Sent: 22. februar 2016 19:20 To: t...@wildintellect.com Cc: r-sig-geo Subject: Re: [R-sig-Geo] adapting spatial points and wrld_smpl to a

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

2016-02-23 Thread Agus Camacho
se > > >>> extent(rp) > > >> ## class : Extent > > >> ## xmin : -100.0015 > > >> ## xmax : -99.68557 > > >> ## ymin: 37.70658 > > >> ## ymax: 38.00046 > > >> > > >> #

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

2016-02-23 Thread Michael Sumner
t;> > >> ## Save data in R binary format > >> save(list = c("r", "uro", "wrld_simpl"), file = "uro.RData") > >> > >> > >> Yours sincerely / Med venlig hilsen > >> > >> Frede Aakmann Tøgersen >

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

2016-02-23 Thread Roger Bivand
il disclaimer statement. Please refer to www.vestas.com/legal/notice If you have received this e-mail in error please contact the sender. -Original Message----- From: R-sig-Geo [mailto:r-sig-geo-boun...@r-project.org] On Behalf Of Agus Camacho Sent: 22. februar 2016 19:20 To: t...@wild

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

2016-02-22 Thread Alex Mandel
s subject to our e-mail disclaimer statement. > Please refer to www.vestas.com/legal/notice > If you have received this e-mail in error please contact the sender. > > > > -Original Message- > From: R-sig-Geo [mailto:r-sig-geo-boun...@r-project.org] On Behalf Of Agus >

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

2016-02-22 Thread Agus Camacho
but its ok, ill ask in another mail list. 2016-02-22 11:19 GMT-07:00 Agus Camacho : > Thanks Alex, but the locations still fall in the sea when i plot them > using your recommended Solution. I looked at the sites you proposed and > they have other values for lat_1, lat_0, etc.. > > 2016-02-22 11:

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

2016-02-22 Thread Agus Camacho
Thanks Alex, but the locations still fall in the sea when i plot them using your recommended Solution. I looked at the sites you proposed and they have other values for lat_1, lat_0, etc.. 2016-02-22 11:04 GMT-07:00 Alex M : > On 02/22/2016 09:50 AM, Agus Camacho wrote: > > Dear all, > > > > Im t

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

2016-02-22 Thread Alex M
On 02/22/2016 09:50 AM, Agus Camacho wrote: > Dear all, > > Im trying to overlap these points: > https://www.dropbox.com/s/awdclg4cvsdngej/clean%20urosaurus%20records.csv?dl=0 > > and a wrld_simpl object: > library(maptools) > data(wrld_simpl) > > Over this raster layer > https://www.dropbox.com