aboutsummaryrefslogtreecommitdiff
path: root/data
AgeCommit message (Collapse)Author
2020-02-27Make tests independent of proj-datumgridEven Rouault
Fixes #1984 - Copy BETA2007.gsb, MD, alaska, conus, ntf_r93.gsb, ntv1_can.dat grids from proj-datumgrid to data/tests. - Replace a couple uses of nzgd2kgrid0005.gsb in tests by ntf_r93.gsb - Add downsampled/subsetted versions of egm96_15.gtx as tests/egm96_15_downsampled.gtx and ntv2_0.gsb as tests/ntv2_0_downsampled.gsb This results in a few changes in expected results - Simpify travis/install.sh due to less configurations to test This results in a hopefully acceptable increase of the proj-X.Y.Z.tar.gz from 2.9 to 5.3 MB
2020-02-26Database: register 4 height Austrian grids from ↵Even Rouault
https://github.com/OSGeo/PROJ-data/pull/13 + handle 'Vertical Offset by Grid Interpolation (BEV AT)' method
2020-02-26Database: update to EPSG v9.8.7Even Rouault
2020-02-24Merge pull request #1968 from wonder-sk/slovakia-jtsk-ntv2-masterEven Rouault
Add alternative grid for JTSK - JTSK03 transform (EPSG:8364)
2020-02-23Add alternative grid for JTSK - JTSK03 transform (EPSG:8364)Martin Dobias
The definition of EPSG:8364 uses NADCON method for horizontal grid (.las/.los files) but this format is not supported by PROJ. UGKK (Slovak Geodetic and Cartographic Institute) provides NADCON .las/.los files here: https://www.geoportal.sk/files/gz/slovakia_jtsk03_to_jtsk.zip Additionally UGKK also provides the same grid file in NTv2 format: https://www.geoportal.sk/files/gz/slovakia_jtsk03_to_jtsk_ntv2.zip So let's add the NTv2 file the grid_alternatives table so that PROJ can automatically pick it up...
2020-02-20Fix wrong byte-swapping for NTv2 grids affecting master after RFC4 work ↵Even Rouault
(fixes #1938) And add testing of both little-endian and big-endian NTv2 files
2020-02-05Fix performance issue, affecting projinfo EPSG:7842Even Rouault
Fixes #1913 AuthorityFactory::createBetweenGeodeticCRSWithDatumBasedIntermediates() issued a complex SQL query that pushes the SQLite3 query plan optimizer to its limits. Was working reasonably with sqlite 3.11, but not with later versions. So put less constraints in the main query and do post-processing checks and auxiliary requests to avoid such issues. For some unknown reason, this slightly slows down a bit execution time of the whole test_cpp_api binary (~ 10%), but couldn't come with something better, despite trying many variations of the main SQL query. It seems that in the general case the non-filter LEFT JOIN on the supersession table helped, except on this EPSG:7842 case.
2020-01-30Database: add a custom concatenated_operation for NTF (Paris) to RGF93, ↵Even Rouault
using the non-deprecated EPSG:9327 for the geocentric translation
2020-01-30Merge pull request #1897 from rouault/map_geocentric_translation_methodKristian Evers
Add EPSG records for 'Geocentric translation by Grid Interpolation (IGN)' (gr3df97a.txt) and map them to new +proj=xyzgridshift
2020-01-29Remove 'null' grid file as it is now a special hardcoded case in grid codeEven Rouault
2020-01-29Add EPSG records for 'Geocentric translation by Grid Interpolation (IGN)' ↵Even Rouault
(gr3df97a.txt) and map them to new +proj=xyzgridshift
2020-01-29Make it possible to use grids from the CDN by their 'old name' even if not ↵Even Rouault
in the EPSG/grid_transformation table
2020-01-29Merge pull request #1891 from rouault/rfc5Even Rouault
Implement RFC5: Adopt GeoTIFF-based grids for grids delivered with PROJ
2020-01-25Grid correction: fix handling grids spanning antimeridian (fixes #1859)Even Rouault
2020-01-25Implement RFC 5Even Rouault
2020-01-24Add nlgeo2018.gtx & rdtrans2018.gsb to grid_alternatives.Bas Couwenberg
* EPSG:9282 uses rdtrans2018.gsb * EPSG:9283 uses nlgeo2018.gtx
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-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-08Merge pull request #1827 from rouault/improve_createObjectsFromNameKristian Evers
Improvements regarding name aliases (refs #1823)
2020-01-07Database: insert PROJ.4 +datum values in alias_name table under PROJ authorityEven Rouault
2020-01-07Database: fill alias_name with EPSG aliases for CRSEven Rouault
2020-01-05Make sure tests pass if extra grids are presentEven Rouault
Should fix the issue reported in https://lists.osgeo.org/pipermail/proj/2020-January/009188.html Some extra north-american grids present in data/ can affect the results of some tests, so create a data/for_tests/ subdirectory in which we copy only select grids.
2019-12-28Database: add mapping for TOR27CSv1.GSBEven Rouault
2019-12-28Database: add mapping for gg10_smv2.mnt and gg10_sbv2.mnt French gridsEven Rouault
2019-12-25Database: tune accuracy of Canadian NTv1 file w.r.t NTv2Even Rouault
As on import of EPSG, we remove the supersession of Canadian NTv1 file w.r.t NTv2 (because the default behaviour of PROJ is to ignore superseded operations). However the NTv1 operation is advertized with an accuracy of 1m, whereas NTv2 is advertized with 1.5m. Consequently on areas where both files are valid, and if both files are available, NTv1 would be selected. So as a workaround, worsen the NTv1 accuracy to 2m so that NTv2 is used in priority.
2019-12-21proj_db_table_defs.sql: rewrite some trigger checks as normal table ↵Even Rouault
CONSTRAINT CHECK
2019-12-21Database: add consistency checks of transformation area of use w.r.t ↵Even Rouault
source/target CRS one
2019-12-21Database: add/fix consistency checksEven Rouault
2019-12-21Database: fix registration of Icegeoid_xxx.gtx files, and add corresponding ↵Even Rouault
entries in grid_alternatives.sql
2019-12-20Database: add name mappings for na27na83.gsb and cq77na83.gsb; also fix the ↵Even Rouault
mapping between CGQ77-98.gsb and CQ77SCRS.GSB
2019-12-20Adding New Zealand grid alternative namesChris Crook
2019-12-18Database: register MAY76V20.gsbEven Rouault
2019-12-17Database: register Canadian geoid models added per ↵Even Rouault
https://github.com/OSGeo/proj-datumgrid/pull/91 (#1796)
2019-12-17Database: register SeTa2016.gsb for DHDN to ETRS89 in Saarland (refs ↵Even Rouault
https://github.com/OSGeo/proj-datumgrid/pull/89) (#1791)
2019-12-17Merge pull request #1789 from rouault/register_100800401_gsbEven Rouault
Database: register 100800401.gsb for Catalonia ED50 -> ETRS89
2019-12-16Merge pull request #1775 from ↵Kristian Evers
rouault/grid_alternatives_use_precision_package_versions grid_alernatives.sql: point to specific revisions of the proj-datumgrid-XXXX packages
2019-12-16Merge pull request #1786 from rouault/fake_EPSG_102100Kristian Evers
Make EPSG:102100 resolve to ESRI:102100 (fixes #1730)
2019-12-16Merge pull request #1763 from dalia2/update-grid-alternatives.sql-for-IcealndKristian Evers
Update grid_alternatives.sql for Icelandic grids
2019-12-14Database: add mappings to AUSGeoid98.gtx in grid_alternativesEven Rouault
2019-12-12Merge branch 'master' into update-grid-alternatives.sql-for-Icealnddalia2
2019-12-11Make EPSG:102100 resolve to ESRI:102100 (fixes #1730)Even Rouault
2019-12-11Database: register 100800401.gsb for Catalonia ED50 -> ETRS89Even Rouault
Refs https://github.com/OSGeo/proj-datumgrid/pull/88
2019-12-10Database: update to IGNF v3.1.0Even Rouault
2019-12-06grid_alernatives.sql: point to specific revisions of the proj-datumgrid-XXXX ↵Even Rouault
packages Due to potential future shift to GTiff format, we don't want users of PROJ 6.3 being pointed to grids they won't be able to use. So point to - proj-datumgrid-1.8: already existing, unlikely to change before 6.3 - proj-datumgrid-north-america-1.3: to be released - proj-datumgrid-europe-1.5: to be released - proj-datumgrid-oceania-1.1: to be released - proj-datumgrid-world-1.0: already existing, unlikely to change before 6.3
2019-12-03Database: register NTv2_SN.gsb added per ↵Even Rouault
https://github.com/OSGeo/proj-datumgrid/pull/73
2019-12-03Database: register AT_GIS_GRID.gsb added per ↵Even Rouault
https://github.com/OSGeo/proj-datumgrid/pull/72
2019-12-03Database: register AUSGeoid09 and AUSGeoid2020Even Rouault
Related to https://github.com/OSGeo/proj-datumgrid/pull/66 Tune operation search so that it can work with Geog2D <--> VertCS for commandline niceness
2019-12-03Merge pull request #1759 from rouault/BWTA2017Even Rouault
Database: register the BWTA2017.gsb grid (DHDN->ETRS89 for Baden-Wurtemberg)
2019-12-02Database: register the BWTA2017.gsb grid (DHDN->ETRS89 for Baden-Wurtemberg)Even Rouault
Relates to https://github.com/OSGeo/proj-datumgrid/pull/65 , https://github.com/OSGeo/proj-datumgrid/issues/22 As EPSG has no entry for it, we create a grid_transformation, as well as a dedicated area of use based on the extent of the grid, under the PROJ authority. With the hope to be able to remove it once EPSG has an entry...