pkgsrc/geography/proj/Makefile

38 lines
1,005 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.10 2018/06/01 23:41:31 gdt Exp $
VERSION_BASE= 5.1.0
VERSION_RC=
VERSION= ${VERSION_BASE}${VERSION_RC}
# proj RCs have names like 5.1.0RC1 but unpack to 5.1.0
Update to 4.9.1 Note that this changes the shlib version from 0.8 to 9.0. While that's bizarre, upstream does not view it as a bug. (Note that 4.9.0 had an RC but not an actual release.) Changes from 4.8.0: 4.9.1 Release Notes ------------------- o 4.9.0RC2 release was abandoned because it was not promoted in a timely fashion. Subsequent maintenance of tickets has continued, and a new 4.9.1 release was issued in its place. o Implement inverse solution for Winkel Tripel from Drazan Tutic #250 o More CMake configuration tweaks. The CMake configuration is probably not at feature parity with the autotools builds at this point but it is converging #256 o Tweak initialization ordering around setlocal which may have caused issues #237 o Support out-of-tree autoconf builds more completely #247 o Fix NaN handling by geod_inverse and geod_polygon_addedge #251 & #253 o Update config.sub and config.guess #257 o Adapt Charles Karney's CMake patches for smoother build #258 o Define default PROJ_LIB location for CMake compilation #261 o Fix Windows compilation on PJ_aitoff.c o Align CMake SOVERSION with autotools #263 o Regenerate nad/epsg with GDAL r28536 to avoid precision loss in TOWGS84 parameters, e.g. on Amersfoort / RD EPSG:4289 (#260) o Add CMake project-config.cmake scripts (#264 from Charles Karney) o Dial back test sensitivity #255 4.9.0 Release Notes ------------------- o Implement CMake as an option for building PROJ.4 o Implement new virtual file api (projFileAPI) so that all access to grid shift and init files can be hooked. o Replace geodesic implementation with one from Charles Karney and add a supported public interface (geodesic.h). o Upgraded to EPSG 8.5. o Removed old (deprecated) Java bindings in favor of the new api introduced in 4.8.0. o Implement the calcofi (Cal Coop Ocean Fish Invest Lines/Stations) projection o Install projects.h again for applications that want access to internal structures and functions despite the inherent fragility. o Various bug fixes and cleanup. o Added the CalCOFI pseudo-projection, #135
2015-03-14 18:59:10 +01:00
WRKSRC= ${WRKDIR}/proj-${VERSION_BASE}
DISTNAME= proj-${VERSION}
CATEGORIES= geography
proj: Update to 5.0.0 5.0.0 Release Notes ------------------- This version of PROJ introduces some significant extensions and improvements to (primarily) the geodetic functionality of the system. The main driver for introducing the new features is the emergence of dynamic reference frames, the increasing use of high accuracy GNSS, and the related growing demand for accurate coordinate transformations. While older versions of PROJ included some geodetic functionality, the new framework lays the foundation for turning PROJ into a generic geospatial coordinate transformation engine. [see upstream NEWS] UPDATES ------- o Introduced new API in proj.h. - The new API is orthogonal to the existing proj_api.h API and the internally used projects.h API. - The new API adds the ability to transform spatiotemporal (4D) coordinates. - Functions in the new API use the "proj_" namespace. - Data types in the new API use the "PJ_" namespace, with a few historic exceptions such as XY, XYZ, LP and LPZ. o Introduced the concept of "transformation pipelines" that makes it possible to do complex geodetic transformations of spatiotemporal coordinates by daisy chaining simple coordinate operations. o Introduced cct, the Coordinate Conversion and Transformation application. o Introduced gie, the Geospatial Integrity Investigation Environment. - Selftest invoked by -C flag in proj has been removed - Ported approx. 1300 built-in selftests to gie format - Ported approx. 1000 tests from the gigs test framework - Added approx. 200 new tests o Adopted terminology from the OGC/ISO-19100 geospatial standards series. Key definitions are: - At the most generic level, a *coordinate operation* is a change of coordinates, based on a one-to-one relationship, from one coordinate reference system to another. - A *transformation* is a coordinate operation in which the two coordinate reference systems are based on different datums, e.g. a change from a global reference frame to a regional frame. - A *conversion* is a coordinate operation in which both coordinate reference systems are based on the same datum, e.g. change of units of coordinates. - A *projection* is a coordinate conversion from an ellipsoidal coordinate system to a plane. Although projections are simply conversions according to the standard, they are treated as separate entities in PROJ as they make up the vast majority of operations in the library. o New operations: - The pipeline operator (pipeline) - Transformations: + Helmert transform (helmert) + Horner real and complex polynomial evaluation (horner) + Horizontal gridshift (hgridshift) + Vertical gridshift (vgridshift) + Molodensky transform (molodensky) + Kinematic gridshift with deformation model (deformation) - Conversions: + Unit conversion (unitconvert) + Axis swap (axisswap) - Projections: + Central Conic projection (ccon) o Significant documentation updates, including - Overhaul of the structure of the documentation - A better introduction to the use of PROJ - A complete reference to the new proj.h API - a complete rewrite of the section on geodesic calculations - Figures for all projections o New "free format" option for operation definitions, which permits separating tokens by whitespace when specifying key/value- pairs, e.g. "proj = merc lat_0 = 45". o Added metadata to init-files that can be read with the proj_init_info() function in the new proj.h API. o Added ITRF2000, ITRF2008 and ITRF2014 init-files with ITRF transformation parameters, including plate motion model parameters. o Added ellipsoid parameters for GSK2011, PZ90 and "danish". The latter is similar to the already supported andrae ellipsoid, but has a slightly different semimajor axis. o Added Copenhagen prime meridian. o Updated EPSG database to version 9.2.0. o Geodesic library updated to version 1.49.2-c. o Support for analytical partial derivatives has been removed. o Improved performance in Winkel Tripel and Aitoff. o Introduced pj_has_inverse() function to proj_api.h. Checks if an operation has an inverse. Use this instead of checking whether P->inv exists, since that can no longer be relied on. o ABI version number updated to 13:0:0. o Removed support for Windows CE. o Removed the VB6 COM interface. BUG FIXES ------------ [various] DEPRECATIONS ------------ [see upstream NEWS]
2018-03-02 01:53:24 +01:00
MASTER_SITES= https://download.osgeo.org/proj/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} proj-datumgrid-1.7${EXTRACT_SUFX}
MAINTAINER= gdt@NetBSD.org
proj: Update to 5.0.0 5.0.0 Release Notes ------------------- This version of PROJ introduces some significant extensions and improvements to (primarily) the geodetic functionality of the system. The main driver for introducing the new features is the emergence of dynamic reference frames, the increasing use of high accuracy GNSS, and the related growing demand for accurate coordinate transformations. While older versions of PROJ included some geodetic functionality, the new framework lays the foundation for turning PROJ into a generic geospatial coordinate transformation engine. [see upstream NEWS] UPDATES ------- o Introduced new API in proj.h. - The new API is orthogonal to the existing proj_api.h API and the internally used projects.h API. - The new API adds the ability to transform spatiotemporal (4D) coordinates. - Functions in the new API use the "proj_" namespace. - Data types in the new API use the "PJ_" namespace, with a few historic exceptions such as XY, XYZ, LP and LPZ. o Introduced the concept of "transformation pipelines" that makes it possible to do complex geodetic transformations of spatiotemporal coordinates by daisy chaining simple coordinate operations. o Introduced cct, the Coordinate Conversion and Transformation application. o Introduced gie, the Geospatial Integrity Investigation Environment. - Selftest invoked by -C flag in proj has been removed - Ported approx. 1300 built-in selftests to gie format - Ported approx. 1000 tests from the gigs test framework - Added approx. 200 new tests o Adopted terminology from the OGC/ISO-19100 geospatial standards series. Key definitions are: - At the most generic level, a *coordinate operation* is a change of coordinates, based on a one-to-one relationship, from one coordinate reference system to another. - A *transformation* is a coordinate operation in which the two coordinate reference systems are based on different datums, e.g. a change from a global reference frame to a regional frame. - A *conversion* is a coordinate operation in which both coordinate reference systems are based on the same datum, e.g. change of units of coordinates. - A *projection* is a coordinate conversion from an ellipsoidal coordinate system to a plane. Although projections are simply conversions according to the standard, they are treated as separate entities in PROJ as they make up the vast majority of operations in the library. o New operations: - The pipeline operator (pipeline) - Transformations: + Helmert transform (helmert) + Horner real and complex polynomial evaluation (horner) + Horizontal gridshift (hgridshift) + Vertical gridshift (vgridshift) + Molodensky transform (molodensky) + Kinematic gridshift with deformation model (deformation) - Conversions: + Unit conversion (unitconvert) + Axis swap (axisswap) - Projections: + Central Conic projection (ccon) o Significant documentation updates, including - Overhaul of the structure of the documentation - A better introduction to the use of PROJ - A complete reference to the new proj.h API - a complete rewrite of the section on geodesic calculations - Figures for all projections o New "free format" option for operation definitions, which permits separating tokens by whitespace when specifying key/value- pairs, e.g. "proj = merc lat_0 = 45". o Added metadata to init-files that can be read with the proj_init_info() function in the new proj.h API. o Added ITRF2000, ITRF2008 and ITRF2014 init-files with ITRF transformation parameters, including plate motion model parameters. o Added ellipsoid parameters for GSK2011, PZ90 and "danish". The latter is similar to the already supported andrae ellipsoid, but has a slightly different semimajor axis. o Added Copenhagen prime meridian. o Updated EPSG database to version 9.2.0. o Geodesic library updated to version 1.49.2-c. o Support for analytical partial derivatives has been removed. o Improved performance in Winkel Tripel and Aitoff. o Introduced pj_has_inverse() function to proj_api.h. Checks if an operation has an inverse. Use this instead of checking whether P->inv exists, since that can no longer be relied on. o ABI version number updated to 13:0:0. o Removed support for Windows CE. o Removed the VB6 COM interface. BUG FIXES ------------ [various] DEPRECATIONS ------------ [see upstream NEWS]
2018-03-02 01:53:24 +01:00
HOMEPAGE= http://proj4.org/
COMMENT= Cartographic projection software
LICENSE= mit
PREV_PKGPATH= misc/proj
USE_LIBTOOL= yes
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
TEST_TARGET= check
proj: Update to 5.0.0 5.0.0 Release Notes ------------------- This version of PROJ introduces some significant extensions and improvements to (primarily) the geodetic functionality of the system. The main driver for introducing the new features is the emergence of dynamic reference frames, the increasing use of high accuracy GNSS, and the related growing demand for accurate coordinate transformations. While older versions of PROJ included some geodetic functionality, the new framework lays the foundation for turning PROJ into a generic geospatial coordinate transformation engine. [see upstream NEWS] UPDATES ------- o Introduced new API in proj.h. - The new API is orthogonal to the existing proj_api.h API and the internally used projects.h API. - The new API adds the ability to transform spatiotemporal (4D) coordinates. - Functions in the new API use the "proj_" namespace. - Data types in the new API use the "PJ_" namespace, with a few historic exceptions such as XY, XYZ, LP and LPZ. o Introduced the concept of "transformation pipelines" that makes it possible to do complex geodetic transformations of spatiotemporal coordinates by daisy chaining simple coordinate operations. o Introduced cct, the Coordinate Conversion and Transformation application. o Introduced gie, the Geospatial Integrity Investigation Environment. - Selftest invoked by -C flag in proj has been removed - Ported approx. 1300 built-in selftests to gie format - Ported approx. 1000 tests from the gigs test framework - Added approx. 200 new tests o Adopted terminology from the OGC/ISO-19100 geospatial standards series. Key definitions are: - At the most generic level, a *coordinate operation* is a change of coordinates, based on a one-to-one relationship, from one coordinate reference system to another. - A *transformation* is a coordinate operation in which the two coordinate reference systems are based on different datums, e.g. a change from a global reference frame to a regional frame. - A *conversion* is a coordinate operation in which both coordinate reference systems are based on the same datum, e.g. change of units of coordinates. - A *projection* is a coordinate conversion from an ellipsoidal coordinate system to a plane. Although projections are simply conversions according to the standard, they are treated as separate entities in PROJ as they make up the vast majority of operations in the library. o New operations: - The pipeline operator (pipeline) - Transformations: + Helmert transform (helmert) + Horner real and complex polynomial evaluation (horner) + Horizontal gridshift (hgridshift) + Vertical gridshift (vgridshift) + Molodensky transform (molodensky) + Kinematic gridshift with deformation model (deformation) - Conversions: + Unit conversion (unitconvert) + Axis swap (axisswap) - Projections: + Central Conic projection (ccon) o Significant documentation updates, including - Overhaul of the structure of the documentation - A better introduction to the use of PROJ - A complete reference to the new proj.h API - a complete rewrite of the section on geodesic calculations - Figures for all projections o New "free format" option for operation definitions, which permits separating tokens by whitespace when specifying key/value- pairs, e.g. "proj = merc lat_0 = 45". o Added metadata to init-files that can be read with the proj_init_info() function in the new proj.h API. o Added ITRF2000, ITRF2008 and ITRF2014 init-files with ITRF transformation parameters, including plate motion model parameters. o Added ellipsoid parameters for GSK2011, PZ90 and "danish". The latter is similar to the already supported andrae ellipsoid, but has a slightly different semimajor axis. o Added Copenhagen prime meridian. o Updated EPSG database to version 9.2.0. o Geodesic library updated to version 1.49.2-c. o Support for analytical partial derivatives has been removed. o Improved performance in Winkel Tripel and Aitoff. o Introduced pj_has_inverse() function to proj_api.h. Checks if an operation has an inverse. Use this instead of checking whether P->inv exists, since that can no longer be relied on. o ABI version number updated to 13:0:0. o Removed support for Windows CE. o Removed the VB6 COM interface. BUG FIXES ------------ [various] DEPRECATIONS ------------ [see upstream NEWS]
2018-03-02 01:53:24 +01:00
# \todo Ideally, the files would be unpacked directly in nad.
DATUMGRID_FILES= \
proj: Update to 5.0.0 5.0.0 Release Notes ------------------- This version of PROJ introduces some significant extensions and improvements to (primarily) the geodetic functionality of the system. The main driver for introducing the new features is the emergence of dynamic reference frames, the increasing use of high accuracy GNSS, and the related growing demand for accurate coordinate transformations. While older versions of PROJ included some geodetic functionality, the new framework lays the foundation for turning PROJ into a generic geospatial coordinate transformation engine. [see upstream NEWS] UPDATES ------- o Introduced new API in proj.h. - The new API is orthogonal to the existing proj_api.h API and the internally used projects.h API. - The new API adds the ability to transform spatiotemporal (4D) coordinates. - Functions in the new API use the "proj_" namespace. - Data types in the new API use the "PJ_" namespace, with a few historic exceptions such as XY, XYZ, LP and LPZ. o Introduced the concept of "transformation pipelines" that makes it possible to do complex geodetic transformations of spatiotemporal coordinates by daisy chaining simple coordinate operations. o Introduced cct, the Coordinate Conversion and Transformation application. o Introduced gie, the Geospatial Integrity Investigation Environment. - Selftest invoked by -C flag in proj has been removed - Ported approx. 1300 built-in selftests to gie format - Ported approx. 1000 tests from the gigs test framework - Added approx. 200 new tests o Adopted terminology from the OGC/ISO-19100 geospatial standards series. Key definitions are: - At the most generic level, a *coordinate operation* is a change of coordinates, based on a one-to-one relationship, from one coordinate reference system to another. - A *transformation* is a coordinate operation in which the two coordinate reference systems are based on different datums, e.g. a change from a global reference frame to a regional frame. - A *conversion* is a coordinate operation in which both coordinate reference systems are based on the same datum, e.g. change of units of coordinates. - A *projection* is a coordinate conversion from an ellipsoidal coordinate system to a plane. Although projections are simply conversions according to the standard, they are treated as separate entities in PROJ as they make up the vast majority of operations in the library. o New operations: - The pipeline operator (pipeline) - Transformations: + Helmert transform (helmert) + Horner real and complex polynomial evaluation (horner) + Horizontal gridshift (hgridshift) + Vertical gridshift (vgridshift) + Molodensky transform (molodensky) + Kinematic gridshift with deformation model (deformation) - Conversions: + Unit conversion (unitconvert) + Axis swap (axisswap) - Projections: + Central Conic projection (ccon) o Significant documentation updates, including - Overhaul of the structure of the documentation - A better introduction to the use of PROJ - A complete reference to the new proj.h API - a complete rewrite of the section on geodesic calculations - Figures for all projections o New "free format" option for operation definitions, which permits separating tokens by whitespace when specifying key/value- pairs, e.g. "proj = merc lat_0 = 45". o Added metadata to init-files that can be read with the proj_init_info() function in the new proj.h API. o Added ITRF2000, ITRF2008 and ITRF2014 init-files with ITRF transformation parameters, including plate motion model parameters. o Added ellipsoid parameters for GSK2011, PZ90 and "danish". The latter is similar to the already supported andrae ellipsoid, but has a slightly different semimajor axis. o Added Copenhagen prime meridian. o Updated EPSG database to version 9.2.0. o Geodesic library updated to version 1.49.2-c. o Support for analytical partial derivatives has been removed. o Improved performance in Winkel Tripel and Aitoff. o Introduced pj_has_inverse() function to proj_api.h. Checks if an operation has an inverse. Use this instead of checking whether P->inv exists, since that can no longer be relied on. o ABI version number updated to 13:0:0. o Removed support for Windows CE. o Removed the VB6 COM interface. BUG FIXES ------------ [various] DEPRECATIONS ------------ [see upstream NEWS]
2018-03-02 01:53:24 +01:00
BETA2007.gsb FL MD README.DATUMGRID TN WI WO alaska conus \
egm96_15.gtx hawaii ntf_r93.gsb ntv1_can.dat null \
nzgd2kgrid0005.gsb prvi stgeorge stlrnc stpaul
post-extract:
Update to 4.9.1 Note that this changes the shlib version from 0.8 to 9.0. While that's bizarre, upstream does not view it as a bug. (Note that 4.9.0 had an RC but not an actual release.) Changes from 4.8.0: 4.9.1 Release Notes ------------------- o 4.9.0RC2 release was abandoned because it was not promoted in a timely fashion. Subsequent maintenance of tickets has continued, and a new 4.9.1 release was issued in its place. o Implement inverse solution for Winkel Tripel from Drazan Tutic #250 o More CMake configuration tweaks. The CMake configuration is probably not at feature parity with the autotools builds at this point but it is converging #256 o Tweak initialization ordering around setlocal which may have caused issues #237 o Support out-of-tree autoconf builds more completely #247 o Fix NaN handling by geod_inverse and geod_polygon_addedge #251 & #253 o Update config.sub and config.guess #257 o Adapt Charles Karney's CMake patches for smoother build #258 o Define default PROJ_LIB location for CMake compilation #261 o Fix Windows compilation on PJ_aitoff.c o Align CMake SOVERSION with autotools #263 o Regenerate nad/epsg with GDAL r28536 to avoid precision loss in TOWGS84 parameters, e.g. on Amersfoort / RD EPSG:4289 (#260) o Add CMake project-config.cmake scripts (#264 from Charles Karney) o Dial back test sensitivity #255 4.9.0 Release Notes ------------------- o Implement CMake as an option for building PROJ.4 o Implement new virtual file api (projFileAPI) so that all access to grid shift and init files can be hooked. o Replace geodesic implementation with one from Charles Karney and add a supported public interface (geodesic.h). o Upgraded to EPSG 8.5. o Removed old (deprecated) Java bindings in favor of the new api introduced in 4.8.0. o Implement the calcofi (Cal Coop Ocean Fish Invest Lines/Stations) projection o Install projects.h again for applications that want access to internal structures and functions despite the inherent fragility. o Various bug fixes and cleanup. o Added the CalCOFI pseudo-projection, #135
2015-03-14 18:59:10 +01:00
cd ${WRKDIR} && ${LN} ${DATUMGRID_FILES} ${WRKSRC}/nad
2015-03-14 19:52:30 +01:00
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"