Re: [R-sig-Geo] readGDAL() and HDF5 files

2009-01-23 Thread Roger Bivand
On Fri, 16 Jan 2009, Sebastian P. Luque wrote: Hi, I'm trying to use HDF5 files with this structure: Sorry for the delay. Having now set up a reprodicable route (OSGeo4W GDAL and drivers, rgdal built against OSGeo4W as in a posting a couple of days ago), I can see the problem, but have no

Re: [R-sig-Geo] readGDAL() and HDF5 files

2009-01-23 Thread Sebastian P. Luque
On Fri, 23 Jan 2009 11:01:21 +0100 (CET), Roger Bivand roger.biv...@nhh.no wrote: On Fri, 16 Jan 2009, Sebastian P. Luque wrote: Hi, I'm trying to use HDF5 files with this structure: Sorry for the delay. Having now set up a reprodicable route (OSGeo4W GDAL and drivers, rgdal built against

[R-sig-Geo] The geonames.org server changed / geonames package

2009-01-23 Thread Tomislav Hengl
Hi Barry, Edzer, Just to let you know that geonames.org server changed from ws.geonames.org to ws5.geonames.org See the info at: http://www.geonames.org/export/ Maybe you should add to your R package geonames an option to specify the server name manually, e.g.: setGNserver -

Re: [R-sig-Geo] Coercing multiband readGDAL objects to a matrix/vector...

2009-01-23 Thread Michael Sumner
Can you provide more detail as to what you mean? If you want more than one band in the matrix you'll need to pre-allocate the result and use sub-indexing into that matrix (2D). In one step you could access the bands from the Spatial*DataFrame directly as columns/vectors, but you'd have to

Re: [R-sig-Geo] readGDAL() and HDF5 files

2009-01-23 Thread Michael Sumner
Hi Sebastian, When you say the geographic coordinates are not a regular grid - is it that the actual grid is Mercator but the NetCDF file stores an X and Y vector separately for each unique longitude and latitude? I've seen this many times, but never with enough metadata to determine that

Re: [R-sig-Geo] readGDAL() and HDF5 files

2009-01-23 Thread Sebastian P. Luque
On Sat, 24 Jan 2009 08:11:15 +1100, Michael Sumner mdsum...@utas.edu.au wrote: Hi Sebastian, When you say the geographic coordinates are not a regular grid - is it that the actual grid is Mercator but the NetCDF file stores an X and Y vector separately for each unique longitude and latitude?