GRASS logo

NAME

r.in.onearth

DESCRIPTION

r.in.onearth Download and import satellite images direct from the NASA onearth WMS server into GRASS. The images are downloaded with wget from http://wms.jpl.nasa.gov/
as geotiff image. After downloading the data, the images are imported with r.in.gdal. Data will automatically be reprojected to the LOCATION's projection from latitude-longitude/WGS84 (EPSG:4326). The wget program needs to be installed to get the images. The data will be downloaded with the size, resolution and location of the current GRASS location. g.region can be used to adjust these settings beforehand.

Downloadable Data sets

NOTES

The images will be downloaded and stored into an temporary directory. After the download of one image is finished, it will be reprojected with gdalwarp (if the target location is not latitude-longitude/WGS84) and imported with r.in.gdal. At the end, the temporary directory will be deleted.

If the NASA WMS server do not provide the images, r.in.onearth will try to handle this and shows the content of the NASA error XML file at the stdout device.

More information about the NASA onearth WMS data available at http://wms.jpl.nasa.gov/. The WMS protocoll is hardcoded in r.in.onearth, also the NASA provided parameters. If these parameters change, the script has to be modified.

EXAMPLE

Download Landsat Global Mosaik for Spearfish (SD, USA) area:
g.region res=15 -pa
r.in.onearth -l output=spearfish tmband=visual
d.rgb b=spearfish_LandsatTM_visual.blue g=spearfish_LandsatTM_visual.green r=spearfish_LandsatTM_visual.red

SEE ALSO

r.in.srtm

AUTHOR

Original version by Soeren Gebbert, Markus Neteler
Rewritten to support tiled WMS by Hamish Bowman

Last changed: $Date$


Main index - raster index - Full index

© 2003-2016 GRASS Development Team