From: Thomas L. <tho...@fr...> - 2007-02-28 22:56:21
|
Sorry, I forgot to answer to the list also : From: Thomas Leduc <tho...@fr...> Date: Feb 28, 2007 11:37 PM Subject: Re: [Geotools-gt2-users] ArcGridReader, GeoTiffWriter, GeoTiffReader,ArcGridWriter To: Simone <sim...@gm...> On 2/28/07, Simone <sim...@gm...> 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 |