(int iDriver)
| 1228 | * @return the driver identified by the index or null if the index is invalid |
| 1229 | */ |
| 1230 | public class gdal:public static Driver GetDriver(int iDriver) |
| 1231 | |
| 1232 | /** |
| 1233 | * Open a raster file as a Dataset object. |
| 1234 | * <p> |
| 1235 | * This function will try to open the passed file, or virtual dataset |
| 1236 | * name by invoking the Open method of each registered Driver in turn. |
| 1237 | * The first successful open will result in a returned dataset. If all |
| 1238 | * drivers fail then null is returned. |
| 1239 | * <p> |
| 1240 | * It is required that you explicitly close a dataset opened in update |
| 1241 | * mode with the Dataset.delete() method. Otherwise the data might not be |
| 1242 | * flushed to the disk. Don't rely only on Java garbage collection. |
| 1243 | * |
| 1244 | * @param name the name of the file to access. In the case of |
| 1245 | * exotic drivers this may not refer to a physical file, but instead contain |
| 1246 | * information for the driver on how to access a dataset. |
| 1247 | * |
| 1248 | * @param eAccess the desired access, either gdalconst.GA_Update or gdalconst.GA_ReadOnly. Many |
| 1249 | * drivers support only read only access. |
| 1250 | * |
| 1251 | * @return A Dataset object or null on failure. |
| 1252 | * |
| 1253 | * @see #OpenShared(String name, int eAccess) |
| 1254 | */ |
| 1255 | public class gdal:public static Dataset Open(String name, int eAccess) |
| 1256 | |
| 1257 | /** |
no outgoing calls