[GRASS-user] Importing a binary file: (a) why isn't the command logged in the maps history? (b) why is the resolution of the imported map slightly different than expected?

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Wed Mar 19 09:15:40 EDT 2008


On Wed, 2008-03-19 at 00:20 -0700, Hamish wrote:
> > Daniel Victoria wrote:
> > > Could it be a cell center / corner issue? Normally header information
> > > gives cell corners...
> 
> Nikos:
> > You are the Man! Correct!
> > 
> > 1. gdalinfo /home/nik/grassdb/tmp/glc2000/Binary/GLC_EU_V2.bil -noct
> > Driver: EHdr/ESRI .hdr Labelled
> > Files: /home/nik/grassdb/tmp/glc2000/Binary/GLC_EU_V2.bil
> >        /home/nik/grassdb/tmp/glc2000/Binary/GLC_EU_V2.hdr
> >        /home/nik/grassdb/tmp/glc2000/Binary/GLC_EU_V2.stx
> >        /home/nik/grassdb/tmp/glc2000/Binary/GLC_EU_V2.clr
> > Size is 8064, 4256
> 
> If gdalinfo can read it, why not use r.in.gdal instead of r.in.bin?
> It's less work.

Correct! But, for the sake of demonstration, I will keep both ways in my
document.
> 
> 
> > (a) why isn't the command logged in the maps history?
> 
> r.in.bin and r.in.ascii now updated in 6.3svn to write out command
> history.  (This has had to be done manually for all modules which create
> raster maps. We have now done this for most of the common modules and so
> it is encouraging for folks to find it strange when it is missing)

Hamish,

I am sorry but my english has its (greek) limits. You write "it is
encouraging ... to find it strange" but I don't understand what this
means. Can you please explain? Maybe it's nothing important or so
easy... but I don't get it right now (?)



More information about the grass-user mailing list