aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2020-04-19Ingestion of WKT1_GDAL: correctly map 'Cylindrical_Equal_Area'Even Rouault
Map it to 'Lambert Cylindrical Equal Area' / EPSG:9835 non-spherical method, when the ellipsoid is not a sphere. And rationalize the handling of this for other methods with spherical vs non-spherical formulations
2020-02-24CompoundCRS::create(): reject combinations of components not allowed by ISO ↵github-actions[bot]
19111
2020-02-24Fix mapping of Vertical_Near_Side_Perspective (fixes #1965)github-actions[bot]
2020-02-24Expose proj_context_is_network_enabled() in C APIgithub-actions[bot]
2020-02-21Add support for creating coordinates operations using Compact Miller,Nyall Dawson
Times and Vertical Near Side Perspective projections
2020-02-21Add support for creating coordinates operations using Natural Earth/Natural ↵Nyall Dawson
Earth 2 projection
2020-02-21Add support for creating coordinates operations using ESRI:53079 (patterson) CRSNyall Dawson
2020-02-17Make sure that projsync man file is packaged correctlyKristian Evers
2020-02-17Remove man3 filesKristian Evers
Closes #1258
2020-02-11Use relative directory to locate PROJ resource files.Even Rouault
Fixes #1490 This is an extension of the Window-specific logic added recently to Unix builds. This reuses parts of proposed past commit https://github.com/OSGeo/PROJ/pull/1517/commits/82a07e51c6e24ddb936d131ababe29f1ac36ef14 (credits to @abellgithub)
2020-02-08Travis: restrict symbol comparison to x86_64 buildsEven Rouault
2020-02-06Fix cppcheck warnings and make it work with latest cppcheck 1.90Even Rouault
2020-02-04Add projsync utilityEven Rouault
Fixes #1750
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-29scripts/grid_checks.py: update for change of PROJ-data repository name, and ↵Even Rouault
look for .tif extension
2020-01-29Merge pull request #1891 from rouault/rfc5Even Rouault
Implement RFC5: Adopt GeoTIFF-based grids for grids delivered with PROJ
2020-01-27projinfo: add --remote-data switchEven Rouault
2020-01-25Implement RFC 5Even Rouault
2020-01-24grid_checks.py: update with additional column in filelist.csv [ci skip]Even Rouault
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-07Database: fill alias_name with EPSG aliases for CRSEven Rouault
2019-12-20grid_check.py: fixesEven Rouault
2019-12-16identify(): take into datum name aliases (fixes #1800)Even Rouault
2019-12-14Add proj_coordoperation_create_inverse to C API (#1795)Nyall Dawson
2019-12-10Database: update to IGNF v3.1.0Even Rouault
2019-12-04grid_checks.py: add a --check-filelist option to verify consistency of ↵Even Rouault
proj-datumgrid new filelist.csv file
2019-12-01Database: update ESRI entries with ArcGIS Desktop version 10.8.0 databaseEven Rouault
2019-12-01grid_checks.py: add is_superseded info in outputEven Rouault
2019-11-28scripts/fix_typos.sh: tunings [ci skip]Even Rouault
2019-11-25Merge pull request #1742 from rouault/script_grid_checksKristian Evers
Add scripts/grid_checks.py
2019-11-25Add scripts/grid_checks.pyEven Rouault
Little script used lately to check consistency of the database regarding the grid_transformation vs grid_alternatives tables. And also check the content of the database vs proj-datumgrid to identify gaps.
2019-11-22Add proj_create_derived_geographic_crs() and ↵Even Rouault
proj_create_conversion_pole_rotation_grib_convention() to address GRIB datasets using a pole rotation method
2019-11-22create_c_api_projections.py: fix for conversions without linear parameters ↵Even Rouault
[ci skip]
2019-11-21Fix typos in code commentsEven Rouault
2019-11-18Database: add a publication_date column to geodetic_datum and vertical_datumEven Rouault
Populated from realization_epoch column from EPSG The 'publication_date' naming is from OGC Topic 2, and hasn't been yet adopted by the EPSG dataset. See http://docs.opengeospatial.org/as/18-005r4/18-005r4.html , Annex G, clause 11 and https://32zn56499nov99m251h4e9t8-wpengine.netdna-ssl.com/wp-content/uploads/2019/09/EPSG-relational-data-model-changes_2019-09-18.pdf
2019-11-17findsOpsInRegistryWithIntermediate(): tune it to be able to research ↵Even Rouault
operations that belong to different authorities. Should make the concept of geodetic_datum_preferred_hub introduced some time ago obsolete
2019-11-02Add a geoid_model name in database, use GEOIDMODEL for transformations, add ↵Even Rouault
a proj_create_vertical_crs_ex()
2019-11-02Add tracing framework, and improve createOperations() performanceEven Rouault
2019-10-30Rework importing of Vertical unit change from EPSG db, add support for ↵Even Rouault
Height Depth Reversal and use it in createOperations()
2019-10-28Various fixes/workarounds to make cppcheck 1.72 (Ubuntu 16.04) and ↵Even Rouault
HEAD/1.90dev happy (fixes #1648)
2019-10-27Database: add an auxiliary concatenated_operation_step table to allow ↵Even Rouault
arbitrary number of steps (fixes #1632) EPSG:9103 (NAD27 to ITRF2014 (1)) is now handled. Note:EPSG:9104 (NAD27 to ITRF2014 (2)) is not currently, since it uses for step EPSG:8861 (NAD83(HARN) to NAD83(FBN) (1)) an unsupported transformation method (NADCON5 (3D), EPSG:1075).
2019-10-24Generalize generalize_proj_crs_create_bound_vertical_crs_to_WGS84()Even Rouault
In recent commits, we added a generalize_proj_crs_create_bound_vertical_crs_to_WGS84() function, but there are situations where more accurate results can be obtained, if instead of specifying WGS84 as the hub CRS, the user can specify the exact hub CRS. For example the GEOID2018 grid is against NAD83(2011). So replace this function with proj_crs_create_bound_vertical_crs()
2019-10-15doxygen build script: don't output to /tmpKristian Evers
The doxygen log-files was previously put in /tmp. This is usually fine on UNIX-type systems but when building the docs on Windows with Cygwin/MSYS2 tools the script can fail since that path is guaranteed to exist. This commit makes sure that the doxygen script outputs its files in a path relative to the current working directory.
2019-10-04Add a proj_crs_demote_to_2D(). Useful if forced to export a 3D CRS to a best ↵Even Rouault
approximate as WKT1 that doesn't support it
2019-10-02Add API and WKT mapping for 'nsper' to EPSG Vertical Persepective methodEven Rouault
Relates to https://github.com/OSGeo/gdal/issues/1856
2019-09-26Improve vertical transformation supportEven Rouault
When we had a transformation between a compoundCRS and a target geographicCRS, we did not take into account that in the vertical->other_geog_CRS transformation we used, the other_geog_CRS was an implicit interpolation CRS. Thus before doing vertical adjustment, we must go to this interpolation CRS. The workflow is thus: source CRS -> interpolation CRS + vertical adjustment + interplation CRS -> target CRS
2019-09-25Merge pull request #1634 from mwtoews/ciMike Taves
Upgrade Travis CI distribution
2019-09-25Rearrange Travis CI scripts to be more modularMike Taves
* Split global before_install for apt and pip * Use -qq option for apt-get, which implies -y * Use list of targets with apt-get rather than one-per-line * Use local variables for mingw32/install.sh * Show version info for cppcheck, pip and python * Simplify clang+llvm-6 path