Sorry, I forgot to answer to the list also :
From: Thomas Leduc <[EMAIL PROTECTED]>
Date: Feb 28, 2007 11:37 PM
Subject: Re: [Geotools-gt2-users] ArcGridReader, GeoTiffWriter,
GeoTiffReader,ArcGridWriter
To: Simone <[EMAIL PROTECTED]>
On 2/28/07, Simone <[EMAIL PROTECTED]> wrote:
Thomas,
can you tell the CRS for this data set so that I can look deeper into this
problem?
I've run the same sample "locally", replacing
new
URL("http://geosysin.iict.ch/irstv-trac/browser/datas2tests/grid/sample.asc?format=raw
");
with :
(new File("../datas2tests/grid/sample.asc")).toURL();
and replacing :
File out = new File("/tmp/out.tif");
by :
File out = new File("/tmp/out_tif.tif");
and :
File outasc = new File("/tmp/out.asc");
by :
File outasc = new File("/tmp/out_asc.asc");
In this case, a "out_asc.prj" file as been produced in the /tmp directory
with the
following lines :
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
UNIT["degree", 0.017453292519943295],
AXIS["Lon", EAST],
AXIS["Lat", NORTH],
AUTHORITY["EPSG","4326"]]
NB : I use the geotools2-2.3.0 version.
--
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