[R-sig-Geo] bug in rasterize (package raster)?

2010-11-15 Thread Julian Burgos
Dear list, I´m getting the following error when trying to convert a spatial lines object into a raster using the rasterize function (package raster): > my.line An object of class "SpatialLines" Slot "lines": [[1]] An object of class "Lines" Slot "Lines": [[1]] An object of class "Line" Slot "coor

Re: [R-sig-Geo] problem with spTransform and SpatialPixelsDataFrame

2010-10-22 Thread Julian Burgos
Ahhh...a missing "+". Probably caused by a lack of caffeine. :) Thanks also for suggesting the raster package... I will look into this. Julian On Wed, Oct 20, 2010 at 6:56 AM, Roger Bivand wrote: > On Wed, 20 Oct 2010, Julian Burgos wrote: > > Dear list, >> I have a

[R-sig-Geo] problem with spTransform and SpatialPixelsDataFrame

2010-10-19 Thread Julian Burgos
Sobj' in selecting a method for function 'spTransform' Any ideas what is the problem? Many thanks, Julian Burgos Julian Mariano Burgos Hafrannsóknastofnunin/Marine Research Institute Skúlagata 4, 121 Reykjavík, Iceland Sími/Telephone : +354-5752037 Bréfsími/Telefax: +354-5752001 N

Re: [R-sig-Geo] newbie questions

2009-11-16 Thread Julian Burgos
Hello all, An alternative to create (possibly simple) shapefiles is the "shapefiles" package. http://cran.r-project.org/web/packages/shapefiles/index.html. Also the "PBSmapping" package is a very good alternative to make maps within R, and to perform basic GIS operations (i.e. overlap of poly

[R-sig-Geo] Rotate SpatialPointsDataFrame and convert to raster

2009-08-31 Thread Julian Burgos
Dear list, Hopefully this question will not be too basic. I have a relatively large dataset (~25 rows) consisting of lat, long and a data value. The data has been collected in a regular grid, but the grid is "tilted". In other words, along a row the latitude values increase constantly,

Re: [R-sig-Geo] [R-sig-eco] Need an algorithm to identify spatial clusters

2009-04-14 Thread Julian Burgos
n't find a package with this functionality), and I would be happy to pass it along. My function wasn't extremely efficient but worked well enough to process thousand of matrices (each 100x100) in a relatively short time. Let me know if you need it. Julian Burgos, PhD University of Wash