Skip to content

Commit

Permalink
Prepare for GDAL 3.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Jan 8, 2020
1 parent fe86507 commit 069efa1
Show file tree
Hide file tree
Showing 9 changed files with 144 additions and 13 deletions.
4 changes: 2 additions & 2 deletions CITATION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
To cite GDAL/OGR in publications use:

GDAL/OGR contributors (2018). GDAL/OGR Geospatial Data Abstraction
GDAL/OGR contributors (2020). GDAL/OGR Geospatial Data Abstraction
software Library. Open Source Geospatial Foundation. URL http://gdal.org

A BibTeX entry for LaTeX users is
Expand All @@ -9,6 +9,6 @@ A BibTeX entry for LaTeX users is
title = {{GDAL/OGR} Geospatial Data Abstraction software Library},
author = {{GDAL/OGR contributors}},
organization = {Open Source Geospatial Foundation},
year = {2018},
year = {2020},
url = {http://gdal.org},
}
2 changes: 1 addition & 1 deletion gdal/GDALmake.opt.in
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ GDAL_INCLUDE = -I$(GDAL_ROOT)/port -I$(GDAL_ROOT)/gcore \
# libtool targets and help variables
LIBGDAL := libgdal.la
LIBGDAL_CURRENT := 26
LIBGDAL_REVISION := 2
LIBGDAL_REVISION := 3
LIBGDAL_AGE := 0

# native build targets and variables
Expand Down
133 changes: 132 additions & 1 deletion gdal/NEWS
Original file line number Diff line number Diff line change
@@ -1,10 +1,141 @@
= Release Notes =
= GDAL/OGR 3.0.3 Release Notes =

The 3.0.3 release is a bug fix release.

== Build ==

* Fix build against Poppler 0.83
* Unix build: do not use absolute path in linking command (#2075)
* Windows build: add HDF5_H5_IS_DLL variable to switch the scenario when HDF5 is built as a DLL (#1931)
* MacOSX builds: Removed unnecessary header include and changed strnlen to CPLStrnlen (#1920)

== Port ==

* /vsicurl (and derived filesystems): fix concurrency issue with multithreaded reads (#1244)

== Algorithms ==

* Contour algorithm: fix (over) precision issue when comparing pixel value to NoData on Float32 rasters (#1987)
* Multithreaded warper: make sure a transformer object is used by the thread which created it (#1989). This workarounds a PROJ bug also fixed per https://github.com/OSGeo/PROJ/pull/1726
* GDALFillNodata: fix crash when smooth_iterations is used, and with some progress functions such as the one used by Python (#1184)

== GDAL core ==

* Block cache: fix corruption on multithreaded write on datasets (#2011)
* GDALUnrolledCopy<GByte,2,1>: fix SSE2-only implementation (when SSSE3 is not available)

== GDAL utilities ==

* gdal2tiles: update cache calculation (#2020)

== GDAL drivers ==

BYN driver:
* based on spec & content of .byn files, fix nodata value for Int32 encoded products

COASP driver:
* fix crash on invalid filename. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19740

IRIS driver:
* make identification more restrictive to avoid false-positive identification of raw binary formats such as ENVI (#1961)

GRIB driver:
* do not do erroneous K->C unit conversion for derived forecasts whose content is not a temperature, but a derived quantity, such as spread
* update GRIB tables to degrib 2.24
* add missing entries in MeteoAtmoChem table
* add more values from Table 4.5 in Surface type table
* add support for template 4.48 Optical Properties of Aerosol
* avoid erroneous K->C conversion for Dew point depression

GTiff driver:
* Do not write TOWGS84 that come from EPSG codes, unless GTIFF_WRITE_TOWGS84=YES is explicitly set
* internal libtiff: tif_ojpeg.c: fix regression of https://gitlab.com/libtiff/libtiff/issues/172

HFA driver:
* fix writing of compressed file when a RLE run count is in the [0x4000,0x8000[ range or [0x400000, 0x800000[ (#2150)

PDF driver:
* fix crash on corrupted file. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19098
* fix use-after-free on some corrupted PDF files. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19400

PDS driver:
* fix opening of datasets with BSQ organization (or single band), where one band is larger than 2 GB (2.3 regression)
* nasakeywordhandler: fixes to be able to read some labels with metadata items whose value is a list on several lines

VRT driver:
* Python support: add Python 3.8 compatibility
* VRT warp: do not fail if a block has no corresponding source pixels (#1985)
* fix requesting a downsampling version of the mask band of a source that has masks and overviews
* avoid Invalid-enum-value behaviour. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19391

WMS driver:
* [AGS]: Remove unused parameters from url

== OGR core ==

* OGRLinearRing::isPointOnRingBoundary(): fix incomplete test that could falsely return true if the point was aligned with a segment, but not between the nodes. Impact correct reconstruction of holes in shapefile driver
* OGRGeometryFactory::ForceTo(): fix crash when forcing a MultiPolygon Z/M/ZM to a CompoundCurve (#2120)
* SQLite dialect: fix issue when using JOIN on a layer without fast filter count capability

== OGR spatial reference ==

* Revise how SRS methods deal with TOWGS84:
- no longer attach a TOWGS84 transformation, unless the user sets the OSR_ADD_TOWGS84_ON_IMPORT_FROM_EPSG=YES configuration option
- Add a OGRSpatialReference::AddGuessedTOWGS84() to attach such a transformation, when possible.
- exportToProj4(): if the SRS has no transformation to WGS84, attach a +towgs84 if the SRS has a EPSG code and AddGuessedToWGS84() succeeds. Can be disabled with the OSR_ADD_TOWGS84_ON_EXPORT_TO_PROJ4 = NO configuration option.
- exportToWkt() with WKT1 format: Add a OSR_ADD_TOWGS84_ON_EXPORT_TO_WKT1 = YES/NO configuration option, which defaults to NO. If set to YES, then a transformation to WGS84 using AddGuessedToWGS84() logic is researched to add a TOWGS84[] node.
* Fix use-after-free issue when destroying a OGRSpatialReference object in a thread when another thread has created it but has been destroy in-between
* Add a OSRGetPROJSearchPaths() function and a SWIG osr.GetPROJVersionMicro()
* Coordinate transformation: add a OSR_CT_USE_DEFAULT_EPSG_TOWGS84 configuration option that can be set to YES to explicit honour default TOWGS84 terms of a EPSG code
* Coordinate transformation: add a OGR_CT_OP_SELECTION=PROJ/BEST_ACCURACY/FIRST_MATCHING config option. With PROJ >= 6.3, make PROJ the default. Otherwise default to BEST_ACCURACY. Previous behaviour was FIRST_MATCHING. BEST_ACCURACY matches closely the behaviour of PROJ 6.3.0, except that it is evaluated just once per call to OGRProjCT::Transform()
* PROJ logging: distinguish PROJ and PROJ_TRACE debug keys for respectively PROJ DEBUG and TRACE levels

== OGR utilities ==

* ogrinfo: fix to output WKT2 SRS by default. Was done correctly for several geometry column, but not single one

== OGR drivers ==

CAD driver:
* Fix read ellipse and arc (fix #1886)

DXF driver:
* fix handling of SPLINE whose first knot is at a very very close to zero negative (#1969)

ElasticSearch driver:
* translate constructs like CAST(field_name AS CHARACTER[(x)]) = 'foo' to ES query language

GeoJSON driver:
* on reading of a file that use crs.name = urn:ogc:def:crs:OGC:1.3:CRS84, report EPSG:4326 as we used to do in GDAL 2 (#2035)
* Advertise UTF-8 encoding of strings. In other words: the StringsAsUTF8 flag is TRUE (#2151).
* add a DATE_AS_STRING open option that can be set to YES to disable autodetection of date/time/datetime

GeoJSONSeq & TopoJSON drivers:
* avoid false positive detection and errors on unrelated http[s]:// filenames

MITAB driver:
* identify correctly GDA2020 datum (fixes https://github.com/OSGeo/PROJ/issues/1752)
* do not set (by default) TOWGS84 when reading a known Datum

OAPIF driver:
* avoid issues with double slash when building a /collections URL

Shapefile driver:
* identify a EPSG code if the confidence is >= 90. Fixes https://github.com/OSGeo/PROJ/issues/1799

VRT driver:
* set OAMS_TRADITIONAL_GIS_ORDER for LayerSRS (#1975)

XLSX driver:
* avoid Invalid-enum-value error. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19337

WFS driver:
* skip silently GeoServer EPSG:404000 dummy CRS

== Python bindings ==

* make the feature iterator on the layer call ResetReading()
* osgeo/__init__.py: add hint&workaround for ImportError on Windows Python >= 3.8

= GDAL/OGR 3.0.2 Release Notes =

Expand Down
2 changes: 1 addition & 1 deletion gdal/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.2
3.0.3
6 changes: 3 additions & 3 deletions gdal/gcore/gdal_version.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef GDAL_VERSION_MAJOR
# define GDAL_VERSION_MAJOR 3
# define GDAL_VERSION_MINOR 0
# define GDAL_VERSION_REV 2
# define GDAL_VERSION_REV 3
# define GDAL_VERSION_BUILD 0
#endif

Expand All @@ -24,9 +24,9 @@

#if !defined(DO_NOT_DEFINE_GDAL_RELEASE_DATE_AND_GDAL_RELEASE_NAME)
#ifndef GDAL_RELEASE_DATE
# define GDAL_RELEASE_DATE 20191028
# define GDAL_RELEASE_DATE 20200108
#endif
#ifndef GDAL_RELEASE_NAME
# define GDAL_RELEASE_NAME "3.0.2"
# define GDAL_RELEASE_NAME "3.0.3"
#endif
#endif
4 changes: 2 additions & 2 deletions gdal/swig/include/perl/gdal_perl.i
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ use Geo::GDAL::Const;
# Note that the 1/100000 digits may be used to create more than one
# CPAN release from one GDAL release.

our $VERSION = '3.0002';
our $GDAL_VERSION = '3.0.2';
our $VERSION = '3.0003';
our $GDAL_VERSION = '3.0.3';

=pod

Expand Down
2 changes: 1 addition & 1 deletion gdal/swig/include/perl/ogr_perl.i
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ ALTERED_DESTROY(OGRGeometryShadow, OGRc, delete_Geometry)
%perlcode %{

package Geo::OGR;
our $VERSION = '3.0002'; # this needs to be the same as that in gdal_perl.i
our $VERSION = '3.0003'; # this needs to be the same as that in gdal_perl.i

Geo::GDAL->import(qw(:INTERNAL));

Expand Down
2 changes: 1 addition & 1 deletion gdal/swig/python/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ reference documentation, but the `GDAL API Tutorial`_ includes Python examples.
Dependencies
------------

* libgdal (3.0.2 or greater) and header files (gdal-devel)
* libgdal (3.0.3 or greater) and header files (gdal-devel)
* numpy (1.0.0 or greater) and header files (numpy-devel) (not explicitly
required, but many examples and utilities will not work without it)

Expand Down
2 changes: 1 addition & 1 deletion gdal/swig/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Howard Butler hobu.inc@gmail.com


gdal_version = '3.0.2'
gdal_version = '3.0.3'

import sys
import os
Expand Down

0 comments on commit 069efa1

Please sign in to comment.