Package org.apache.sis.internal.storage.esri


package org.apache.sis.internal.storage.esri
Simple data store implementations for some ESRI grid formats (ASCII and binary). The data formats supported by this package are relatively simple. Values are stored either in plain ASCII text or in RAW binary encoding (without compression).

Extensions

The implementation in this package adds the following extensions (some of them are taken from GDAL):
  • Coordinate reference system specified by auxiliary *.prj file. If the format is WKT 1, the GDAL variant is used (that variant differs from the OGC 01-009 standard in their interpretation of units of measurement).
  • ASCII Grid reader accepts also some metadata defined for the binary formats (XDIM, YDIM, color file, statistics file, etc.).

Limitations

Statistics file (*.stx) contains band, minimum, maximum, mean, std_deviation, linear_stretch_min and linear_stretch_max values. But in current Apache SIS implementation, the last two values (linear_stretch_*) are ignored.

Color map file (*.clr) is read only when the raster does not have 3 or 4 bands (in which case the raster is considered RGB) and when the data type is byte or unsigned short. In all other cases, notably in the case of floating point values, the color map is ignored.

Current implementation of ASCII Grid store loads, caches and returns the full image no matter the subregion or subsampling specified to the read(…) method. Sub-setting parameters are ignored.

Since:
1.2
Version:
1.3
See Also: