|
| 1 | += GDAL/OGR 3.2.1 Release Notes = |
| 2 | + |
| 3 | +The 3.2.1 release is a bug fix release. |
| 4 | + |
| 5 | +== Build == |
| 6 | + |
| 7 | +* Windows: add missing makefile.vc for HEIF driver |
| 8 | +* Windows: add missing build support for OGCAPI driver |
| 9 | +* gdal-config (non installed): add -I/gnm in CFLAGS |
| 10 | +* Add some missing <limits> includes for gcc11 or recent clang |
| 11 | + |
| 12 | +== Resource files == |
| 13 | + |
| 14 | + * tms_MapML_CBMTILE.json: fix it to use correct resolution / scaleDenominator. Unfortunately this makes it non-usable by gdal2tiles, but still by the COG driver |
| 15 | + |
| 16 | +== GDAL algorithms == |
| 17 | + |
| 18 | + * GDALSuggestedWarpOutput2(): avoid potential crash if an approximate transformer is provided |
| 19 | + * Warper ComputeSourceWindow(): avoid potential integer overflow with a ill-behaved transformer/inverse projection |
| 20 | + Warper: fix assertion/crash in debug mode in GWKCheckAndComputeSrcOffsets() |
| 21 | + * Pansharpening: fix wrong band assingment when input multispectral bands not in order 1,2,... and NoData set as PansharpeningOptions and not present in input bands |
| 22 | + |
| 23 | +== GDAL core == |
| 24 | + |
| 25 | + * /vsimem/: fix memleak if destroying the C++ handle with delete instead of using VSIFCloseL(). (oss-fuzz #28422) |
| 26 | + * /vsisubfile/: fix memleak if destroying the C++ handle with delete instead of using VSIFCloseL(). (oss-fuzz #28446) |
| 27 | + * Python embedding: fix symbol conflicts with python library (#3215) |
| 28 | + |
| 29 | +== GDAL utilities == |
| 30 | + |
| 31 | + * gdal_rasterize: make -i work again (#3124) |
| 32 | + * gdal_translate -tr: make non-nearest resampling honour the specified resolution to avoid potential sub-pixel misalignment when the spatial extent, resolution and dimensions in pixels don't perfectly match |
| 33 | + * gdalwarp: make -of COG work with multiple input sources when BigTIFF temporary output is needed (#3212) |
| 34 | + * gdalwarp: preserve scale/offset settings of source bands to output (#3232) |
| 35 | + |
| 36 | +== GDAL drivers == |
| 37 | + |
| 38 | +Multi-driver: |
| 39 | + * gdal2tiles/COG/MBTiles/GeoPackage: adjustments for EPSG:3857 output (due to PROJ 8 changes) |
| 40 | + * Raw datasets: increase the default max mem alloc to 1 GB for 64 bit processes, and add a RAW_MEM_ALLOC_LIMIT_MB config option to allow the user to specify a higher value (#3213) |
| 41 | + |
| 42 | +BLX driver: |
| 43 | + * fix potential free of uninitialized variable in case memory allocation would fail |
| 44 | + |
| 45 | +FIT driver: |
| 46 | + * avoid potential integer overflow with PAGESIZE creation option (oss-fuzz #26673) |
| 47 | + |
| 48 | +FITS driver: |
| 49 | + * display more informative error message when opening raster dataset in vector mode, or vice-verca |
| 50 | + * avoid stack smash overflow with 32 bit Linux builds in GetRawBinaryLayout() |
| 51 | + * set physical filename when opening subdataset |
| 52 | + * add support for creation and update of binary tables |
| 53 | + |
| 54 | +GRIB driver: |
| 55 | + * avoid erroneous unit conversion when section 4 has vertical values coordinates (#3158) |
| 56 | + * add surface type 150 = Generalized Vertical Height Coordinate (#3158) |
| 57 | + |
| 58 | +HDF5 driver: |
| 59 | + * fix reading netCDF4/HDF5 files whose HDF5 signature is not at offset 0 (#3188) |
| 60 | + |
| 61 | +HFA driver: |
| 62 | + * fix reading SRS with NAD83 favors, like 'NAD83(CORS96)' |
| 63 | + |
| 64 | +MRF driver: |
| 65 | + * Restore raw Lerc1 detection (#3109) |
| 66 | + |
| 67 | +netCDF driver: |
| 68 | + * fix reading netCDF4/HDF5 files whose HDF5 signature is not at offset 0 (#3188) |
| 69 | + * accept relative variations in X/longitude and Y/latitude spacing of up to 0.05%. Add a GDAL_NETCDF_IGNORE_EQUALLY_SPACED_XY_CHECK config option to ignore those checks if needed (#3244) |
| 70 | + |
| 71 | +PCRaster / libcsf: |
| 72 | + * validate value before cast. (oss-fuzz #28928 and #29029) |
| 73 | + |
| 74 | +VRT driver: |
| 75 | + * VRTPansharpenedDataset: fix crash when the spectral bands have no nodata value, but we have one declared in PansharpeningOptions, and when the VRTPansharpenedDataset exposes overviews (#3189) |
| 76 | + |
| 77 | +WCS driver: |
| 78 | + * fix memory leak in error code path (oss-fuzz #28345) |
| 79 | + |
| 80 | +WMS driver: |
| 81 | + * properly deal with northing,easting ordered CRS in WMS 1.3.0 when using connection string being a GetMap URL request (#3191) |
| 82 | + |
| 83 | +WMTS driver: |
| 84 | + * Map CURLE_FILE_COULDNT_READ_FILE to 404 (#3187) |
| 85 | + |
| 86 | +XYZ driver: |
| 87 | + * support reading datasets organized by columns, such as the ones of https://www.opengeodata.nrw.de/produkte/geobasis/hm/dgm1_xyz/dgm1_xyz |
| 88 | + * avoid harmless floating point division by zero (oss-fuzz #27740) |
| 89 | + |
| 90 | +== OGR core == |
| 91 | + |
| 92 | + * OGRFeature::GetFieldAsString() and GeoJSON output: do not output Float32 with excessive precision |
| 93 | + * OGR SQL: fix potential crash or incorrect result on multi column ORDER BY (#3249) |
| 94 | + * OGRSpatialReference::GetEPSGGeogCS(): make it use database lookups if needed (and avoid misidentification of 'NAD83(CORS96)' for example |
| 95 | + * OGRSpatialReference::exportToWKT(): add a option to allow export of Geographic/Projected 3D CRS in WKT1_GDAL |
| 96 | + * GetEPSGGeogCS(): fix when projected CRS can't be exported to WKT2 |
| 97 | + * OGRShapeCreateCompoundCurve(): fix memory leak in error code path. (oss-fuzz #28923) |
| 98 | + |
| 99 | +== OGR drivers == |
| 100 | + |
| 101 | +DXF driver: |
| 102 | + * Skip hatch polyline segments with one vertex |
| 103 | + |
| 104 | +Elasticsearch driver: |
| 105 | + * support WKT geo_shape encoding |
| 106 | + * make GetExtent() use server-side query for geo_shape if ES >= 7.8 and XPack is installed |
| 107 | + * fix GetFeatureCount() when SetAttributeFilter() is a ElasticSearch JSON filter |
| 108 | + * add open options for timeouts and maximum number of features |
| 109 | + |
| 110 | +FlatGeobuf driver: |
| 111 | + * add editable capabilities (#3169) |
| 112 | + * Port upstream changes to fix oss-fuzz #27530 |
| 113 | + |
| 114 | +GeoJSON driver: |
| 115 | + * accept files starting with {"bbox":...,"features":[... (#1537) |
| 116 | + * accept file containing a Feature object and starting with a large properties (#3280) |
| 117 | + * writer: avoid CPLDebug() messages when writing BBOX in RFC7946 mode |
| 118 | + * writer: avoid invalid .0 suffix to be added to numeric values like 1eXX (#3172) |
| 119 | + |
| 120 | +GML driver: |
| 121 | + * GML geometry parsing: handle km unit for radius of arcs (#3118) |
| 122 | + * GML geometry parsing: avoid potential exponential complexity on broken XML (oss-fuzz #27301) |
| 123 | + * GML geometry parsing: fix nullptr dereference on invalid GML (oss-fuzz #28040) |
| 124 | + |
| 125 | +MITAB driver: |
| 126 | + * avoid casting invalid value to enumerated type (oss-fuzz #26770) |
| 127 | + |
| 128 | +NAS driver: |
| 129 | + * don't skip prescan, if NAS_GFS_TEMPLATE is given, but still don't write .gfs |
| 130 | + |
| 131 | +PostgreSQL driver: |
| 132 | + * on reading, instantiate SRS from EPSG when possible instead of srtext to avoid axis order issues, and strip TOWGS84 on known datum (#3174) |
| 133 | + * when detecting srid from table contents, ignore null geometries |
| 134 | + |
| 135 | +WFS driver: |
| 136 | + * fix CreateFeature() for WFS 2 (#3323). And for WFS 2, make CreateFeature() and SetFeature() use GML 3 |
| 137 | + |
| 138 | +== Python bindings == |
| 139 | + |
| 140 | +* osgeo/__init__.py - add python version check and deprecation warning. GDAL 3.2.X will be the last release supporting Python 2.7. Python 3.6 or above will be required for GDAL 3.3 |
| 141 | +* Remove swig/python/[gdal|ogr|osr|gdalconst|gdalnumeric].py (#3149) |
| 142 | +* Implement correct behavior for copy.copy() and copy.deepcopy() on a Geometry object (#3278) |
| 143 | + |
1 | 144 | = GDAL/OGR 3.2.0 Release Notes = |
2 | 145 |
|
3 | 146 | == In a nutshell... == |
|
0 commit comments