aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-01-26configure.ac: rename switch to disable tiff dependency to more neutral ↵Even Rouault
--disable-tiff
2020-01-26Conversion::_exportToPROJString(): use const ref as rightly suggest by cppcheckEven Rouault
2020-01-26Make JSONParser::buildObjectDomain() staticEven Rouault
2020-01-26buildProjectionStandard(): make it obvious to cppcheck that null-ptr ↵Even Rouault
dereference cannot happen
2020-01-26string_to_paralist(): simplify so that it is obvious to cppcheck that ↵Even Rouault
null-ptr dereference cannot happen
2020-01-25configure.ac: remove -Wmissing-prototypes for C++ files at is is for C files ↵Even Rouault
only
2020-01-25Merge pull request #1884 from rouault/cea_k_0Kristian Evers
Fix ingestion of +proj=cea with +k_0
2020-01-25Merge pull request #1882 from rouault/fix_grid_antimeridianEven Rouault
Grid correction: fix handling grids spanning antimeridian (fixes #1859)
2020-01-25Merge pull request #1883 from cffk/cmake-namespace-updateCharles Karney
Remove legacy CMake target name "proj" addressing #802
2020-01-25Fix ingestion of +proj=cea with +k_0Even Rouault
Fixes #1881 Digging into the implementation of proj=cea, it appears that k_0 and lat_ts are intended to be exclusive ways of specifying the same concept. EPSG only models the variant using lat_s. So if k_0 is found and lat_ts is absent, compute the equivalent value of lat_ts from k_0. Note: k_0 should normally be in the [0,1] range. In case creative users would use something outside, we raise an exception, even if the cea implementation could potentially deal with any k_0 value. Hopefully this is a (reasonable) limitation that will address nominal use cases.
2020-01-25Remove legacy CMake target name "proj" addressing #802Charles Karney
2020-01-25Init file reading: use FileManager::open_resource_file() instead of ↵Even Rouault
deprecated proj_api I/O
2020-01-25Grid correction: fix handling grids spanning antimeridian (fixes #1859)Even Rouault
2020-01-25Implement RFC 5Even Rouault
2020-01-24Merge pull request #1880 from ↵Even Rouault
rouault/createObjectsFromName_use_alias_as_fallback createObjectsFromName(): use alias as fallback only
2020-01-24Merge pull request #1879 from sebastic/rdnapEven Rouault
Add nlgeo2018.gtx & rdtrans2018.gsb to grid_alternatives.
2020-01-24createObjectsFromName(): use alias as fallback onlyEven Rouault
Fixes a regression of 6.3.0 found when creating with GDAL a TIFF with a Geographic3D CRS. As TIFF must also encode the Geographic2D CRS, the code of the Geographic2D CRS is searched from the name of the Geographic3D CRS. When doing createObjectsFromName( "ETRS89", {AuthorityFactory::ObjectType::GEOGRAPHIC_2D_CRS}, false, 1), the result returned was not EPSG:4258 as expected, but EPSG:4173 IRENET95 which is registered as an alias of ETRS89. So sort results such that non-alias results are returned first.
2020-01-24Add nlgeo2018.gtx & rdtrans2018.gsb to grid_alternatives.Bas Couwenberg
* EPSG:9282 uses rdtrans2018.gsb * EPSG:9283 uses nlgeo2018.gtx
2020-01-24grid_checks.py: update with additional column in filelist.csv [ci skip]Even Rouault
2020-01-24Update .cirrus.yml (#1878)Kristian Evers
Update .cirrus.yml
2020-01-24Update .cirrus.ymllbartoletti
- Use latest FreeBSD 12 version - remove useless pkg (wget -> native fetch ; unzip -> tar) - "speed up" with 4 cpus
2020-01-24Merge pull request #1870 from mwtoews/build-testingMike Taves
CMake: replace PROJ_TESTS with CTest's BUILD_TESTING option
2020-01-24CMake: replace PROJ_TESTS with CTest's BUILD_TESTING optionMike Taves
* CTest automatically creates a BUILD_TESTING option (default is ON) * Also allow PROJ_TESTS to be used, but show deprecation message; and add note to remove this option by PROJ 8.0 * Only build geodtest when tests are enabled * Add documentation to configure a build using -DBUILD_TESTING=OFF
2020-01-23Merge pull request #1873 from rouault/fix_wrong_use_of_derivingConversionKristian Evers
Fix wrong use of derivingConversionRef() that caused GDAL bug
2020-01-23Merge pull request #1869 from rouault/update_to_epsg_9_8_6Even Rouault
Database: update to EPSG v9.8.6
2020-01-23Fix wrong use of derivingConversionRef() that caused GDAL bugEven Rouault
Hopefully final cut at solving the same class of bug that the one that affected QGIS in December. This time, this hit GDAL in the situation of https://lists.osgeo.org/pipermail/gdal-dev/2020-January/051500.html The bug fix for that particular issue is in PROJStringParser::createFromPROJString() But grepping more in the code base, I could find other potential smelly situations (might not be issues, but better be safe than sorry), so let's fix them too. Bottom line is: derivingConversionRef() should *only* be used for consultation, and never to create a new ProjectedCRS()
2020-01-23Database: add a geoid_like value for proj_method column of ↵Even Rouault
grid_alternatives, fix related entries and simplify/robustify logic to deal with EPSG 'Geographic3D to GravityRelatedHeight' methods
2020-01-23docs: add note about autogen.sh to install guideKristian Evers
2020-01-22Database: update to EPSG v9.8.6Even Rouault
Fixes #1867
2020-01-22Merge RFC4 (#1865)Even Rouault
This commit is the result of the squashing of rfc4_dev branch in a single commit. It implements mostly RFC 4 related work. * Grid handling: - remove obsolete and presumably unfinished implementation of grid catalog functionality - all grid functionality is in grids.cpp/.hpp - vertical and horizontal grid shift: rework to no longer load whole grid into memory - remove hgrids and vgrids member from PJ structure, and store them in hgridshift/vgridshift/deformation structures - build systems: add optional libtiff dependency. Must be explicitly disabled if not desired - add support for horizontal and vertical grids in GeoTIFF, if libtiff is available - add GenericShiftGridSet and GenericShiftGrid classes, relying on TIFF grids, that can be used for generic purpose grid-based adjustment - add a +proj=xyzgridshift method to perform geocentric translation by grid. Used for French NTF to RGF93 transformation using gr3df97a.tif grid - deformation: add support for +grids= for GeoTIFF grids - horizontal grid shift: fix failures on points slightly outside a subgrid (fixes #209) * File management: - add a filemanager.cpp/.hpp to deal with file related work - test for legacy proj_api.h fileapi - proj.h: add proj_context_set_fileapi() and proj_context_set_sqlite3_vfs_name() (fixes #866) - add capability to read resource files from the user writable directory * Network access: - build systems: add optional curl dependency - add a curl-based default implementation for network related functionality - proj.h: add C API to control network functionality, and optionaly provide network callbacks - add data/proj.ini with default settings - add a SQLite3 local cache of downloaded chunks - add proj_is_download_needed() and proj_download_file() * Use Win32 Unicode APIs and expect all strings to be UTF-8 (fixes #1765) For backward compatibility, if PROJ_LIB content is found to be not UTF-8 or pointing to a non existing directory, then an attempt at interpretating it in the ANSI page encoding is done. proj_context_set_search_paths() now assumes strings to be in UTF-8, and functions returning paths will also return values in UTF-8.
2020-01-22Merge pull request #1864 from rouault/fix_appveyor_64bitEven Rouault
appveyor.yml: tune PATH order to fix error when running 'proj' on x64 builds
2020-01-22appveyor.yml: tune PATH order to fix error when running 'proj' on x64 buildsEven Rouault
2020-01-21Merge pull request #1863 from ↵Even Rouault
rouault/fix_projcrs_identify_same_name_no_axis_but_different_unit ProjectedCRS::identify(): fix wrong identification of some ESRI WKT linked to units
2020-01-21Merge pull request #1862 from kbevers/update-faqKristian Evers
Add explanation of the PROJ.4 -> PROJ shift to FAQ
2020-01-21ProjectedCRS::identify(): fix wrong identification of some ESRI WKT linked ↵Even Rouault
to units Fixes bug reported in https://lists.osgeo.org/pipermail/gdal-dev/2020-January/051481.html
2020-01-21Add explanation of the PROJ.4 -> PROJ shift to FAQKristian Evers
closes #1511
2020-01-16Merge pull request #1849 from rouault/doc_add_win_build_tutorialEven Rouault
Doc: add in install.rst tutorials to build on Windows
2020-01-16Update year in CITATION (#1854)Kristian Evers
Update year in CITATION
2020-01-16Update year in CITATIONKristian Evers
2020-01-15Doc: add in install.rst tutorials to build on WindowsEven Rouault
Fixes #1776 Content based on https://github.com/OSGeo/PROJ/wiki/Building-with-VS-and-vcpkg which should be retired to avoid duplication of information README.md is also modified to point to install.rst
2020-01-15Reintroduce backport bot, now using a dedicated PROJ bot (#1848)Kristian Evers
Reintroduce backport bot, now using a dedicated PROJ bot
2020-01-15Reintroduce backport bot, now using a dedicated PROJ botKristian Evers
2020-01-14doc: Fix error in previous commit (duplicate link targets)Kristian Evers
2020-01-14Doc: Update index of development sectionKristian Evers
Adds links to git repositories and adjusts deprecation warnings to reflect that PROJ 6 has been released.
2020-01-14Merge pull request #1844 from kbevers/remove-ld-optionKristian Evers
Remove -ld option from proj and cs2cs
2020-01-13Merge pull request #1843 from rouault/fix_ossfuzz_20072Kristian Evers
unitconvert with mjd time format: avoid potential integer overflow
2020-01-13Remove -ld option from proj and cs2csKristian Evers
It promotes use of deprecated paramters +datum and +towgs84 which we don't want to encourage. Closes #1308
2020-01-13unitconvert with mjd time format: avoid potential integer overflowEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=20072
2020-01-13test/fuzzers/standard_fuzzer.cpp: remove dependency to proj_internal.hEven Rouault
2020-01-11Merge pull request #1832 from snowman2/templatesKristian Evers
added issue & pull request templates