[R-sig-Geo] importing and viewing a JPEG2000 file
Edzer Pebesma
edzer.pebesma at uni-muenster.de
Mon Sep 8 08:14:29 CEST 2008
Try readGDAL in package rgdal. On my machine, gdalDrivers() returns
...
35 JPEG2000 JPEG-2000 part 1 (ISO/IEC 15444-1) FALSE TRUE
...
as one of the available drivers. Then, look into
?image.SpatialGridDataFrame (package sp) and check the red/green/blue
arguments.
Hth,
--
Edzer
Naidoo, Robin wrote:
> Hello,
>
> Please forgive any breaches in protocol or the simplicity of this question.
>
> I would like to import and display a JPEG2000 satellite image in R. Could someone be so kind as to advise on how to do this? And more generally: is it possible to import multi-band satellite images and to display them in colour using a subset of 3 of the bands, as in a standard GIS program?
>
> Many thanks,
>
> Robin Naidoo
>
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
--
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster,
Weseler Straße 253, 48151 Münster, Germany. Phone: +49 251
8333081, Fax: +49 251 8339763 http://ifgi.uni-muenster.de/
More information about the R-sig-Geo
mailing list