aboutsummaryrefslogtreecommitdiff
path: root/test/gie
AgeCommit message (Collapse)Author
2018-08-294D API: honour vto_meter / vunits for proj=longlatEven Rouault
This worked for cs2cs / pj_transform(), but not the new API
2018-08-24Improve numerical precision of inverse spherical mercatorKristian Evers
Complements f2b3604
2018-08-24Merge pull request #1093 from rouault/geoc_flag_fixKristian Evers
Assorted fixes related to +geoc flag handing
2018-08-23Merge pull request #1096 from rouault/fix_helmert_convention_confusionEven Rouault
[BREAKING] Helmert: add +convention=position_vector/coordinate_frame, forbids +transpose (fixes #1091)
2018-08-22Adding ellipsoidal equations for the Equal Earth (#1101)Bojan Šavrič
2018-08-21[BREAKING] Hermert: add +convention=position_vector/coordinate_frame, ↵Even Rouault
forbids +transpose (fixes #1091) As identified in #1091, Helmert implementation in PROJ 5.0 and 5.1 is confusing. It happens that by default it used the coordinate_frame convention, contrary to the position_vector convention used traditionaly for +towgs84. The documentation of Helmert was also wrongly specifying that the default convention was position_vector. This commit: - bans the confusing +transpose parameter - removes the concept of a default convention, since in practice both are equally found, and requires +convention as soon as a rotational term parameter is present. For translation only, convention is ignored and optional, as having no effect. - fixes all the identified uses of proj=helmert in code, doc and tests This is obviously a breaking change: - users will have to adapt their pipeline expressions - in particular, init files that would use helmert must be adapted However, as designed, the break will be explicit, and not silent.
2018-08-19pj_inv(): fix inverse of +proj=longlat +geocEven Rouault
There is a regression in PROJ 5 regarding the handling of the +geoc flag, specific to the case of +proj=longlat, and the inverse transformation, which makes it a no-op: echo "12 55 0 " | src/cct +proj=pipeline +step +proj=longlat +ellps=GRS80 +geoc +inv 12.0000000000 55.0000000000 0.0000 inf With this fix, we now get: echo "12 55 0 " | src/cct +proj=pipeline +step +proj=longlat +ellps=GRS80 +geoc +inv 12.0000000000 54.8189733083 0.0000 inf The fix consists in making inv_prepare() do symetrically as fwd_finalize(), ie skip a number of transforms when left and right units are angular, and in inv_finalize() apply the (OUTPUT_UNITS==PJ_IO_UNITS_ANGULAR) processing even if INPUT_UNITS == PJ_IO_UNITS_ANGULAR
2018-08-17Implementation of Equal Earth projection (#1090)jdugge
Implement the Equal Earth projection (closes #1085)
2018-08-11gie: add a require_grid keyword, and use if for DHDN_ETRS89.gie; aso fix ↵Even Rouault
DHDN_ETRS89 autoconf test
2018-08-114D-API_cs2cs-style.gie: rewrite test to not rely on presence of 'conus' grid ↵Even Rouault
(we should have a way to state that some grids must be present) (refs #872)
2018-07-20Merge pull request #1079 from kbevers/webmerc-testsKristian Evers
Add test coordinates for webmerc
2018-07-20Add test coordinates for webmercKristian Evers
2018-07-10vgridshift: add a +multiplier={value} parameterEven Rouault
As mentionned in #1071, it is often unclear how the offset of a vertical grid is applied.
2018-07-07Remoe ellps parameter from Helmert documentation and gie tests (fixes #1068)Even Rouault
2018-06-26Add inverse lagrange projectionKristian Evers
Courtesy of Michael Stumpf <mi12st34@gmail.com>
2018-06-22Merge pull request #1055 from rouault/geocent_cart_to_meterKristian Evers
Make +proj=geocent and +proj=cart take into account +to_meter (relates to #1053)
2018-06-21Make +proj=geocent and +proj=cart take into account +to_meter (relates to #1053)Even Rouault
2018-06-21unitconvert: error out if xy_in/xy_out z_in/z_out use different unit typesEven Rouault
2018-06-21Add support for deg, rad and grad in unitconvert (fixes #1052), and document ↵Even Rouault
that it supports numeric factors (refs #1053)
2018-06-06Correct bad use of proj_dmstor in gie.Kristian Evers
The previous commits were added way to prematurely. The code was not properly tested and it turned out to do more bad than good. This commit hopefully fixes that. And this time it is backed up by tests! DMS style coordinates should now be fully functional in gie. Finger crossed.
2018-06-01Do not pivot over WGS84 when doing cs2cs-emulation with geocentKristian Evers
2018-06-01Ignore failure to load test_nodata.gtx gridKristian Evers
2018-05-24Temporal gridshifting (#1015)Kristian Evers
Temporal gridshifts allow [h|v]gridshift operations to be used as step functions in a pipeline. This is useful in transformations dealing with deformations caused by earthquakes. See the included documentation for details.
2018-05-19Vertical grid shift: do not interpolate node values at nodata value (fixes ↵Even Rouault
#1002)
2018-05-07Add tests for calcofi before refactoringKristian Evers
2018-04-15Update +proj=aeqd +guam test case with data from EPSG Note 7-2Kristian Evers
2018-04-13Fix segfault in deformationKristian Evers
When transforming coordinates outside the grid model the deformation operation failed spectatularly. This is now fixed by checking that the coordinate is inside the grid. If it isn't an error is returned and a debugging log message is issued. Closes #934
2018-04-11Add more tests for nsperKristian Evers
2018-04-11Merge pull request #927 from kbevers/laea-test-coverageKristian Evers
Add more tests for laea
2018-04-11Add more tests for laeaKristian Evers
2018-04-10Merge pull request #926 from kbevers/airy-updatesKristian Evers
Airy updates
2018-04-09Add more test cases for airy projectionKristian Evers
2018-04-09Add webmerc projectionEven Rouault
2018-04-02Add test cases for aeqd projectionKristian Evers
2018-04-01Add tests extra test cases for the gnomonic projectionKristian Evers
2018-03-30Add test cases from Snyder for the Orthographic projectionKristian Evers
2018-03-27Validate that units match between pipeline stepsKristian Evers
As suggested in [0], steps in a pipeline are now checked for compliance. If the right side units in step n differ from the left side units in step n+1 the pipeline can't be constructed and an error is raised. [0] https://lists.osgeo.org/pipermail/grass-dev/2018-March/088123.html
2018-03-21Take into account +towgs84=0,0,0 in pipeline to still imply ↵Even Rouault
geodetic->cartesian->geodetic (fixes #881)
2018-03-20Introduce late expansion of +datum parameters. Fixes #872.Kristian Evers
2018-03-11Merge branch 'master' into return-error-instead-of-zerosKristian Evers
2018-03-11Make sure that transient errors are returned correctlyKristian Evers
The prepare/finalize steps in pj_fwd*/pj_inv* now checks the error level of the PJ object before returning the coordinate. If an error is detected proj_coord_error() is returned.
2018-03-11Add Web Mercator test caseKristian Evers
2018-03-02Add test cases for omerc with +no_rot and tpers with +tilt.Adam Wulkiewicz
2018-02-23Download BETA2007 grid from proj-datumgrid package in CI scripts.Kristian Evers
Following PR #806 which removed various grids from nad/, we now have to download the BETA2007 grid before that DHDN_ETRS89 test can pass successfully.
2018-02-14revert tolerances for chamb and vandg2 to previous valuesKristian Evers
2018-02-12Ensure cs2cs emulation gets correct ellipsoid defn (#798)Thomas Knudsen
Copy ellipsoid definition for proj=cart directly into the proj_create call, rather than calling pj_inherit_ellipsoid_def afterwards. Previously, the ellipsoid definition was left out from the call. pj_init_ctx would then pick up WGS84 from proj_def.dat, and the init would succeed (and the possibly wrong ellipsoid definition would later on be overwritten with the correct values by pj_inherit_ellipsoid_def. But if PROJ_LIB was not set or proj_def.dat was inaccessible for other reasons, things went wrong.
2018-02-12Avoid invalid ellps error messages from pj_init (#794)Thomas Knudsen
Reset error type PJD_ERR_MAJOR_AXIS_NOT_GIVEN for operations that do not need an ellipsoid.
2018-02-10Update a few gie testsThomas Knudsen
2018-02-10Relax tolerance slightly for two tests failing on OS/XThomas Knudsen
2018-02-10Handle sign convention for vertical datum shiftsThomas Knudsen
Also make corresponding sign corrections in a number of tests, and comment out a few tests which work correctly, but report failure since gie is not yet ready to handle unusual axis orders in cases with angular output coordinates.