|
| 1 | +# GDAL/OGR 3.4.1 Release Notes |
| 2 | + |
| 3 | +## Build |
| 4 | + |
| 5 | +* configure.ac: fix detection of OpenEXR >= 3 (#4766) |
| 6 | +* Add support for PCRE2 (to replace deprecated PCRE) (#4822) |
| 7 | +* nmake.opt: fix wrong variable name in example MSODBCSQL_LIB |
| 8 | +* Add support for external libqhull_r (#4040) |
| 9 | + |
| 10 | +## GDAL 3.4.1 - Overview of Changes |
| 11 | + |
| 12 | +### Algorithms |
| 13 | + |
| 14 | +* viewshed.cpp: remove hidden bidirectional unicode character in code comment |
| 15 | + |
| 16 | +### Port |
| 17 | + |
| 18 | +* CPLRecodeIconv(): avoid potential unsigned integer overflow (ossfuzz #41201) |
| 19 | +* CPLRecode(): ZIP support: avoid warnings on MacOS |
| 20 | +* IVSIS3LikeFSHandler::CopyFile(): always take into account ret code of CopyObject() |
| 21 | +* CPLZLibInflate(): workaround issue with /opt/intel/oneapi/intelpython/latest/lib/libz.so.1 from intel/oneapi-basekit Docker image |
| 22 | + |
| 23 | +### Core |
| 24 | + |
| 25 | +* GDALDataset::MarkSuppressOnClose(): delete auxiliary files (#4791) |
| 26 | +* GDALPamRasterBand::CloneInfo(): deal correctly with NaN nodata to avoid generating useless .aux.xml file (#4847) |
| 27 | +* External overviews: automatically turn PLANARCONFIG_CONTIG for WebP overviews |
| 28 | + |
| 29 | +### Utilities |
| 30 | + |
| 31 | +* gdaladdo -clean: remove overviews of mask (#1047) |
| 32 | +* gdalwarp -crop_to_cutline: fix extremely long loop (#4826) |
| 33 | +* gdalwarp: do not emit "Point outside of projection domain" / "tolerance condition error" (#4934) |
| 34 | +* gdal_polygonize.py: remove use of Unicode double quote characters |
| 35 | +* gdal_polygonize.py: make -8 switch work again (#5000) |
| 36 | +* gdal_sieve.py: fix exception when source dataset has no nodata value (3.4.0 regression) (#4899) |
| 37 | +* gdal2tiles: making --no-kml option takes effect (#4936) |
| 38 | +* gdal2tiles: XML escape input filename (#5032) |
| 39 | + |
| 40 | +### Raster drivers |
| 41 | + |
| 42 | +COG driver: |
| 43 | + * only create RGB JPEG with mask if 4-band is alpha (#4853) |
| 44 | + * fix potential generation failure when main imagery has overview and mask none |
| 45 | + |
| 46 | +ECW driver: |
| 47 | + * do not try to open UInt32 JPEG2000 if the SDK is buggy (#3860) |
| 48 | + |
| 49 | +ERS driver: |
| 50 | + * Add support for comments in ERS files (#4835) |
| 51 | + |
| 52 | +GRIB driver: |
| 53 | + * fix thread-safetey of errSprintf() |
| 54 | + * avoid read heap buffer overflow due to inappropriate split-and-swap on dataset with weird georeferencing (ossfuzz #41260, #41637) |
| 55 | + * fix writing negative longitude of natural origin for Transverse Mercator |
| 56 | + |
| 57 | +GTiff driver: |
| 58 | + * only emit warnings on libgeotiff PROJ errors (#4801) |
| 59 | + * Initialize jxl structures with zeros. |
| 60 | + * LERC overview related improvements (#4848): |
| 61 | + + COMPRESS_OVERVIEW configuration option now honours LERC_DEFLATE and LERC_ZSTD for external overviews |
| 62 | + + MAX_Z_ERROR_OVERVIEW configuration option is added for LERC compressed internal and external overviews. |
| 63 | + + ZLEVEL_OVERVIEW configuration option is added for DEFLATE/LERC_DEFLATE compressed internal and external overviews. |
| 64 | + + ZSTD_LEVEL_OVERVIEW configuration option is added for ZSTD/LERC_ZSTD compressed internal and external overviews. |
| 65 | + * fix performance issue when reading transfer functions (#4923) |
| 66 | + * propagate SPARSE_OK to overviews (#4932) |
| 67 | + * avoid huge memory allocation when generating overviews on large single-band 1-bit tiled files (#4932) |
| 68 | + * make SetGCPs(), SetGeoTransform(), SetSpatialRef(), SetNoDataValue(), SetMetadata[Item]() write to PAM .aux.xml on read only files (#4877) |
| 69 | + * add support for reading/writing color table from/into PAM .aux.xml (#4897) |
| 70 | + * do not warn about buggy Sentinel1 geotiff files use a wrong 4326 code for the ellipsoid |
| 71 | + * Internal libtiff: fix issue with rewrite-in-place logic of libtiff #309 |
| 72 | + |
| 73 | +KEA driver: |
| 74 | + * print error message when opening of kea file fails |
| 75 | + |
| 76 | +NITF driver: |
| 77 | + * Add ISO-8859-1 decoding for file and image header metadata |
| 78 | + |
| 79 | +PCIDSK driver: |
| 80 | + * fix write heap-buffer-overflow (ossfuzz #41993) |
| 81 | + |
| 82 | +PDS4 driver: |
| 83 | + * write conformant Equirectangular when input raster is a geographic CRS |
| 84 | + |
| 85 | +USGSDEM driver: |
| 86 | + * fix reading datasets with 1025 byte records ending with line feed (#5007) |
| 87 | + |
| 88 | +VRT driver: |
| 89 | + * Warped VRT: fix issue with blocks without sources and alpha band (#4997) |
| 90 | + |
| 91 | +XYZ driver: |
| 92 | + * Fix incorrect failure to open ASCII-file due to floating point comparison |
| 93 | + |
| 94 | +Zarr driver: |
| 95 | + * be robust to duplicated array and group names in NCZarr metadata, which could lead to performance issues |
| 96 | + * fixes 'runtime error: reference binding to null pointer of type 'unsigned char' (ossfuzz #41517) |
| 97 | + |
| 98 | +## OGR 3.4.1 - Overview of Changes |
| 99 | + |
| 100 | +### OGRSpatialReference |
| 101 | + |
| 102 | +* OGR_CT: add a OGR_CT_PREFER_OFFICIAL_SRS_DEF config option |
| 103 | + |
| 104 | +### Vector drivers |
| 105 | + |
| 106 | +DXF driver: |
| 107 | + * Do not copy final DXF when MarkSuppressOnClose was called |
| 108 | + |
| 109 | +DWG/DGNv8 drivers: |
| 110 | + * avoid potential crash with ODA 2022 on Linux when driver unloading doesn't occur properly |
| 111 | + * DWG: Add block attributes to entities layer (#5013) |
| 112 | + |
| 113 | +ElasticSearch driver: |
| 114 | + * do not try to open reserved .geoip_databases to avoid error message with recent Elastic versions |
| 115 | + |
| 116 | +GPKG driver: |
| 117 | + * fix nullptr dereference on corrupted databases with sqlite >= 3.35 |
| 118 | + |
| 119 | +MSSQL driver: |
| 120 | + * fix compilation warnings on Linux |
| 121 | + * avoid GetLayerDefn() to return null, and call it in GetExtent() |
| 122 | + * DeleteLayer(): remove suspicious test 'strlen(pszTableName) == 0' that causes a read after free |
| 123 | + * fix issue when inserting strings in bulk copy mode on Linux |
| 124 | + * make GetNextFeature() end bulk copy mode |
| 125 | + * CreateFeature in bulk copy mode: make it use feature geometry SRID when set |
| 126 | + * disable bulk mode when a UUID field is found, as this doesn't work currently |
| 127 | + * do not set field width when reading smallint/int/bigint/float/real columns, and correctly roundtrip smallint/Int16 (#3345) |
| 128 | + |
| 129 | +ODS driver: |
| 130 | + * avoid crashing 'floating-point exception' when evaluating -2147483648 % -1 (ossfuzz #41541) |
| 131 | + |
| 132 | +OpenFileGDB driver: |
| 133 | + * correctly parse raster fields of type == 2 which are inlined binary content (#4881) |
| 134 | + |
| 135 | +PG driver: |
| 136 | + * skip all leading whitespace in SQL statements. (#4787) |
| 137 | + |
| 138 | +Selafin driver: |
| 139 | + * fix time step count when none dataset in the file |
| 140 | + |
| 141 | +Shape driver: |
| 142 | + * better deal with ETRS89 based CRS with TOWGS84[0,0,0,0,0,0,0] |
| 143 | + |
| 144 | +SQLite driver: |
| 145 | + * Various fixes for MacOS system SQLite |
| 146 | + |
| 147 | +S57 driver: |
| 148 | + * enable recoding to UTF-8 by default (RECODE_BY_DSSI=YES open option) (#4751) |
| 149 | + |
| 150 | +TopoJSON driver: |
| 151 | + * fix duplicate 'id' field, and other potential issues when reading fields |
| 152 | + |
| 153 | +WFS driver: |
| 154 | + * if COUNT is present in WFS >= 2, use it as the page size. Also clarify doc |
| 155 | + |
| 156 | +## SWIG Language Bindings |
| 157 | + |
| 158 | +All bindings: |
| 159 | + * add missing CPLES_SQLI constant (#4878) |
| 160 | + |
| 161 | +CSharp bindings: |
| 162 | + * Re-target apps to netcoreapp2.2, fix broken build (#4792) |
| 163 | + |
| 164 | +Java bindings: |
| 165 | + * add_javadoc.c: robustness fixes and fix crash on MacOS |
| 166 | + |
| 167 | +Python bindings: |
| 168 | + * Change GetFieldAsBinary to use VSIMalloc. (#4774) |
| 169 | + * install target: fix/workaround for setuptools 60.0 and Debian --install-layout |
| 170 | + |
1 | 171 | # GDAL/OGR 3.4.0 Release Notes
|
2 | 172 |
|
3 | 173 | ## In a nutshell...
|
|
0 commit comments