[GRASS5] using r.in.gdal on png provides negative south/west

Markus Neteler neteler at itc.it
Fri Jan 21 06:00:22 EST 2005


On Fri, Jan 21, 2005 at 03:23:48AM +0100, Stefan Paulick wrote:
> When importing the attached png into a 50x50 xy-Location, the region 
> settings become negative. With former r.in.png, they were positive. 
> *confused* 

Here is what the source code says:

raster/r.in.gdal/main.c
/*
 * r.in.gdal imports many GIS/image formats into GRASS utilizing the GDAL
 * library
 *
 * copyright of this file
 * Author: Frank Warmerdam
 *
 * Added optional GCP transformation: Markus Neteler 10/2001
 * TODO: most unreferenced formats are read in with negative coordinates - desired??
 */

See the last line... open for discussion.

Markus




More information about the grass-dev mailing list