[GRASS5] Re: using r.in.gdal on png provides negative south/west
Stefan Paulick
stefan.paulick at urbeli.com
Fri Jan 21 06:52:18 EST 2005
That's one of the shoals driving unexperienced users into deepest depression
- displaying the imported stuff does show a blank screen which may mislead
to the opinion that the import failed: wrong image format, gdal not working,
dunno whatever!
Frank: Is it a man's task to get positive readings?
If yes, I would love to see some kind of information/warning out of
r..in.gdal; maybe combined with a hint how to solve. it. Should do, even for
me...:_))
/Stefan
Markus Neteler schrieb:
> 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
>
> _______________________________________________
> grass5 mailing list
> grass5 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5
More information about the grass-dev
mailing list