[R-sig-Geo] Is there an annotated river dataset available?

2010-01-08 Thread Hans-Jörg Bibiko
Hi, I've a tiny question. Is there an annotated river dataset available? By 'annotated' I mean that rivers are ranked by a sort of relevance/size/length or whatever. The problem is that I have an huge SpatialLines object called 'rivers' which shows ~23200 rivers but I have to draw a map which

[R-sig-Geo] Datum/CRS for the worldHires map data

2010-01-08 Thread Karl Ove Hufthammer
Dear list users I frequently use, and rather like, the worldHires map in 'mapdata'. The resolution is quite good (compared to the 'world' map). However, by overlaying some data on a worldHires map (at around long = 25.7 and lat = 70.9) I discovered that the map was quite inaccurate. The

[R-sig-Geo] madogram

2010-01-08 Thread seba
Dear list members I would like to calculate the madogram but in the libraries I'm using (gstat) it seems not possible. Have you any idea how I could do that ? Thank you in advance for your help... Sebas ___ R-sig-Geo mailing list

Re: [R-sig-Geo] Is there an annotated river dataset available?

2010-01-08 Thread Karl Ove Hufthammer
On Fri, 8 Jan 2010 10:11:20 +0100 Hans-Jörg Bibiko bib...@eva.mpg.de wrote: I've a tiny question. Is there an annotated river dataset available? By 'annotated' I mean that rivers are ranked by a sort of relevance/size/length or whatever. The problem is that I have an huge SpatialLines

Re: [R-sig-Geo] Is there an annotated river dataset available?

2010-01-08 Thread Hans-Jörg Bibiko
On Jan 8, 2010, at 12:20 PM, Karl Ove Hufthammer wrote: On Fri, 8 Jan 2010 10:11:20 +0100 Hans-Jörg Bibiko bib...@eva.mpg.de wrote: I've a tiny question. Is there an annotated river dataset available? By 'annotated' I mean that rivers are ranked by a sort of relevance/size/length or

Re: [R-sig-Geo] Is there an annotated river dataset available?

2010-01-08 Thread Barry Rowlingson
On Fri, Jan 8, 2010 at 12:25 PM, Hans-Jörg Bibiko bib...@eva.mpg.de wrote: On Jan 8, 2010, at 12:20 PM, Karl Ove Hufthammer wrote: On Fri, 8 Jan 2010 10:11:20 +0100 Hans-Jörg Bibiko bib...@eva.mpg.de wrote: I've a tiny question. Is there an annotated river dataset available? By

Re: [R-sig-Geo] madogram

2010-01-08 Thread Freddy López
Hello seba, With library SpatialExtremes [1] you can perform madograms with madogram() function. Additionally, you can perform other alternative measures with this library. Cheers. [1] http://spatialextremes.r-forge.r-project.org/ On Sat, Jan 9, 2010 at 06:19, seba

Re: [R-sig-Geo] Is there an annotated river dataset available?

2010-01-08 Thread Hans-Jörg Bibiko
On Jan 8, 2010, at 1:41 PM, Barry Rowlingson wrote: http://www.naturalearthdata.com/downloads/10m-physical-vectors/ the one with scale ranks and tappering has some metadata which might relate to size... Ah, yes. Thanks a lot!! This kind of data I looked for :) --Hans

Re: [R-sig-Geo] madogram

2010-01-08 Thread seba
Hello Freddy Thank you for the quick reply. I'm going to give a look to the library! Bye Sebas At 13.48 08/01/2010, Freddy López wrote: Hello seba, With library SpatialExtremes [1] you can perform madograms with madogram() function. Additionally, you can perform other alternative measures

Re: [R-sig-Geo] Is there an annotated river dataset available?

2010-01-08 Thread Karl Ove Hufthammer
On Fri, 8 Jan 2010 13:25:24 +0100 Hans-Jörg Bibiko bib...@eva.mpg.de wrote: Thanks for the hint! The absolute length can make sense of course but if I need also the largest rivers of a smaller island then this fails or it's much more tricky to handle/select. Not really. You could for

Re: [R-sig-Geo] Is there an annotated river dataset available?

2010-01-08 Thread Hans-Jörg Bibiko
On Jan 8, 2010, at 2:29 PM, Karl Ove Hufthammer wrote: On Fri, 8 Jan 2010 13:25:24 +0100 Hans-Jörg Bibiko bib...@eva.mpg.de wrote: Thanks for the hint! The absolute length can make sense of course but if I need also the largest rivers of a smaller island then this fails or it's much

Re: [R-sig-Geo] raster / polygon overlay

2010-01-08 Thread Tomislav Hengl
Dear Laure, If this is still actual, here are few tips on how to aggregate continuous information (rasters) given some polygon maps. - # obtain a polygon map e.g. World countries: load(url(http://spatial-analyst.net/DATA/WorldPolyCountries.Rdata;))

[R-sig-Geo] readAsciiGrid - change color

2010-01-08 Thread Muhammad Rahiz
Hello all, I have gridded data which I loaded using the readAsciiGrid function. x - read.AsciiGrid(data.txt, plot.image=TRUE). image(x) This works OK but how do I: 1. know what values are assigned to which color/shade 2. change the color template e.g. rainbow 3. insert a color bar?

Re: [R-sig-Geo] readAsciiGrid - change color

2010-01-08 Thread Muhammad Rahiz
I can use image.plot() Muhammad Rahiz | Doctoral Student in Regional Climate Modeling Climate Research Laboratory, School of Geography the Environment Oxford University Centre for the Environment South Parks Road, Oxford, OX1 3QY, United Kingdom

Re: [R-sig-Geo] Problems reading netcdf with RGDAL

2010-01-08 Thread Middel, Kevin (MNR)
Thanks very much for the help Sam and Roger. I ended up using Sam's method which worked great, though seems to require the offset and scaling factor to be calculated on the output RasterLayer following creation. There is probably a method to apply these directly, but I haven't figured that

[R-sig-Geo] MGRS conversion

2010-01-08 Thread Nils B. Weidmann
Hi all, is there a way to convert Military Grid (MGRS) coordinates to lat/long using R's spatial packages? Thanks for any advice you may have! Best Nils -- Nils B. Weidmann Woodrow Wilson School Princeton University http://nils.weidmann.ws ___

Re: [R-sig-Geo] MGRS conversion

2010-01-08 Thread Dan Putler
Hi Nils, Likely via the spTransform function in the rgdal package. Dan On Fri, 2010-01-08 at 13:40 -0500, Nils B. Weidmann wrote: Hi all, is there a way to convert Military Grid (MGRS) coordinates to lat/long using R's spatial packages? Thanks for any advice you may have! Best Nils --

Re: [R-sig-Geo] MGRS conversion

2010-01-08 Thread Roger Bivand
On Fri, 8 Jan 2010, Dan Putler wrote: Hi Nils, Likely via the spTransform function in the rgdal package. But I believe a user-written wrapper would be needed to translate MGRS first to +proj=utm with zone number, or Universal Polar Stereographic near Poles, 100km square IDs, etc. Scanning

Re: [R-sig-Geo] readAsciiGrid - change color

2010-01-08 Thread Michael Sumner
spplot(x) On Sat, Jan 9, 2010 at 3:16 AM, Muhammad Rahiz muhammad.ra...@ouce.ox.ac.uk wrote: I can use image.plot() Muhammad Rahiz  |  Doctoral Student in Regional Climate Modeling Climate Research Laboratory, School of Geography the Environment Oxford University Centre for the Environment