Re: [R] Reading an ArcGIS raster file

From: Jens Oldeland <oldeland_at_gmx.de>
Date: Sat, 05 Apr 2008 14:53:35 +0200

> How can I read and plot an ArcGIS raster file into R ?

Hi Juliane,

I think what you are looking for is something like a function in the "adehabitat" package called "import.asc". First you need to convert your raster images in ArcGIS to ascii files. You have to use the conversion toolbox --> from raster to --> raster to ascii in ArcGIS.

see also:
http://webhelp.esri.com/arcgisdesktop/9.2/index.cfm?TopicName=Raster_to_ASCII_(Conversion)

afterwards apply the image.asc function.

this might help you out:
http://finzi.psych.upenn.edu/R/library/adehabitat/html/import.asc.html

this allows to import your raster files and use it for calculations. are you sure about your floating point data? or are there only "some" digits after the "." ?

hope this helped?

best,
Jens

-- 

> --------------------------------------------------------
> Jens Oldeland
> Universitšt Hamburg
> Biozentrum Klein Flottbek
> Ohnhorststr. 18
> 22605 Hamburg
>
> Tel.: +0049-(0)40-42816-407
> Fax: +0049-(0)40-42816-539
>
> Email: Oldeland_at_botanik.uni-hamburg.de
> Email: Jens.Oldeland_at_dlr.de
> Web: http://www.biologie.uni-hamburg.de/bzf/fbda005/fbda005_e.htm
> --------------------------------------------------------
______________________________________________ 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.
Received on Sat 05 Apr 2008 - 13:00:09 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 05 Apr 2008 - 13:30:25 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive