Sorry, I forgot to answer to the list also :
From: Thomas Leduc <[EMAIL PROTECTED]>
Date: Feb 28, 2007 11:18 PM
Subject: Re: [Geotools-gt2-users] ArcGridReader, GeoTiffWriter,
GeoTiffReader,ArcGridWriter
To: Simone <[EMAIL PROTECTED]>
On 2/28/07, Simone <[EMAIL PROTECTED]> wrote:
Cioa Thomas,
I am about to give your test-case (btw well done! This way it easy to spot
problems :-) ), could you tell me how are they different?
Ciao Simone,
Thanks for your rapid reply. How are they different :
% sdiff -w 80 -bB out_asc.asc ../grid/sample.asc | head -6
NCOLS 466 | ncols 466
NROWS 448 | nrows 448
XLLCENTER 634592.0 | xllcorner 634592
YLLCENTER 634592.0 | yllcorner 5588395
CELLSIZE 10.0 | cellsize 10
NODATA_VALUE -9999 | NODATA_value -9999
(I think that the YLLCENTER value - converted from int to float - has been
quite "disturb")
% sed -i 's/-9999.0/-9999/g' out_asc.asc
(I mean : the NODATA_value as been converted from int to float value)
% unix2dos.exe out_asc.asc
(I mean : sample.asc uses \r\n as end of line whereas out_asc.asc uses \n)
And worse :
in line 17, col 463 (file out_asc.asc), I got the value :
444.8500061035156
whereas in ine 17, col 463 (file sample.asc), I got the value :
445.97
(and that's not an isolated case)
--
Thomas LEDUC
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users