aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-12-25cct: make it honour PROJ_DEBUG if -v/-vv/-vvv are not specifiedEven Rouault
2019-12-25cct: revise end-of-line handling in logging, and always output debug and ↵Even Rouault
trace messages to stderr
2019-12-25Merge pull request #1810 from rouault/projinfo_wkt1_gdal_no_longer_boundcrsKristian Evers
projinfo: no longer call createBoundCRSToWGS84IfPossible() for WKT1:GDAL
2019-12-25Modify verbosity level of some debug/trace messagesEven Rouault
- unitconvert, ell_set and helmert were using debug level, which is too verbose. Using trace instead - proj_trans() was using trace to indicate the operation it selects. Changing it to debug
2019-12-25projinfo: no longer call createBoundCRSToWGS84IfPossible() for WKT1:GDALEven Rouault
To align with GDAL 3.0.3 behaviour, no longer automatically try to create a boundCRS to WGS84 when exporting to WKT1:GDAL. The user has to explicitly specify --boundcrs-to-wgs84 if he wishes this behaviour.
2019-12-24proj_trans: add retry logic to select other transformation if the best one ↵Even Rouault
fails. Relates to https://github.com/OSGeo/PROJ/issues/1808
2019-12-23Network: only enable it if PROJ_NETWORK=ON or ↵Even Rouault
proj_context_set_enable_network(ctx, true)
2019-12-23Network: remove dedicated get_file_size() callback to use ↵Even Rouault
get_header_value(), and test
2019-12-23Add testing of network functionalityEven Rouault
2019-12-22Network: add a memory cache and I/O chunking strategyEven Rouault
2019-12-20test: transformation_NZLVD_to_PROJ_string: attach database context to get ↵Even Rouault
filename substitution
2019-12-19Add very minimalistic and slow libcurl implementationEven Rouault
2019-12-19Add proj_context_set_network_callbacks() with an empty implementationEven Rouault
2019-12-20Adding support for NZLVD vertical height transformationChris Crook
2019-12-19Build: add optional curl dependencyEven Rouault
2019-12-19grids.cpp: use FileManager/File interfacesEven Rouault
2019-12-19Add a FileManager and File classEven Rouault
2019-12-18Rename PJ_CONTEXT::fileapi member as fileapi_legacyEven Rouault
2019-12-17Merge pull request #1803 from ↵Even Rouault
rouault/improve_identification_with_datum_name_aliases identify(): take into datum name aliases (fixes #1800)
2019-12-16Merge pull request #1802 from rouault/improve_boundcrs_identifyEven Rouault
BoundCRS::identify(): improvements to discard CRS that aren't relevant (fixes #1801)
2019-12-16identify(): take into datum name aliases (fixes #1800)Even Rouault
2019-12-16Merge pull request #1786 from rouault/fake_EPSG_102100Kristian Evers
Make EPSG:102100 resolve to ESRI:102100 (fixes #1730)
2019-12-16BoundCRS::identify(): improvements to discard CRS that aren't relevant ↵Even Rouault
(fixes #1801) Fix for ``` projinfo --identify "+proj=utm +zone=48 +a=6377276.345 +b=6356075.41314024 +towgs84=198,881,317,0,0,0,0 +units=m +no_defs +type=crs" ``` to only return BoundCRS of EPSG:3148: 70 % Previously it also returned EPSG:23948 and EPSG:24048 whose projected CRS-only parts where likely matches, but those 2 CRSs don't have a +towgs84=198,881,317,0,0,0,0, so discard them.
2019-12-15Merge pull request #1783 from ↵Kristian Evers
rouault/restore_ob_tran_to_meter_compat_with_pj_transform ob_tran: restore traditional handling of +to_meter with pj_transform() and proj utility (fixes #1782)
2019-12-14Horizontal grid shift: fix issue on iterative inverse computation when ↵Even Rouault
switching between (sub)grids (fixes #1663) Given in.txt with 53.999759140 5.144478208 252.6995 Before the fix, cct -t 0 -d 4 +proj=pipeline +step +proj=axisswap +order=2,1,3,4 +step +proj=hgridshift +inv +grids=rdtrans2018.gsb +step +proj=vgridshift +grids=naptrans2018.gtx +step +proj=sterea +lat_0=52.156160556 +lon_0=5.387638889 +k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel in.txt returned: 139079.8814 668306.0302 212.1724 0.0000 It now returns: 139079.8850 668306.0458 212.1724 0.0000 which meets with the 1mm accuracy the expected result of test point ``` 30010049 53.999759140 5.144478208 252.6995 139079.8850 668306.0460 212.1723 ```
2019-12-14Add proj_coordoperation_create_inverse to C API (#1795)Nyall Dawson
2019-12-14Horizontal grid shift: fix issue on iterative inverse computation when ↵Even Rouault
switching between (sub)grids (fixes #1663) Given in.txt with 53.999759140 5.144478208 252.6995 Before the fix, cct -t 0 -d 4 +proj=pipeline +step +proj=axisswap +order=2,1,3,4 +step +proj=hgridshift +inv +grids=rdtrans2018.gsb +step +proj=vgridshift +grids=naptrans2018.gtx +step +proj=sterea +lat_0=52.156160556 +lon_0=5.387638889 +k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel in.txt returned: 139079.8814 668306.0302 212.1724 0.0000 It now returns: 139079.8850 668306.0458 212.1724 0.0000 which meets with the 1mm accuracy the expected result of test point ``` 30010049 53.999759140 5.144478208 252.6995 139079.8850 668306.0460 212.1723 ```
2019-12-14Grid class: add a name() methodEven Rouault
2019-12-13Add configure/CMake option, strongly discouraged, to disable TIFF supportEven Rouault
2019-12-13Fix compilation breakage of previous commit with some compilersEven Rouault
2019-12-13normalizeForVisualization(): address EPSG:32661 "WGS 84 / UPS North (N,E)" ↵Even Rouault
and EPSG:32761 "WGS 84 / UPS South (N,E)" Fixes https://github.com/qgis/QGIS/issues/33077
2019-12-13PROJStringFormatter: make startInversion/stopInversion properly deal with ↵Even Rouault
omit_fwd/omit_inv
2019-12-13WKTParser: fix assertion that can trigger on corrupted input. Fixes ↵Even Rouault
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19367
2019-12-12grids.cpp: use 'parent_grid_name' as stated in RFC4Even Rouault
2019-12-11Merge pull request #1773 from orudge/msvc-no-static-exportsEven Rouault
Build: Only export symbols if building DLL
2019-12-11Make EPSG:102100 resolve to ESRI:102100 (fixes #1730)Even Rouault
2019-12-11Add a +proj=xyzgridshift method to perform geocentric translation by grid. ↵Even Rouault
Used for French NTF to RGF93 transformation using gr3df97a.tif grid
2019-12-11grids.hpp: add a GenericShiftGridSet and GenericShiftGrid classes, that are ↵Even Rouault
going to be used by later commit
2019-12-11createOperations(): make filtering out of 'uninteresting' operations less ↵Even Rouault
aggressive (refs #1787) 'EPSG:1304, Indian 1975 to WGS 84 (2), 5.0 m, Thailand - onshore and Gulf of Thailand' was removed because considered useless w.r.t first result 'EPSG:1812, Indian 1975 to WGS 84 (4), 3.0 m, Thailand - onshore' However the name of the area of use is not completely the same, so might be worth keeping it.
2019-12-10Database: update to IGNF v3.1.0Even Rouault
2019-12-10GTiff grid: use a block cache per dataset for faster accessEven Rouault
2019-12-10Add support for horizontal and vertical grids in GeoTIFFEven Rouault
2019-12-10ob_tran: restore traditional handling of +to_meter with pj_transform() and ↵Even Rouault
proj utility (fixes #1782) Fixes side-effect of https://github.com/OSGeo/PROJ/issues/1525 that went in 6.1.1 The correction is horribly hacky. Sorry...
2019-12-09Horizontal shift grids: hide the 'positive longitude shift value = westward ↵Even Rouault
correction' in the CTable2/NTv1/NTv2 backends
2019-12-09CRS identification: use case insensitive comparison for authority name ↵Even Rouault
(fixes #1779)
2019-12-07Build and CI: add libtiff dependencyEven Rouault
2019-12-06Add a Grid base class for HorizontalShiftGrid and VerticalShiftGridEven Rouault
2019-12-06Remove hgrids and vgrids member from PJ structure, and store them in ↵Even Rouault
hgridshift/vgridshift/deformation structures
2019-12-06horizontal grid shift: rework to no longer load whole grid into memoryEven Rouault
2019-12-06vertical grid shift: rework to no longer load whole grid into memoryEven Rouault