[GRASS5] floating AI ASCII GRID import

Frank Warmerdam warmerdam at pobox.com
Mon Nov 29 16:22:33 EST 2004


Maciek Sieczka wrote:
> From: "Michael Barton" <michael.barton at asu.edu>
> Sent: Monday, November 29, 2004 5:56 PM
> Subject: Re: [GRASS5] floating AI ASCII GRID import
> 
> 
>> I haven¹t had a chance to test this to see if r.in.gdal is the same as
>> r.in.arc. If it is, I agree completely that we need eliminate redundancy
>> where possible. Perhaps Maciek can test it as he seems to have a set 
>> of AI
>> ASCII grid files he is working with now. Let me know if it is redundant
>> and
>> I¹ll take it off the input menu.
> 
> 
> The problem is that GDAL may round the floating AI ASCII GRID to integer.
> Below is what Frank Warmerdam once wrote on the gdal-list. Frank, is it
> still not fixed? BTW - what is the chance that GDAL could be thought to 
> recognize if the AI AGRID is FCELL or DCELL?
> 
> From: "Frank Warmerdam" <warmerdam at pobox.com>
> Sent: Tuesday, June 01, 2004 2:59 PM
> Subject: Re: [Gdal-dev] floating point bug
> 
>> This is already a known issue in bug:
>> http://bugzilla.remotesensing.org/show_bug.cgi?id=313
>> Basically I scan the first 1K or so of the file to look for floating 
>> point
>> values.
>> If I don't find any I assume the whole coverage is integer.
>> I have been hesitant to "fix" this as a proper fix would seem to require
>> scanning the whole file on open which is pretty expensive.

Maciek,

This is still an open issue.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the grass-dev mailing list