Releases: OSGeo/PROJ
PROJ 7.1.0
Updates
-
New projections:
o Add square conformal projections from libproject:
- Adams Hemisphere in a Square
- Adams World in a Square I
- Adams World in a Square II
- Guyou
- Pierce Quincuncial
(#2148)
o Adams Square II: map ESRI WKT to PROJ string, and implement iterative
inverse method (#2157)o Added IGH Oceanic View projection (#2226)
o Add wink2 inverse by generic inversion of forward method (#2243)
-
Database:
o Update to EPSG 9.8.12, ESRI 10.8.1 and import scope and remarks for
conversion (#2238) (#2267)o Map the Behrman projection to cae when converting ESRI CRSes (#1986)
o Support conversion of Flat_Polar_Quartic projection method (#1987)
o Register 4 new Austrian height grids (see OSGeo/PROJ-data#13)
and handle 'Vertical Offset by Grid Interpolation (BEV AT)' method (#1989)o Add ESRI projection method mappings for Mercator_Variant_A, Mercator_Variant_B
and Transverse_Cylindrical_Equal_Area and various grid mappings (#2020) (#2195)o Map ESRI Transverse_Mercator_Complex to Transverse Mercator (#2040)
o Register grids for New Caledonia (see OSGeo/PROJ-data#16) (#2051) (#2239)
o Register NZGD2000 -> ITRF96 transformation for NZGD2000 database (#2248)
o Register geoid file for UK added
(see https://github.com/OSGeo//PROJ-data/pull/25() (#2250)o Register Slovakian geoid transformations with needed code changes (#2259)
o Register Spanish SPED2ETV2 grid for ED50->ETRS89 (#2261)
-
API:
o Add API function proj_get_units_from_database() (#2065)
o Add API function proj_get_suggested_operation() (#2068)
o Add API functions proj_degree_input() and proj_degree_output() (#2144)
o Moved proj_context_get_url_endpoint & proj_context_get_user_writable_directory
from proj_experimental.h to proj.h (#2162)o createFromUserInput(): allow compound CRS with the 2 parts given by names,
e.g. 'WGS 84 + EGM96 height' (#2126)o createOperations(): when converting CompoundCRS<-->Geographic3DCrs, do not
use discard change of ellipsoidal height if a Helmert transformation is
involved (#2227)o proj_list_units() deprecated, superceeded by proj_get_units_from_database()
o proj_list_angular_units() deprecated, superceeded by proj_get_units_from_database()
-
Optimizations:
o tmerc/utm: add a +algo=auto/evenden_snyder/poder_engsager parameter (#2030)
o Extended tmerc (Poder/Engsager): speed optimizations (#2036)
o Approximate tmerc (Snyder): speed optimizations (#2039)
o pj_phi2(): speed-up computation (and thus inverse ellipsoidal Mercator and LCC) (#2052)
o Inverse cart: speed-up computation by 33% (#2145)
o Extended tmerc: speed-up forward path by ~5% (#2147)
-
Various:
o Follow PDAL's CMake RPATH strategy (#2009)
o WKT import/export: add support for WKT1_ESRI VERTCS synta (#2024)
o projinfo: add a --hide-ballpark option (#2127)
o gie: implement a strict mode with (#2168)
o Allow importing WKT1 COMPD_CS with a VERT_DATUM[Ellipsoid,2002] (#2229)
o Add runtime checking that sqlite3 is >= 3.11 (#2235)
Bug fixes
o createOperations(): do not remove ballpark transformation if there are only grid
based operations, even if they cover the whole area of use (#2155)
o createFromProjString(): handle default parameters of '+krovak +type=crs', and
handle +czech correctly (#2200)
o ProjectedCRS::identify(): fix identification of EPSG:3059 (#2215)
o Database: add a 'WGS84' alias for the EPSG:4326 CRS (#2218)
o Fixes related to CompoundCRS and BoundCRS (#2222)
o Avoid 2 warnings about missing database indices (#2223)
o Make projinfo --3d --boundcrs-to-wgs84 work better (#2224)
o Many fixes regarding BoundCRS, CompoundCRS, Geographic3D CRS with
non-metre units (#2234)
o Fix identification of (one of the) ESRI WKT formulations of EPSG:3035 (#2240)
o Avoid using deprecated and removed Windows API function with Mingw32 (#2246)
o normalizeForVisualization(): make it switch axis for EPSG:5482
(RSRGD2000 / RSPS2000) (#2256)
o Fix access violation in proj_context_get_database_metadata (#2260)
o Fail gracefully when calling API functions with invalid input (#2272)
PROJ 6.3.2
Bug fixes
o validateParameters(): fix false-positive warning on
Equidistant Cylindrical (#1947)
o proj_create_crs_to_crs(): avoid potential reprojection failures when
reprojecting area of use to source and target CRS (#1993)
o createOperations(): fix wrong pipeline generation with CRS that has +nadgrids=
and +pm= (#2003)
o Fix bad copy&replace pattern on HEALPix and rHEALPix projection names (#2006)
o createUnitOfMeasure(): use full double resolution for the conversion
factor (#2013)
o data/Makefile.am: remove bashism (#2047)
o ProjectedCRS::identify(): tune it to better work with ESRI WKT representation
of EPSG:2193 (#2058)
-
EngineeringCRS: when exporting to WKT1_GDAL, output unit and axis (#2091)
-
Add missing entries in grid_alternatives for Portugal grids coming from
ESRI entries (#2103) -
Fix working of Helmert transform between the horizontal part of 2
compoundCRS (#2110) -
ESRI_WKT ingestion: make sure to identify to non-deprecated EPSG entry when
possible (#2118) -
Make sure that importing a Projected 3D CRS from WKT:2019 keeps the base
geographic CRS as 3D (#2124) -
createOperations(): improve results of compoundCRS to compoundCRS case (#2130)
-
PROJ4 string import: take into correctly non-metre unit when the string looks
like the one for WGS 84 / Pseudo Mercator (#2178) -
Fix support of WKT1_GDAL with netCDF rotated pole formulation (#2187)
-
io.hpp: avoid dependency to proj_json_streaming_writer.hpp (#2188)
PROJ 7.0.1
Updates
- Database: update to EPSG v9.8.9 #2141
Bug fixes
-
Make tests independent of proj-datumgrid (#1995)
-
Add missing projection property tables (#1996)
-
Avoid crash when running against SQLite3 binary built with
-DSQLITE_OMIT_AUTOINIT (#1999) -
createOperations(): fix wrong pipeline generation with CRS that has +nadgrids=
and +pm= (#2002) -
Fix bad copy&replace pattern on HEALPix and rHEALPix projection names (#2007)
-
createUnitOfMeasure(): use full double resolution for the conversion
factor (#2014) -
Update README with info on PROJ-data (#2015)
-
utm/ups: make sure to set errno to PJD_ERR_ELLIPSOID_USE_REQUIRED if
es==0 (#2045) -
data/Makefile.am: remove bashism (#2048)
-
ProjectedCRS::identify(): tune it to better work with ESRI WKT
representation of EPSG:2193 (#2059) -
Fix build with gcc 4.8.5 (#2066)
-
Autotools/pkg-conf: Define datarootdir (#2069)
-
cs2cs: don't require +to for '{source_crs} {target_crs} filename...'
syntax (#2081) -
CMake: fix bug with find_package(PROJ) with macOS (#2082)
-
ESRI WKT import / identification: special case for
NAD_1983_HARN_StatePlane_Colorado_North_FIPS_0501 with Foot_US unit (#2088) -
ESRI WKT import / identification: special case for
NAD_1983_HARN_StatePlane_Colorado_North_FIPS_0501 with Foot_US unit (#2089) -
EngineeringCRS: when exporting to WKT1_GDAL, output unit and axis (#2092)
-
Use jtsk03-jtsk horizontal grid from CDN (#2098)
-
CMake: prefer to use use PROJ_SOURCE_DIR and PROJ_BINARY_DIR (#2100)
-
Fix wrong grids file name in esri.sql (#2104)
-
Fix identification of projected CRS whose name is close but not strictly
equal to a ESRI alias (#2106) -
Fix working of Helmert transform between the horizontal part of
2 compoundCRS (#2111) -
Database: fix registration of custom entries of grid_transformation_custom.sql
for geoid grids (#2114) -
ESRI_WKT ingestion: make sure to identify to non-deprecated EPSG entry when
possible (#2119) -
Make sure that importing a Projected 3D CRS from WKT:2019 keeps the base
geographic CRS as 3D (#2125) -
createOperations(): improve results of compoundCRS to compoundCRS case (#2131)
-
hgridshift/vgridshift: defer grid opening when grid has already
been opened (#2132) -
Resolve a few shadowed declaration warnings (#2142)
-
ProjectedCRS identification: deal with switched 1st/2nd std parallels for
LCC_2SP(#2153) -
Fix Robinson inverse projection (#2154)
-
createOperations(): do not remove ballpark transformation if there are only
grid based operations, even if they cover the whole area of use (#2156) -
createFromCoordinateReferenceSystemCodes(): 'optimization' to avoid using
C++ exceptions (#2161) -
Ingestion of WKT1_GDAL: correctly map 'Cylindrical_Equal_Area' (#2167)
-
Add limited support for non-conformant WKT1 LAS COMPD_CS[] (#2172)
-
PROJ4 string import: take into correctly non-metre unit when the string
looks like the one for WGS 84 / Pseudo Mercator (#2177) -
io.hpp: avoid dependency to proj_json_streaming_writer.hpp (#2184)
-
Fix support of WKT1_GDAL with netCDF rotated pole formulation (#2186)
PROJ 7.0.0
The major feature in PROJ 7 is significantly improved handling of gridded
models. This was implemented in RFC4.
The main features of the RFC4 work is that PROJ now implements a new grid format,
Geodetic TIFF grids, for exchaning gridded transformation models. In addition
to the new grid format, PROJ can now also access grids online using a data
store in the cloud.
The grids that was previously available via the proj-datumgrid packages are now
available in two places:
- As a single combined data archive including all available resource files
- From the cloud via https://cdn.proj.org
In Addition, provided with PROJ is a utility called projsync
that can be used
download grids from the data store in the cloud.
The use of the new grid format and the data from the cloud requires that
PROJ is build against libtiff
and libcurl
. Both are optional dependencies
to PROJ but it is highly encouraged that the software is build against both.
WARNING: PROJ 7 will be last major release version that includes the proj_api.h
header. The functionality in proj_api.h
is deprecated and only supported in
maintenance mode. It is inferior to the functionality provided by functions
in the proj.h
header and all projects still relying on proj_api.h
are encouraged
to migrate to the new API in proj.h
. See https://proj.org/development/migration.html
for more info on how to migrate from the old to the new API
Updates
-
Added new file access API to proj.h #866
-
Updated the name of the most recent version of the WKT2 standard from
WKT2_2018 to WKT2_2019 to reflect the proper name of the standard (#1585) -
Improvements in transformations from/to WGS 84 (Gxxxx) realizations and
vertical <--> geog transormations #1608 -
Update to version 1.50 of the geodesic library (#1629)
-
Promote proj_assign_context to proj.h from proj_experimental.h (#1630)
-
Add rotation support to the HEALPix projection (#1638)
-
Add c function proj_crs_create_bound_vertical_crs() (#1689)
-
Use Win32 Unicode APIs and expect all strings to be UTF-8 (#1765)
-
Improved name aliases lookup (#1827)
-
CMake: Employ better use of CTest with the BUILD_TESTING option (#1870)
-
Grid correction: fix handling grids spanning antimeridian (#1882)
-
Remove legacy CMake target name "proj" #1883
-
projinfo: add --searchpaths switch (#1892)
-
Add +proj=set operation to set component(s) of a coordinate to a fixed
value (#1896) -
Add EPSG records for 'Geocentric translation by Grid Interpolation (IGN)'
(gr3df97a.txt) and map them to new +proj=xyzgridshift (#1897) -
Remove 'null' grid file as it is now a special hardcoded case in grid
code (#1898) -
Add projsync utility (#1903)
-
Make PROJ the CMake project name #1910
-
Use relative directory to locate PROJ resource files (#1921)
Bug fixes
-
Horizontal grid shift: fix failures on points slightly outside a
subgrid (#209) -
Fix ASAN issue with SQLite3VFS class (#1902)
-
tests: force use of bash for proj_add_test_script_sh (#1905)
Breaking changes
-
Reject NTV2 files where GS_TYPE != SECONDS #1294
-
On Windows the name of the library is now fixed to
proj.lib
instead
of encoding the version number in the library name (#1581) -
Require C99 compiler (#1624)
-
Remove deprecated JNI bindings (#1825)
-
Remove -ld option from proj and cs2cs (#1844)
-
Increase CMake minimum version from 3.5 to 3.9 (#1907)
PROJ 6.3.1
Updates
o Update the EPSG database to version 9.8.6
o Database: add mapping for gg10_smv2.mnt and gg10_sbv2.mnt French grids
o Database: add mapping for TOR27CSv1.GSB
Bug fixes
o Fix wrong use of derivingConversionRef() that caused issues with use of
+init=epsg:XXXX by GDAL (affecting R spatial libraries) or in MapServer
o fix exporting CoordinateSystem to PROJ JSON with ID
o projinfo: use No. abbreviation instead of UTF-8 character (#1828)
o CompoundCRS::identify(): avoid exception when horiz/vertical part is a
BoundCRS
o createOperations(): fix dealing with projected 3D CRS whose Z units != metre
o WKT1_GDAL export: limit datum name massaging to names matching EPSG (#1835)
o unitconvert with mjd time format: avoid potential integer overflow
(ossfuzz 20072)
o ProjectedCRS::identify(): fix wrong identification of some ESRI WKT linked
to units
o Database: add a geoid_like value for proj_method column of grid_alternatives,
fix related entries and simplify/robustify logic to deal with EPSG
'Geographic3D to GravityRelatedHeight' methods
o Fix ingestion of +proj=cea with +k_0 (#1881)
o Fix performance issue, affecting PROJ.4 string generation of EPSG:7842
(#1913)
o Fix identification of ESRI-style datum names starting with D_ but without
alias (#1911)
o cart: Avoid discontinuity at poles in the inverse case (#1906)
o Various updates to make regression test suite pass with gcc on i386 (#1906)
PROJ 6.3.0
Updates
-
Database: tune accuracy of Canadian NTv1 file w.r.t NTv2 (#1812)
-
Modify verbosity level of some debug/trace messages (#1811)
-
projinfo: no longer call createBoundCRSToWGS84IfPossible() for WKT1:GDAL
(#1810) -
proj_trans: add retry logic to select other transformation if the best one
fails. (#1809) -
BoundCRS::identify(): improvements to discard CRS that aren't relevant
(#1802) -
Database: update to IGNF v3.1.0 (#1785)
-
Build: Only export symbols if building DLL (#1773)
-
Database: update ESRI entries with ArcGIS Desktop version 10.8.0 database
(#1762) -
createOperations(): chain operations whose middle CRSs are not identical but
have the same datum (#1734) -
import/export PROJJSON: support a interpolation_crs key to geoid_model
(#1732) -
Database: update to EPSG v9.8.4 (#1725)
-
Build: require SQLite 3.11 (#1721)
-
Add support for GEOIDMODEL (#1710)
-
Better filtering based on extent and performance improvements (#1709)
Bug fixes
-
Horizontal grid shift: fix issue on iterative inverse computation when
switching between (sub)grids (#1797) -
createOperations(): make filtering out of 'uninteresting' operations less
aggressive (#1788) -
Make EPSG:102100 resolve to ESRI:102100 (#1786)
-
ob_tran: restore traditional handling of +to_meter with pj_transform() and
proj utility (#1783) -
CRS identification: use case insensitive comparison for authority name
(#1780) -
normalizeForVisualization() and other methods applying on a ProjectedCRS: do
not mess the derivingConversion object of the original object (#1746) -
createOperations(): fix transformation computation from/to a CRS with
+geoidgrids and +vunits != m (#1731) -
Fix proj_assign_context()/pj_set_ctx() with pipelines and alternative coord
operations (#1726) -
Database: add an auxiliary concatenated_operation_step table to allow
arbitrary number of steps (#1696) -
Fix errors running gie-based tests in Debug mode on Windows (#1688)
6.2.1
6.2.1 Release Notes
Updates
- Update the EPSG database to version 9.8.2
Bug fixes
-
Fixed erroneous spelling of "Potsdam" (#1573)
-
Calculate y-coordinate correctly in bertin1953 in all cases (#1579)
-
proj_create_crs_to_crs_from_pj(): make the PJ* arguments const PJ* (#1583)
-
PROJStringParser::createFromPROJString(): avoid potential infinite recursion (#1574)
-
Avoid core dump when setting ctx==NULL in functions proj_coordoperation_is_instantiable and
proj_coordoperation_has_ballpark_transformation (#1590) -
createOperations(): fix conversion from/to PROJ.4 CRS strings with non-ISO-kosher options and +towgs84/+nadgrids (#1602)
-
proj_trans_generic(): properly set coordinate time to HUGE_VAL when no value is passed to the function (#1604)
-
Fix support for +proj=ob_tran +o_proj=lonlat/latlong/latlon instead of only
only allowing +o_proj=longlat (#1601) -
Improve backwards compatibility of vertical transforms (#1613)
-
Improve emulation of deprecated +init style initialization (#1614)
-
cs2cs: autopromote CRS to 3D when there's a mix of 2D and 3D (#1563)
-
Avoid divisions by zero in odd situations (#1620)
-
Avoid compile error on Solaris (#1639)
-
proj_create_crs_to_crs(): fix when there are only transformations with ballpark steps (#1643)
-
PROJ string CRS ingester: recognize more unit-less parameters, and handling of +key=string_value parameters (#1645)
-
Only call pkg-config in configure when necessary (#1652)
-
aeqd: for spherical forward path, go to higher precision ellipsoidal case when the point coordinates are super close to the origin (#1654)
-
proj_create_crs_to_crs(): remove elimination of Ballpark operations that caused transformation failures in some cases (#1665)
-
createOperations(): allow transforming from a compoundCRS of a bound verticalCRS to a 2D CRS (#1667)
-
Avoid segfaults in case of out-of-memory situations (#1679)
-
createOperations(): fix double vertical unit conversion from CompoundCRS to other CRS when the horizontal part of the projected CRS uses non-metre unit (#1683)
-
importFromWkt(): fix axis orientation for non-standard ESRI WKT (#1690)
6.2.0
6.2.0 Release Notes
Updates
-
Introduced PROJJSON, a JSON encoding of WKT2 (#1547)
-
Support CRS instantiation of OGC URN's (#1505)
-
Expose scope and remarks of database objects (#1537)
-
EPSG Database updated to version 9.7.0 (#1558)
-
Added C API function proj_grid_get_info_from_database() (#1494)
-
Added C API function
proj_operation_factory_context_set_discard_superseded() (#1534) -
Added C API function proj_context_set_autoclose_database() (#1566)
-
Added C API function proj_create_crs_to_crs_from_pj() (#1567)
-
Added C API function proj_cleanup() (#1569)
Bug Fixes
- Fixed build failure on Solaris systems (#1554)
6.1.1
6.1.1 Release Notes
Updates
- Update EPSG registry to version 9.6.3 (#1485)
Bug Fixes
-
Take the passed authority into account when identifying
objects (#1466) -
Avoid exception when transforming from NAD83 to projected
CRS using NAD83(2011) (#1477) -
Avoid off-by-one reading of name argument if name of resource
file has length 1 (#1489) -
Do not include
PROJ_LIB
inproj_info().searchpath
when context
search path is set (#1498) -
Use correct delimeter for the current platform when parsing
PROJ_LIB
(#1497) -
Do not confuse 'ID74' CRS with WKT2 ID[] node (#1506)
-
WKT1 importer: do case insensitive comparison for axis direction (#1509)
-
Avoid compile errors on GCC 4.9.3 (#1512)
-
Make sure that pipelines including +proj=ob_tran can be created (#1526)
6.1.0
6.1.0 Release Notes
May 15th 2019
Updates
- Include custom ellipsoid definitions from QGIS (#1137)
- Add -k ellipsoid option to projinfo (#1338)
- Make cs2cs support 4D coordinates (#1355)
- WKT2 parser: update to OGC 18-010r6 (#1360 #1366))
- Update internal version of googletest to v1.8.1 (#1361)
- Database update: EPSG v9.6.2 (#1462), IGNF v3.0.3, ESRI 10.7.0 and add operation_version column (#1368)
- Add proj_normalize_for_visualization() that attempts to apply axis ordering as used by most GIS applications and PROJ <6 (#1387)
- Added noop operation (#1391)
- Paths set by user take priority over PROJ_LIB for search paths (#1398)
- Reduced database size (#1438)
- add support for compoundCRS and concatenatedOperation named from their components (#1441)
Bug fixes
- Have gie return non-zero code when file can't be opened (#1312)
- CMake cross-compilation fix (#1316)
- Use 1st eccentricity instead of 2nd eccentricity in Molodensky (#1324)
- Make sure to include grids when doing Geocentric to CompoundCRS with nadgrids+geoidgrids transformations (#1326)
- Handle coordinates outside of bbox better (#1333)
- Enable system error messages in command line automatically in builds (#1336)
- Make sure to install projinfo man page with CMake (#1347)
- Add data dir to pkg-config file proj.pc (#1348)
- Fix GCC 9 warning about useless std::move() (#1352)
- Grid related fixes (#1369)
- Make sure that ISO19111 C++ code sets pj_errno on errors (#1405)
- vgridshift: handle longitude wrap-around for grids with 360deg longitude extent (#1429)
- proj/cs2cs: validate value of -f parameter to avoid potential crashes (#1434)
Many division by zero and similar bug fixes found by OSS Fuzz.