Package org.apache.sis.storage.gdal
invalid reference
java.lang.foreign
If the prerequisites described in the module Javadoc are met
(GDAL presents in the library search path, native accesses enabled),
then having this module on the module-path is sufficient for allowing Apache SIS to
try GDAL when DataStores.open(Object) is invoked.
Pure Java implementations are tried first, and GDAL is tried as a fallback when
no Java implementation can decode a file. When first needed, this module searches on the
library path for a gdal.dll file on Windows or a libgdal.so file on Unix.
If a different GDAL library is desired, it can be specified explicitly
to the GDALStoreProvider constructor.
Limitations
The current implementation can only read vector data and two-dimensional rasters. It cannot yet write any data, and does not yet use the multi-dimensional raster API of GDAL. Those operations will be added progressively in future versions of this module.For any GDAL layer, only one Stream returned by
FeatureSet.features(boolean) can be executed at a given time.
This is because the GDAL OGRLayerH C/C++ API provides only one cursor.
If two iterations are executed in same time on the feature instances of the same FeatureSet,
then a ConcurrentReadException is thrown on the second iteration.
- Since:
- 1.5
-
ClassesClassDescriptionInformation about a GDAL driver.A data store using the GDAL library for all data accesses.The provider of
GDALStoreinstances.