aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-01-20Address @hobu 's review comment of ↵Even Rouault
https://github.com/OSGeo/PROJ/pull/1839#pullrequestreview-345535380
2020-01-18pj_context_get_user_writable_directory(): use ~/Library/Application Support ↵Even Rouault
for OSX
2020-01-17Merge branch 'master' into rfc4_merge_back_masterEven Rouault
2020-01-16Address review comments for https://github.com/OSGeo/PROJ/pull/1817Even Rouault
2020-01-15Integrate into .rst doxygen-generated doc for custom I/O and network ↵Even Rouault
functionality
2020-01-14Add test/unit/test_grids.cpp to improve testing coverageEven Rouault
2020-01-14Add proj_context_set_fileapi() and proj_context_set_sqlite3_vfs_name() ↵Even Rouault
(fixes #866)
2020-01-14Fix reading resources from user-writable directory & test itEven Rouault
2020-01-14Merge pull request #1844 from kbevers/remove-ld-optionKristian Evers
Remove -ld option from proj and cs2cs
2020-01-13Horizontal grid shift: fix failures on points slightly outside a subgrid ↵Even Rouault
(fixes #209)
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-11Merge pull request #1838 from rouault/limit_datum_name_massaging_wkt1Even Rouault
WKT1_GDAL export: limit datum name massaging to names matching EPSG (fixes #1835)
2020-01-11Merge pull request #1836 from rouault/fix_projcrs3D_with_non_metre_z_unitEven Rouault
createOperations(): fix dealing with projected 3D CRS whose Z units != metre
2020-01-11WKT1_GDAL export: limit datum name massaging to names matching EPSG (fixes ↵Even Rouault
#1835)
2020-01-11Use Win32 Unicode APIs and expect all strings to be UTF-8 (fixes #1765)Even Rouault
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-10CompoundCRS::identify(): avoid exception when horiz/vertical part is a BoundCRSEven Rouault
The exception only affects C++ users. It was caught by the C layer.
2020-01-10createOperations(): fix dealing with projected 3D CRS whose Z units != metreEven Rouault
2020-01-10Doc of CRS::identify(): make it clear that this is a best-effort attempt onlyEven Rouault
2020-01-09Add proj_is_download_needed() and proj_download_file()Even Rouault
2020-01-08Add capability to read resource files from the user writable directoryEven Rouault
2020-01-08Merge pull request #1827 from rouault/improve_createObjectsFromNameKristian Evers
Improvements regarding name aliases (refs #1823)
2020-01-08NTv2GridSet::open(): reject files with GS_TYPE!=SECONDS (fixes #1294)Even Rouault
2020-01-07pj_bilinear_interpolation_three_samples(): fix MSVC warning about ↵Even Rouault
uninitialized variables
2020-01-07network: handle opening remote grids whose local name has no extensionEven Rouault
2020-01-07projinfo: use No. abbreviation instead of UTF-8 character (fixes #1828)Even Rouault
2020-01-07projinfo: support -k datumEven Rouault
2020-01-07deformation.cpp and xyzgridshift.cpp: factor out common code (addresses ↵Even Rouault
https://github.com/OSGeo/PROJ/pull/1790#discussion_r363748615)
2020-01-07Remote grid: add mechanism to re-open a grid if it has changed while being ↵Even Rouault
opened
2020-01-07createObjectsFromName(): make it look up in the alias_name table too (fixes ↵Even Rouault
#1823)
2020-01-07Remove deprecated JNI bindingsKristian Evers
Closes #1757
2020-01-07DiskChunkCache::closeAndUnlink(): avoid use-after-free in the destructorEven Rouault
2020-01-07Grid refactoring: address review comments of ↵Even Rouault
https://github.com/OSGeo/PROJ/pull/1777 - Move content of legacy apply_gridshift.cpp and apply_vgridshift.cpp in grids.cpp - Rename nad_ functions to pj_hgrid_ - Rename internal proj_hgrid_/proj_vgrid_ functions to pj_
2020-01-02Merge pull request #1820 from snowman2/cs_projjsonEven Rouault
fix exporting CoordinateSystem to PROJ JSON with ID
2020-01-01fix exporting CoordinateSystem to PROJ JSON with IDsnowman2
2020-01-01Bump version numbers in preparation for 7.0.0 releaseKristian Evers
2020-01-01curl implementation: add retry logic on some HTTP errorsEven Rouault
2020-01-01Merge branch 'deformation_with_geotiff_file' into rfc4_network_disk_cacheEven Rouault
2020-01-01deformation.cpp: check that unit in TIFF file is 'millimetres per year' ↵Even Rouault
which is the official name in EPSG
2019-12-31Add a SQLite3 local cache of downloaded chunksEven Rouault
2019-12-30deformation: add support for +grids= for GeoTIFF gridsEven Rouault
This option is to load grid(s) that have both the horizontal and vertical velocities in the same file. Can be tested with the following grid https://github.com/rouault/sample_proj_gtiff_grids/blob/master/nkgrf03vel_realigned.tif converted from the original .ct2 and .gtx with ``` gdal_translate nkgrf03vel_realigned.vrt nkgrf03vel_realigned.tif -co COMPRESS=DEFLATE -co PREDICTOR=3 -co BLOCKYSIZE=241 -co INTERLEAVE=BAND ``` where nkgrf03vel_realigned.vrt is ``` <VRTDataset rasterXSize="223" rasterYSize="241"> <SRS dataAxisToSRSAxisMapping="2,1">GEOGCRS["Unknown based on GRS80", DATUM["Unknown based on GRS80", ELLIPSOID["GRS 1980",6378137,298.257222101, LENGTHUNIT["metre",1]]], PRIMEM["Greenwich",0, ANGLEUNIT["degree",0.0174532925199433]], CS[ellipsoidal,2], AXIS["geodetic latitude (Lat)",north, ORDER[1], ANGLEUNIT["degree",0.0174532925199433]], AXIS["geodetic longitude (Lon)",east, ORDER[2], ANGLEUNIT["degree",0.0174532925199433]]] </SRS> <GeoTransform> 2.9166666666666670e+00, 1.6666666666666666e-01, 0.0000000000000000e+00, 7.3041666666666686e+01, 0.0000000000000000e+00, -8.3333333333333329e-02</GeoTransform> <Metadata> <MDI key="DESCRIPTION"></MDI> <MDI key="area_of_use">Nordic and Baltic countries</MDI> <MDI key="AREA_OR_POINT">Point</MDI> <MDI key="TIFFTAG_COPYRIGHT">The Nordic Geodetic Commission. Creative Commons Attribution 4.0 https://creativecommons.org/licenses/by/4.0/</MDI> <MDI key="TIFFTAG_DATETIME">2019:12:30 00:00:00</MDI> <MDI key="TIFFTAG_IMAGEDESCRIPTION">Deformation model covering the Nordic and Baltic countries. Used in transformations between global reference frames and the local realisations of ETRS89 in the Nordic and Baltic countries</MDI> <MDI key="TYPE">VELOCITY</MDI> </Metadata> <VRTRasterBand dataType="Float32" band="1"> <Description>east_velocity</Description> <UnitType>mm/year</UnitType> <SimpleSource> <SourceFilename relativeToVRT="0">/home/even/proj/proj-datumgrid/europe/nkgrf03vel_realigned_xy.ct2</SourceFilename> <SourceBand>2</SourceBand> <!-- GDAL exposes the first physical component of the file (longitude offset normally, here east velocity) as the second band --> <SrcRect xOff="0" yOff="0" xSize="223" ySize="241" /> <DstRect xOff="0" yOff="0" xSize="223" ySize="241" /> </SimpleSource> </VRTRasterBand> <VRTRasterBand dataType="Float32" band="2"> <Description>north_velocity</Description> <UnitType>mm/year</UnitType> <SimpleSource> <SourceFilename relativeToVRT="0">/home/even/proj/proj-datumgrid/europe/nkgrf03vel_realigned_xy.ct2</SourceFilename> <SourceBand>1</SourceBand> <!-- and the second physical component (latitude offset normally, here north velocity) as the first band --> <SrcRect xOff="0" yOff="0" xSize="223" ySize="241" /> <DstRect xOff="0" yOff="0" xSize="223" ySize="241" /> </SimpleSource> </VRTRasterBand> <VRTRasterBand dataType="Float32" band="3"> <Description>up_velocity</Description> <UnitType>mm/year</UnitType> <SimpleSource> <SourceFilename relativeToVRT="0">/home/even/proj/proj-datumgrid/europe/nkgrf03vel_realigned_z.gtx</SourceFilename> <SourceBand>1</SourceBand> <SrcRect xOff="0" yOff="0" xSize="223" ySize="241" /> <DstRect xOff="0" yOff="0" xSize="223" ySize="241" /> </SimpleSource> </VRTRasterBand> </VRTDataset> ```
2019-12-29proj_hgrid_value(): do not apply compensation for west-oriented ↵Even Rouault
longitude_offset. Fixes regression due to grid refactoring work on proj=deformation use case
2019-12-28Update ABI numbers for 6.3.0 releaseKristian Evers
2019-12-27CurlFileHandle: set UserAgentEven Rouault
2019-12-27CurlFileHandle: code improvement. No functional changeEven Rouault
2019-12-27xyzgridshift: implement defered grid loading in network contextEven Rouault
2019-12-27Handle context reassignment for Grid/GridSet/File objectsEven Rouault
2019-12-27Network: rework error handlingEven Rouault
2019-12-27Network: make CDN endpoint configurable either in proj.ini, ↵Even Rouault
PROJ_NETWORK_ENDPOINT or proj_context_set_url_endpoint()
2019-12-27Network: automatically use CDN resources when local resources not available, ↵Even Rouault
and networking enabled