Dan Baston
Dan Baston
### Feature description I'm looking at an example from https://blog.cleverelephant.ca/2015/02/geotiff-compression-for-dummies.html, where we first convert a raster: ``` gdal_translate \ -b 1 -b 2 -b 3 \ -co COMPRESS=JPEG \ -co...
### What is the bug? As an example, from `ogr2ogr_lib.cpp`: ``` CPLError( CE_Failure, CPLE_AppDefined, "Terminating translation prematurely after failed\n" "translation of layer %s (use -skipfailures to skip " "errors)", poFeatureLayer->GetName());...
### Feature description I'm working on a `gdal raster reclassify` utility for the new CLI. It has three arguments: the input/output datasets, and a table to define the reclassification. Looking...
``` (Pdb) band.GetMaskBand().ReadAsArray() array([[ 0, 255], [ 0, 0]], dtype=uint8) (Pdb) band.GetMaskBand().ReadAsArray(buf_xsize=1, buf_ysize=1, resample_alg=gdal.GRIORA_Mode) array([[255]], dtype=uint8) ``` _Originally posted by @dbaston in https://github.com/OSGeo/gdal/issues/12172#issuecomment-2815732119_ Some discussion in the linked PR.
### Feature description Currently SWIG adds a signature line to the start of our docstrings. This signature line includes the C types, which is confusing. These types can be removed...
### Feature description The tutorials (e.g., [Raster API tutorial](https://gdal.org/en/latest/tutorials/raster_api_tut.html) provide example code in C, C++, and Python. The presentation of this code could be condensed using something like [sphinx-tabs](https://sphinx-tabs.readthedocs.io/en/latest/). ###...
### Feature description As noted by @jidanni in https://github.com/OSGeo/gdal/issues/12093#issuecomment-2792620207 , the zipped HTML download contains all of the documentation in a single HTML page. This seems be an intended behavior...
### What is the bug? Attempting to switch between versions of the documentation (e.g., "stable" to "latest") brings one to the top-level page instead of the corresponding page in the...
### What is the bug? > Don't be forgiving of mismatches and lost data when translating to the output format. Mismatches of what? Lost data from what? (data type conversion,...
### Feature description Add tutorial-like material (with graphics when appropriate), illustrating workflows that can combine several tools to produce a desired outcome. ### Additional context _No response_