GME

Geospatial Modelling Environment

reproject.raster (Reproject Raster)

Reprojects a raster dataset

Description

This tool will reproject a raster data source to create a new raster dataset. The projection of the input raster dataset must be pre-defined. If you open this raster in ArcGIS, for instance, and the projection is 'undefined' then you must use the Define Projection tool in ArcToolbox to define the projection before running this command.

The output projection is specified by referencing a projection definition file (*.prj). See the section on 'Projection definition files' for an explanation of where to find these files, and how to create them if you are not already familiar with them.

Syntax

reproject.raster(in, prj, out);

inthe input raster data source
prjthe projection file specifying the new output projection
outthe new output raster to create

Example

reproject.raster(in="C:\data\landcov", prj="C:\data\WGS 1984.prj", out="C:\data\lcovrp.img");


Messages

Please consider making a purchase to support the continued development of these tools  Read more...

Tips on how to use this interface efficiently  Read more...

Links

Open Source GIS

Copyright © 2001-2014 Hawthorne L. Beyer, Ph.D., Spatial Ecology LLC    Connect on LinkedIn