Extensions to {@link javax.imageio.ImageReader} for ASCII files.

The gt2-imageio.jar file declares a service provider for the following image readers:

{@link javax.imageio.ImageReader} subclass Name MIME type
{@link org.geotools.image.io.RawBinaryImageReader} raw image/raw
{@link org.geotools.image.io.text.TextMatrixImageReader} matrix text/matrix
{@link org.geotools.image.io.text.TextRecordImageReader} gridded records text/x-grid

Example: a user may want to read an ASCII file containing gridded elevation on the ocean floor (left side below). The {@link org.geotools.image.io.TextRecordImageReader} class can read such file, detect automatically minimum and maximum values (in order to scale the grayscale palette) and produce the image below:

Longitude Latitude Altitude
59.9000   -30.0000   -3022
59.9333   -30.0000   -3194
59.9667   -30.0000   -3888
60.0000   -30.0000   -3888
45.0000   -29.9667   -2502
45.0333   -29.9667   -2502
45.0667   -29.9667   -2576
45.1000   -29.9667   -2576
45.1333   -29.9667   -2624
45.1667   -29.9667   -2690
45.2000   -29.9667   -2690
45.2333   -29.9667   -2692
45.2667   -29.9667   -2606
45.3000   -29.9667   -2606
45.3333   -29.9667   -2528
etc...