[R] creat raster from XYZ

Michael Sumner mdsumner at gmail.com
Thu Jun 27 13:40:07 CEST 2013


On Wed, Jun 26, 2013 at 12:53 AM, Shane Carey <careyshan at gmail.com> wrote:
> Hi,
>
> I have a data set consisting of XYZ data. the dimensions are 22427 rows by
> 3 columns.
>
> I try to use rasterFromXYZ from the raster package but I get the following
> error:
>
>  Error in rasterFromXYZ(DATA) : x cell sizes are not regular
>
> Any help would be appreciated.

No problem.

library(raster)
?rasterFromXYZ


>
> Thanks
>
> --
> Shane
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



-- 
Michael Sumner
Hobart, Australia
e-mail: mdsumner at gmail.com



More information about the R-help mailing list