| 1 | = GDAL/OGR 2.4.2 Release Notes = |
| 2 | |
| 3 | The 2.4.2 release is a bug fix release. |
| 4 | |
| 5 | == Build == |
| 6 | |
| 7 | * Fix build --with-curl --without-threads (#1386) |
| 8 | * Fix build on netBSD 8 |
| 9 | * Fix warnings with GCC 9 |
| 10 | * Add support for Poppler 0.75.0 (#1388), 0.76.0 |
| 11 | |
| 12 | == Port == |
| 13 | |
| 14 | * /vsitar/: handle .tar file header with space padding instead of 0 for file size (#1396) |
| 15 | * /vsicurl/: allow 'Connection timed out' CURL errors as candidate for HTTP retry |
| 16 | * /vsicurl/: GetFileSize(): when HEAD request does not return Content-Length header, retry with GET |
| 17 | * /vsicurl/: automatically detect signed URLs where host ends with a port number; also detect signed URLs as created with the AWS4-HMAC-SHA256 method (#1456) |
| 18 | * /vsis3/: for a long living file handle, refresh credentials coming from EC2/AIM (#1593) |
| 19 | |
| 20 | == GDAL algorithms == |
| 21 | |
| 22 | * GDALCreateReprojectionTransformerEx(): do not emit error if reverse transformation fails, and fix crash when trying to use null reverse transformation |
| 23 | * Warper: fix GDAL 2.3 regression in a situation with source nodata value, multiple bands and nearest resampling where the logic to detect which source pixels are nodata was inverted (#1656) |
| 24 | * Contour generator: fix SegmentMerger list iterator skipping and out of bounds error. (#1670) |
| 25 | * Rasterize: fix crash when working buffer is larger than 2GB (fix also gvBurnPoint) (#1338) |
| 26 | |
| 27 | == GDAL core == |
| 28 | |
| 29 | * GDALInvGeoTransform(): make it work with scale and rotation/skew coefficients of small absolute value (#1615) |
| 30 | * GDALCopyWholeRasterGetSwathSize(): fix potential int overflows for big values of GDAL_SWATH_SIZE or GDAL_CACHEMAX |
| 31 | * PAM: preserve existing metadata when setting new one (#1430) |
| 32 | |
| 33 | == GDAL utliities == |
| 34 | |
| 35 | * gdal_calc.py: Fixed NaN-streaking in output images when the --allBands option is given to tiled images, and removed redundant calculation of nXValid. |
| 36 | * gdal_polygonize.py: fix outputing to geojson without explicit -f switch (#1533) |
| 37 | * gdal_contour: remove explicit width/precision=12/3 of the elev field (#1487) |
| 38 | |
| 39 | == GDAL drivers == |
| 40 | |
| 41 | AIGRID / AVCBin driver: |
| 42 | * fix filename case adjustment that failed on /vsi filesystems (#1385) |
| 43 | |
| 44 | BAG driver: |
| 45 | * fix potential nullptr deref on corrupted file |
| 46 | |
| 47 | ENVI driver: |
| 48 | * add read support for reading GCPs (#1528), and fix off-by-one offset on line,pixel on reading GCP |
| 49 | |
| 50 | GTiff driver: |
| 51 | * make WEBP_LEVEL to be honored in Create() mode (#1594) |
| 52 | * PushMetadataToPam(): early exit when PAM is disabled, to avoid error messages |
| 53 | * do not generate a TIFFTAG_GDAL_METADATA with color interpretation information for JPEG YCbCr compression |
| 54 | * Internal libtiff: TIFFWriteEncodedStrip/TIFFWriteEncodedTile: fix rewriting of LZW-compressed data (#1439) |
| 55 | |
| 56 | GXF driver: |
| 57 | * avoid closing the file pointer before being sure this is a GXF driver, otherwise this can prevent the opening of some raw format files (#1521) |
| 58 | |
| 59 | HDF5 driver: |
| 60 | * fix handling of attributes of type SCHAR, UCHAR, USHORT and UINT (https://github.com/mapbox/rasterio/issues/1663) |
| 61 | * detect nodata from netCDF _FillValue; add more strict checks for accepting datasets for GCP, and handle nodata in GCP too (#1451) |
| 62 | |
| 63 | ISIS3 driver: |
| 64 | * fix parsing of lists in JSon metadata, and quote string items when writing lists when needed (#1510) |
| 65 | |
| 66 | KEA driver: |
| 67 | * return error when deleting metadata item rather than crashing (#1681) |
| 68 | |
| 69 | MRF driver: |
| 70 | * prevent integer overflow |
| 71 | |
| 72 | MrSID driver: |
| 73 | * fix potential crash when a zoom level cannot be opened |
| 74 | |
| 75 | netCDF driver: |
| 76 | * avoid inappropriate shift by -360 when attribute axis=X is set (#1440) |
| 77 | |
| 78 | NITF driver: |
| 79 | * fix parsing of SENSRB TRE (#1520) |
| 80 | |
| 81 | PDF driver: |
| 82 | * avoid possible assertion in PDFium backend on corrupted files |
| 83 | |
| 84 | PDS3 driver: |
| 85 | * add support for ENCODING_TYPE=DCT_DECOMPRESSED (#1457) |
| 86 | |
| 87 | RS2 driver: |
| 88 | * add half-pixel shift to reported GCP line and column numbers (#1666) |
| 89 | |
| 90 | VRT driver: |
| 91 | * Python pixel functions: also probe libpython3.Xm.so.1.0 (#1660) |
| 92 | |
| 93 | WMS driver: |
| 94 | * use proper JSon parsing for ESRI MapServer document (#1416) |
| 95 | |
| 96 | XYZ driver: |
| 97 | * fix regression regarding header lines that are not X,Y,Z (#1472) |
| 98 | |
| 99 | == OGR core == |
| 100 | |
| 101 | * segmentize(): fix 2.4.1 regression when 2 points are really close compared to the segmentizatin distance (#1414). Also handle the M dimension |
| 102 | * RawDataset: use generic RasterIO() implementation when non-nearest resampling is asked (#1301) |
| 103 | |
| 104 | == OGR utilities == |
| 105 | |
| 106 | * ogrmerge.py: add shared='1' to speed-up -single mode with many layers |
| 107 | |
| 108 | == OGR drivers == |
| 109 | |
| 110 | EEDA driver: |
| 111 | * Switch to v1alpha API |
| 112 | |
| 113 | ElasticSearch driver: |
| 114 | * set 'application/json' in RunRequest() with POST (#1628) |
| 115 | * GeoJSON type field should be mapped as text in ES>=5 |
| 116 | * Fix _mapping url |
| 117 | |
| 118 | FileGDB/OpenFileGDB: |
| 119 | * be robust when winding order of outer ring is incorrect (#1369) |
| 120 | |
| 121 | GeoJSON driver: |
| 122 | * fix recognizing some documents with members sorted alphabetically (#1537) |
| 123 | * avoid SetFeature() to repeat first feature when looping over features (#1687) |
| 124 | |
| 125 | GeoJSONSeq driver: |
| 126 | * be more robust to invalid objects, and fixes performance issue on corrupted files. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13770. |
| 127 | |
| 128 | GML driver: |
| 129 | * GML/WFS: add minimum support for 'hexBinary' type (as string) (#1375) |
| 130 | |
| 131 | GMLAS driver: |
| 132 | * avoid null pointer dereference on some schemas |
| 133 | * do not use space as separator for schema filename in XSD open option (#1452) |
| 134 | |
| 135 | GMT: |
| 136 | * use file extension based detection to accept files without header (#1461) |
| 137 | |
| 138 | GPKG driver: |
| 139 | * change default value of OGR_GPKG_FOREIGN_KEY_CHECK to NO, so as to avoid issues in downstream software |
| 140 | * insert more accurate spatial extent in gpkg_contents |
| 141 | * fix memory leak in case of corrupted database. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14683. |
| 142 | * set sqlite3_busy_timeout, handle SQLITE_BUSY during tile read (#1370) |
| 143 | |
| 144 | PDS driver: |
| 145 | * fix heap-buffer-overflow in error code path. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14512. |
| 146 | |
| 147 | PLScenes driver: |
| 148 | * plscenesconf.json: add missing fields for PSOrthoTile |
| 149 | |
| 150 | PostgreSQL driver: |
| 151 | * do not attempt to create VARCHAR(n) columns with n >= 10485760 (#1508) |
| 152 | |
| 153 | Shapefile driver: |
| 154 | * better deal with empty .shp+.shx and SHAPE_RESTORE_SHX (#1525) |
| 155 | * launder layer name to get Windows compatible filename |
| 156 | * DeleteLayer(): make it delete .cpg, .sbn, .sbx, .qpj and other sidecar files (#1405) |
| 157 | |
| 158 | WaSP driver: |
| 159 | * on creation, make sure the layer geometry type set on the feature definition is wkbLineString25D |
| 160 | |
| 161 | WFS3 driver: |
| 162 | * handle paging wth missing type for rel:next, and better deal with user:pwd in URL |
| 163 | * use 'id' attribute of collection items, if 'name' not available |