|
From: Andrea A. <and...@al...> - 2004-07-13 19:28:25
|
Alle 20:42, marted=EC 13 luglio 2004, Bryce L Nordgren ha scritto: > Just popping in to say hi, like the docs say. > > I have just secured a job code against which I can charge my time for a > "geotiff for Geotools" effort. I'll concisely present my strategy for > implementation, which you are free to shoot down if I'm proposing somethi= ng > retarded. Timeframe: this must be completed in one week. > > Stage 1: GeoTIFF read-only, EPSG projections supported. User defined > projections not supported. > Stage 2: Write a "CoordinateSystemAntiAuthorityFactory" which takes a > coordinate system and returns the registration code and authority name. > Suggest a better name for this if you're concerned. :) > Stage 3: Add write capability to GeoTIFF module. EPSG projections > supported. User projections not supported. > Stage 4: Add user defined read/write support. The strategy is good... one week seems quiteoptimistic to me, anyway... To be fully compatible with Geotools and also leverage tiling (needed for handling big images) you need to use JAI and JAI Image I/O.=20 Moreover, how do you intend to read the TIFF metadata? The JAI reader is simpler to use, but=20 unfortunately deprecated, whilst the JAI Image I/O is not, but quite messy= =20 (the metadata is loaded in a DOM data structure). =46inally, do you plan to support multi-image TIFF files too? And finally, I'm not sure we are on the same page:=20 when you say GeoTIFF, you refer to images with a world (.wld) file attached, or to the real GeoTIFF=20 specification, that stores metadata into the tiff file tags? (see the GeoTI= =46F specification, http://www.remotesensing.org/geotiff/spec/contents.html) Either way, your contribution to Geotools is very appreciated :-) Best regards Andrea Aime |