Summary of upstream NEWS: * many bug fixes == Major changes in 3.x * Implement RFC 73: Integration of PROJ6 for WKT2, late binding capabilities, time-support and unified CRS database. PROJ >= 6 is now a build requirement https://trac.osgeo.org/gdal/wiki/rfc73_proj6_wkt2_srsbarn * New GDAL drivers: - DAAS: read driver for Airbus DS Intelligence Data As A Service - TileDB: read/write driver for https://www.tiledb.io (#1402) * New OGR drivers: - MongoDBv3: read/write driver using libmongocxx v3.4.0 client (for MongoDB >= 4.0) * Improved drivers: - FITS: read/write support for scale, offset and CRS - netCDF: read support for groups - PDF: add a COMPOSITION_FILE creation option to generate a complex document - PDS4: subdataset creation support, read/write table/vector support * Support for minimal builds on Unix (#1250) * Add a docker/ directory with Dockerfile for different configurations * Continued code linting == New installed files == * Resource file: pdfcomposition.xsd == Removed installed files == * Removal of resource files related to EPSG and ESRI CRS databases: compdcs.csv, coordinate_axis.csv, datum_shift.csv, ellipsoid.csv, esri_epsg.wkt, esri_extra.wkt, esri_Wisconsin_extra.wkt, gcs.csv, gcs.override.csv, gdal_datum.csv, geoccs.csv, pcs.csv, pcs.override.csv, prime_meridian.csv, projop_wparm.csv, unit_of_measure.csv, vertcs.csv, vertcs.override.csv == Backward compatibility issues == MIGRATION GUIDE FROM GDAL 2.4 to GDAL 3.0 ----------------------------------------- - Substantial changes, sometimes backward incompatible, in coordinate reference system and coordinate transformations have been introduced per https://trac.osgeo.org/gdal/wiki/rfc73_proj6_wkt2_srsbarn * OSRImportFromEPSG() takes into account official axis order. Traditional GIS-friendly axis order can be restored with OGRSpatialReference::SetAxisMappingStrategy(OAMS_TRADITIONAL_GIS_ORDER); * Same for SetWellKnownGeogCS("WGS84") / SetFromUserInput("WGS84") * removal of OPTGetProjectionMethods(), OPTGetParameterList() and OPTGetParameterInfo() No equivalent. * removal of OSRFixup() and OSRFixupOrdering(): no longer needed since objects constructed are always valid * removal of OSRStripCTParms(). Use OSRExportToWktEx() instead with the FORMAT=SQSQL option * exportToWkt() outputs AXIS nodes * OSRIsSame(): now takes into account data axis to CRS axis mapping, unless IGNORE_DATA_AXIS_TO_SRS_AXIS_MAPPING=YES is set as an option to OSRIsSameEx() * ogr_srs_api.h: SRS_WKT_WGS84 macro is no longer declared by default since WKT without AXIS is too ambiguous. Preferred remediation: use SRS_WKT_WGS84_LAT_LONG. Or #define USE_DEPRECATED_SRS_WKT_WGS84 before including ogr_srs_api.h == GDAL/OGR 3.0.0 - General Changes == * PROJ >= 6.0 is a required external dependency * libgeotiff >= 1.5 should be used for builds with external libgeotiff
36 lines
1.2 KiB
Text
36 lines
1.2 KiB
Text
# $NetBSD: Makefile.common,v 1.9 2020/04/28 23:50:03 gdt Exp $
|
|
#
|
|
# used by geography/gdal-lib/Makefile
|
|
# used by geography/py-gdal/Makefile
|
|
|
|
VERSION= 3.0.4
|
|
DISTNAME= gdal-${VERSION}
|
|
CATEGORIES= geography
|
|
MASTER_SITES= http://download.osgeo.org/gdal/${PKGVERSION_NOREV}/
|
|
|
|
MAINTAINER= gdt@NetBSD.org
|
|
#MAINTAINER+= brook@nmsu.edu
|
|
|
|
PATCHDIR= ${.CURDIR}/../../geography/gdal-lib/patches
|
|
DISTINFO_FILE= ${.CURDIR}/../../geography/gdal-lib/distinfo
|
|
|
|
CHECK_PORTABILITY_SKIP+= mkbindist.sh
|
|
|
|
USE_TOOLS+= gmake pkg-config
|
|
USE_LANGUAGES= c99 c++
|
|
USE_LIBTOOL= yes
|
|
USE_PKGLOCALEDIR= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-geos
|
|
CONFIGURE_ARGS+= --with-libjson-c=internal
|
|
CONFIGURE_ARGS+= --with-libtiff=${BUILDLINK_PREFIX.tiff}
|
|
CONFIGURE_ARGS+= --with-libz=${BUILDLINK_PREFIX.zlib}/include
|
|
CONFIGURE_ARGS+= --with-netcdf=${BUILDLINK_PREFIX.netcdf}
|
|
CONFIGURE_ARGS+= --with-webp=${BUILDLINK_PREFIX.libwebp}
|
|
CONFIGURE_ARGS+= --with-xerces
|
|
CONFIGURE_ARGS+= --with-xerces-inc=${BUILDLINK_PREFIX.xerces-c}/include
|
|
CONFIGURE_ARGS+= --with-xerces-lib=-L${BUILDLINK_PREFIX.xerces-c}/lib\ -lxerces-c
|
|
|
|
# force OpenJPEG for JPEG 2000 support
|
|
CONFIGURE_ARGS+= --without-jasper
|
|
CONFIGURE_ARGS+= --with-openjpeg
|